]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ipf/CpuBreakpoint.c
Synchronize MdePkg h files to Library/Base* c files.
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ipf / CpuBreakpoint.c
index 49bd06b8c2a3063cc9b03b5e701a1b644531ccc2..6aac0d87950042225fc134a48d1045bca87eecde 100644 (file)
 \r
 **/\r
 \r
-//void __mfa (void);\r
-\r
-#pragma intrinsic (_enable)\r
-#pragma intrinsic (_disable)\r
-#pragma intrinsic (__break)\r
-#pragma intrinsic (__mfa)\r
 \r
+#include "BaseLibInternals.h"\r
 \r
 /**\r
   Generates a breakpoint on the CPU.\r
@@ -99,20 +94,3 @@ EnableDisableInterrupts (
   EnableInterrupts ();\r
   DisableInterrupts ();\r
 }\r
-\r
-/**\r
-  Places the CPU in a sleep state until an interrupt is received.\r
-\r
-  Places the CPU in a sleep state until an interrupt is received. If interrupts\r
-  are disabled prior to calling this function, then the CPU will be placed in a\r
-  sleep state indefinitely.\r
-\r
-**/\r
-VOID\r
-EFIAPI\r
-CpuSleep (\r
-  VOID\r
-  )\r
-{\r
-  PalCallStatic (NULL, 29, 0, 0, 0);\r
-}\r