]> Git Repo - qemu.git/blobdiff - util/qemu-coroutine-sleep.c
target/arm: Add v8M stack checks on ADD/SUB/MOV of SP
[qemu.git] / util / qemu-coroutine-sleep.c
index 254349cdbb619a08112cf06224045327706c85cf..afb678fbe51ccd5787a32ebdd93bbecade0a4355 100644 (file)
@@ -31,9 +31,9 @@ static void co_sleep_cb(void *opaque)
     aio_co_wake(sleep_cb->co);
 }
 
-void coroutine_fn co_aio_sleep_ns(AioContext *ctx, QEMUClockType type,
-                                  int64_t ns)
+void coroutine_fn qemu_co_sleep_ns(QEMUClockType type, int64_t ns)
 {
+    AioContext *ctx = qemu_get_current_aio_context();
     CoSleepCB sleep_cb = {
         .co = qemu_coroutine_self(),
     };
This page took 0.019263 seconds and 4 git commands to generate.