]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ipf/CpuBreakpoint.c
Update copyright for files modified in this year
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ipf / CpuBreakpoint.c
index 0097d991ebf2ae2bb75b10282672621dc92b79eb..93c7dd724ebc3a31b73b40e4ca02c4af6babdcb5 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Base Library CPU functions for Itanium\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2008, Intel Corporation<BR>\r
   All rights reserved. This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
 \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
-typedef struct {\r
-  UINT64                            Status;\r
-  UINT64                            r9;\r
-  UINT64                            r10;\r
-  UINT64                            r11;\r
-} PAL_PROC_RETURN;\r
-\r
-PAL_PROC_RETURN\r
-PalCallStatic (\r
-  IN      CONST VOID                *PalEntryPoint,\r
-  IN      UINT64                    Arg1,\r
-  IN      UINT64                    Arg2,\r
-  IN      UINT64                    Arg3,\r
-  IN      UINT64                    Arg4\r
-  );\r
+\r
+#include "BaseLibInternals.h"\r
 \r
 /**\r
   Generates a breakpoint on the CPU.\r
@@ -114,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