aboutsummaryrefslogtreecommitdiff
path: root/vboxhgcm.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2022-11-27 22:41:15 +0100
committerJavier <dev.git@javispedro.com>2022-11-27 22:41:15 +0100
commitf2a1a9f49d98de0f2d71e8c65bad9379634975d7 (patch)
treeda462fa8e68a093b60994686347838b3f89f79b6 /vboxhgcm.h
parent544a184a4373fc29ba9d030bd8efb59fb56a28e2 (diff)
downloadvbados-f2a1a9f49d98de0f2d71e8c65bad9379634975d7.tar.gz
vbados-f2a1a9f49d98de0f2d71e8c65bad9379634975d7.zip
refactor to add per-mount options to vbsf
Diffstat (limited to 'vboxhgcm.h')
-rw-r--r--vboxhgcm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/vboxhgcm.h b/vboxhgcm.h
index b97a4ec..bb95eb3 100644
--- a/vboxhgcm.h
+++ b/vboxhgcm.h
@@ -25,12 +25,13 @@
typedef uint32_t hgcm_client_id_t;
+/** Busy-waits until the request is marked as complete by VirtualBox. */
static void vbox_hgcm_wait(VMMDevHGCMRequestHeader __far * req)
{
volatile uint32_t __far * req_flags = &req->fu32Flags;
while (!(*req_flags & VBOX_HGCM_REQ_DONE)) {
- // TODO yield somehow?
+ // TODO yield guest CPU somehow?
}
}