aboutsummaryrefslogtreecommitdiff
path: root/vboxhgcm.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2022-12-18 21:18:45 +0100
committerJavier <dev.git@javispedro.com>2022-12-18 21:18:45 +0100
commitae74cf99ea1513b7bd03e3a39fa49d3b715f225e (patch)
tree3d293aa224f825fa0c3c19d4e19676f4db14b5fd /vboxhgcm.h
parent9a33ea807b463e3ef344e4237eedee4f618d2788 (diff)
downloadvbados-ae74cf99ea1513b7bd03e3a39fa49d3b715f225e.tar.gz
vbados-ae74cf99ea1513b7bd03e3a39fa49d3b715f225e.zip
use pause opcode when waiting for vbox result
Diffstat (limited to 'vboxhgcm.h')
-rw-r--r--vboxhgcm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vboxhgcm.h b/vboxhgcm.h
index bb95eb3..72a7481 100644
--- a/vboxhgcm.h
+++ b/vboxhgcm.h
@@ -32,6 +32,7 @@ static void vbox_hgcm_wait(VMMDevHGCMRequestHeader __far * req)
while (!(*req_flags & VBOX_HGCM_REQ_DONE)) {
// TODO yield guest CPU somehow?
+ pause();
}
}