From 2ff79f2eda16f8219140d3dae188d2b341f610e1 Mon Sep 17 00:00:00 2001 From: andrewfish Date: Tue, 30 Nov 2010 23:38:40 +0000 Subject: Adding Simple Pointer, GOP, SimpleTextInEx, and Networking protocols to the emulator. Cleaned up POSIX include situation by centralizing it in a single file, like NT32. Fixed TPL issue with TPL High not being emulated correctly, it was possible to take a timer tick when the locks in the DXE core should have prevented this. Remove some unused files to make things easier to maintain. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11105 6f19259b-4bc3-4df7-8a09-765794883524 --- UnixPkg/CpuRuntimeDxe/Cpu.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'UnixPkg/CpuRuntimeDxe/Cpu.c') diff --git a/UnixPkg/CpuRuntimeDxe/Cpu.c b/UnixPkg/CpuRuntimeDxe/Cpu.c index 0cc913abfb..d4926c3707 100644 --- a/UnixPkg/CpuRuntimeDxe/Cpu.c +++ b/UnixPkg/CpuRuntimeDxe/Cpu.c @@ -28,6 +28,7 @@ Abstract: #include #include #include +#include #include #include @@ -37,6 +38,8 @@ Abstract: #include #include #include +#include + #include "CpuDriver.h" #include "UnixDxe.h" #include @@ -151,6 +154,7 @@ Returns: Private = CPU_ARCH_PROTOCOL_PRIVATE_DATA_FROM_THIS (This); Private->InterruptState = TRUE; + gUnix->EnableInterrupt (); return EFI_SUCCESS; } @@ -184,6 +188,7 @@ Returns: Private = CPU_ARCH_PROTOCOL_PRIVATE_DATA_FROM_THIS (This); Private->InterruptState = FALSE; + gUnix->DisableInterrupt (); return EFI_SUCCESS; } -- cgit v1.2.3