]> git.proxmox.com Git - mirror_edk2.git/commit
InOsEmuPkg: Implement gIdleLoopEventGuid.
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 17 Jun 2011 18:21:16 +0000 (18:21 +0000)
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 17 Jun 2011 18:21:16 +0000 (18:21 +0000)
commit57c7d70ff9bcd4365d75b854046bbb390cb579c6
treef55a5d5c20115d918df260ef03071015b36ee1d3
parentd8387fa4af2abae05dc6ec502b27adea455cdaaa
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
InOsEmuPkg/CpuRuntimeDxe/Cpu.c
InOsEmuPkg/CpuRuntimeDxe/Cpu.inf
InOsEmuPkg/CpuRuntimeDxe/CpuDriver.h
InOsEmuPkg/Include/Protocol/EmuThunk.h
InOsEmuPkg/Unix/Sec/EmuThunk.c
InOsEmuPkg/Unix/Sec/Gasket.h
InOsEmuPkg/Unix/Sec/X11GraphicsWindow.c
InOsEmuPkg/Unix/Sec/X64/Gasket.S