Update Y210 preview and debug tooling

This commit is contained in:
Mark.lin
2026-08-04 18:12:05 +08:00
parent 175cd83043
commit 300cbdfd9b
11 changed files with 233 additions and 184 deletions
+16
View File
@@ -72,6 +72,22 @@ GVFG_API gvfg_status_t gvfg_debug_get_last_error_detail(
_Out_writes_to_opt_(out_message_size, out_message_size) char *out_message,
_In_ uint32_t out_message_size);
/*
* Read or write one 32-bit BAR-relative hardware register.
*
* The offset must be 4-byte aligned. Register writes can disrupt active DMA,
* interrupt handling, or video capture and are intended for internal tools.
*/
GVFG_API gvfg_status_t gvfg_debug_read_register(
_In_ gvfg_handle handle,
_In_ uint32_t offset,
_Out_ uint32_t *out_value);
GVFG_API gvfg_status_t gvfg_debug_write_register(
_In_ gvfg_handle handle,
_In_ uint32_t offset,
_In_ uint32_t value);
#ifdef __cplusplus
}
#endif