From 1ef41207dc5fe92acb63dc0e4d0e4d9fab2ff3d9 Mon Sep 17 00:00:00 2001 From: andrewfish Date: Tue, 21 Jun 2011 23:41:31 +0000 Subject: InOsEmuPkg: Add TimerLib for PEI, DXE_CORE, and DXE/EFI drivers/applications. Start using MdeModulePkg MetronomeDxe driver. Add PEI and DXE_CORE TimerLibs that just call back to the emulator. Add a DXE/UEFI TimerLib that also does a gBS->WaitForEvent() if the stall is for a long period of time. Change the Thunk API for Sleep to nanoseconds. Signed-off-by: andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11872 6f19259b-4bc3-4df7-8a09-765794883524 --- InOsEmuPkg/CpuRuntimeDxe/MpService.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'InOsEmuPkg/CpuRuntimeDxe') diff --git a/InOsEmuPkg/CpuRuntimeDxe/MpService.c b/InOsEmuPkg/CpuRuntimeDxe/MpService.c index af3328c50a..7f3b1995f2 100644 --- a/InOsEmuPkg/CpuRuntimeDxe/MpService.c +++ b/InOsEmuPkg/CpuRuntimeDxe/MpService.c @@ -1221,7 +1221,7 @@ CpuDriverApIdolLoop ( // Poll 5 times a seconds, 200ms // Don't want to burn too many system resources doing nothing. - gEmuThunk->Sleep (200); + gEmuThunk->Sleep (200 * 1000); } return 0; -- cgit v1.2.3