diff options
author | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-06-17 18:21:16 +0000 |
---|---|---|
committer | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-06-17 18:21:16 +0000 |
commit | 57c7d70ff9bcd4365d75b854046bbb390cb579c6 (patch) | |
tree | f55a5d5c20115d918df260ef03071015b36ee1d3 /InOsEmuPkg/Unix/Sec/Gasket.h | |
parent | d8387fa4af2abae05dc6ec502b27adea455cdaaa (diff) | |
download | edk2-platforms-57c7d70ff9bcd4365d75b854046bbb390cb579c6.tar.xz |
InOsEmuPkg: Implement gIdleLoopEventGuid.
Added a CpuSleep () API to the Emulator Thunk. We needed to do this as the Stall() works hard to not get broken by the timer tic (POSIX signal). nanosleep() gets interrupted by the timer signal so it is a good emulator of a CpuSleep(); I was also able to remove some stalls in the X11 keyboard and mouse checking events, now that the gIdleLoopEventGuid was added.
Signed-off-by: andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11846 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'InOsEmuPkg/Unix/Sec/Gasket.h')
-rw-r--r-- | InOsEmuPkg/Unix/Sec/Gasket.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/InOsEmuPkg/Unix/Sec/Gasket.h b/InOsEmuPkg/Unix/Sec/Gasket.h index 2234bbe8c6..0862b2c9ac 100644 --- a/InOsEmuPkg/Unix/Sec/Gasket.h +++ b/InOsEmuPkg/Unix/Sec/Gasket.h @@ -108,6 +108,12 @@ VOID EFIAPI
GasketSecSleep (
IN UINT64 Milliseconds
+
+ );
+VOID
+EFIAPI
+GasketSecCpuSleep (
+ VOID
);
VOID
|