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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user