hyperv: Add reference counter support

Adds support for the Hyper-V partition reference counter.

Change-Id: Ie74b4d3af1b320b7b724776bdb6a22f643873f80
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10500
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Jérôme Duval <[email protected]>
This commit is contained in:
John Davis
2026-03-17 06:25:53 +00:00
committed by Jérôme Duval
parent d5a5f22579
commit 4f6e4b41ba
6 changed files with 49 additions and 0 deletions
+1
View File
@@ -51,6 +51,7 @@ typedef struct hyperv_device_interface {
driver_module_info info;
uint32 (*get_bus_version)(hyperv_device cookie);
status_t (*get_reference_counter)(hyperv_device cookie, uint64* _count);
status_t (*open)(hyperv_device cookie, uint32 txLength, uint32 rxLength,
hyperv_device_callback callback, void* callbackData);
void (*close)(hyperv_device cookie);