summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/Ipf/CpuBreakpoint.c
diff options
context:
space:
mode:
authorbxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524>2006-05-15 11:14:20 +0000
committerbxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524>2006-05-15 11:14:20 +0000
commit97d92bdaf05d9307d494444cead97c41272eca62 (patch)
treecbe5aa3ff333bb976ccb1688e114779329b5694a /MdePkg/Library/BaseLib/Ipf/CpuBreakpoint.c
parent7c28d0e095a592063410d2c5f7d8ff040cf89d10 (diff)
downloadedk2-platforms-97d92bdaf05d9307d494444cead97c41272eca62.tar.xz
Updated BaseLib for THUNK functions and some CPU functions
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@158 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseLib/Ipf/CpuBreakpoint.c')
-rw-r--r--MdePkg/Library/BaseLib/Ipf/CpuBreakpoint.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/MdePkg/Library/BaseLib/Ipf/CpuBreakpoint.c b/MdePkg/Library/BaseLib/Ipf/CpuBreakpoint.c
index 987fc9c846..7923e92fa9 100644
--- a/MdePkg/Library/BaseLib/Ipf/CpuBreakpoint.c
+++ b/MdePkg/Library/BaseLib/Ipf/CpuBreakpoint.c
@@ -99,3 +99,21 @@ GetInterruptState (
{
return FALSE;
}
+
+/**
+ Enables CPU interrupts for the smallest window required to capture any
+ pending interrupts.
+
+ Enables CPU interrupts for the smallest window required to capture any
+ pending interrupts.
+
+**/
+VOID
+EFIAPI
+EnableDisableInterrupts (
+ VOID
+ )
+{
+ EnableInterrupts ();
+ DisableInterrupts ();
+}