]> git.proxmox.com Git - mirror_edk2.git/commitdiff
moved CpuSleep and CpuFlushTlb to the CpuLib to use PalCall in those functions, it...
authorvprabhal <vprabhal@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 5 Oct 2007 18:51:24 +0000 (18:51 +0000)
committervprabhal <vprabhal@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 5 Oct 2007 18:51:24 +0000 (18:51 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4023 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Library/BaseLib/BaseLib.inf
MdePkg/Library/BaseLib/Ebc/CpuBreakpoint.c
MdePkg/Library/BaseLib/Ipf/CpuBreakpoint.c
MdePkg/Library/BaseLib/Ipf/CpuBreakpointMsc.c

index b084eab21ebd8bace177f03917f33bab6c3ac179..f262226a1b0b5d8b0fe3bac434422dfcdeedf448 100644 (file)
   Ia32/CpuPause.c | MSFT \r
   Ia32/CpuIdEx.c | MSFT \r
   Ia32/CpuId.c | MSFT \r
-  Ia32/CpuSleep.c | MSFT \r
-  Ia32/CpuFlushTlb.c | MSFT \r
   Ia32/CpuBreakpoint.c | MSFT \r
   Ia32/ARShiftU64.c | MSFT \r
   SynchronizationMsc.c  | MSFT\r
   Ia32/CpuPause.asm | INTEL \r
   Ia32/CpuIdEx.asm | INTEL \r
   Ia32/CpuId.asm | INTEL \r
-  Ia32/CpuSleep.asm | INTEL \r
-  Ia32/CpuFlushTlb.asm | INTEL \r
   Ia32/CpuBreakpoint.asm | INTEL \r
   Ia32/ARShiftU64.asm | INTEL \r
   Synchronization.c | INTEL\r
   Ia32/EnablePaging64.asm\r
 \r
   Ia32/Thunk16.S | GCC \r
-  Ia32/CpuFlushTlb.S | GCC \r
   Ia32/CpuBreakpoint.S | GCC \r
   Ia32/CpuPause.S | GCC \r
-  Ia32/CpuSleep.S | GCC \r
   Ia32/EnableDisableInterrupts.S | GCC \r
   Ia32/DisableInterrupts.S | GCC \r
   Ia32/EnableInterrupts.S | GCC \r
 \r
 [Sources.X64]\r
   X64/Thunk16.asm\r
-  X64/CpuFlushTlb.asm\r
   X64/CpuPause.asm\r
-  X64/CpuSleep.asm\r
   X64/EnableDisableInterrupts.asm\r
   X64/DisableInterrupts.asm\r
   X64/EnableInterrupts.asm\r
   X64/EnableDisableInterrupts.S | GCC \r
   X64/DisablePaging64.S | GCC \r
   X64/DisableInterrupts.S | GCC \r
-  X64/CpuSleep.S | GCC \r
   X64/CpuPause.S | GCC \r
   X64/CpuId.S | GCC \r
   X64/CpuIdEx.S | GCC \r
-  X64/CpuFlushTlb.S | GCC \r
   X64/CpuBreakpoint.S | GCC \r
   SynchronizationGcc.c  | GCC \r
 \r
   Ipf/FlushCacheRange.s\r
   Ipf/InternalSwitchStack.c\r
   Ipf/GetInterruptState.s\r
-  Ipf/CpuFlushTlb.s\r
   Ipf/CpuPause.s\r
   Ipf/Synchronization.c\r
   Ipf/InterlockedCompareExchange64.s\r
index cdba67c4cd05caa8ff717fc9f884edf63a2fd630..2849d9617252b733b34575976004c9273be7ac12 100644 (file)
@@ -136,33 +136,3 @@ CpuPause (
 {\r
 }\r
 \r
-/**\r
-  Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.\r
-\r
-  Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.\r
-\r
-**/\r
-VOID\r
-EFIAPI\r
-CpuFlushTlb (\r
-  VOID\r
-  )\r
-{\r
-  ASSERT (FALSE);\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
-}\r
index 59c7e408181c0cecefbf53ac5de158d7a4ebf67e..a72049b98a462fff059fc1fd6d3e7e1cdcebdfea 100644 (file)
@@ -96,20 +96,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
index ed53e42b7b152b0ef1093f020292413cd8e9f995..74911b27649659cbca734f251a34fabbe30a7a53 100644 (file)
@@ -102,19 +102,3 @@ EnableDisableInterrupts (
   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