aboutsummaryrefslogtreecommitdiff
path: root/vboxhgcm.h
diff options
context:
space:
mode:
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?
}
}