mirror of https://github.com/acidanthera/audk.git
moved CpuSleep and CpuFlushTlb to the CpuLib to use PalCall in those functions, it is creating circular dependency if those functions are in BaseLib and the PalCallStatic is replaced with PalCall
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4023 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
d56c53cbb9
commit
3e0ada4914
|
@ -156,8 +156,6 @@
|
|||
Ia32/CpuPause.c | MSFT
|
||||
Ia32/CpuIdEx.c | MSFT
|
||||
Ia32/CpuId.c | MSFT
|
||||
Ia32/CpuSleep.c | MSFT
|
||||
Ia32/CpuFlushTlb.c | MSFT
|
||||
Ia32/CpuBreakpoint.c | MSFT
|
||||
Ia32/ARShiftU64.c | MSFT
|
||||
SynchronizationMsc.c | MSFT
|
||||
|
@ -252,8 +250,6 @@
|
|||
Ia32/CpuPause.asm | INTEL
|
||||
Ia32/CpuIdEx.asm | INTEL
|
||||
Ia32/CpuId.asm | INTEL
|
||||
Ia32/CpuSleep.asm | INTEL
|
||||
Ia32/CpuFlushTlb.asm | INTEL
|
||||
Ia32/CpuBreakpoint.asm | INTEL
|
||||
Ia32/ARShiftU64.asm | INTEL
|
||||
Synchronization.c | INTEL
|
||||
|
@ -262,10 +258,8 @@
|
|||
Ia32/EnablePaging64.asm
|
||||
|
||||
Ia32/Thunk16.S | GCC
|
||||
Ia32/CpuFlushTlb.S | GCC
|
||||
Ia32/CpuBreakpoint.S | GCC
|
||||
Ia32/CpuPause.S | GCC
|
||||
Ia32/CpuSleep.S | GCC
|
||||
Ia32/EnableDisableInterrupts.S | GCC
|
||||
Ia32/DisableInterrupts.S | GCC
|
||||
Ia32/EnableInterrupts.S | GCC
|
||||
|
@ -380,9 +374,7 @@
|
|||
|
||||
[Sources.X64]
|
||||
X64/Thunk16.asm
|
||||
X64/CpuFlushTlb.asm
|
||||
X64/CpuPause.asm
|
||||
X64/CpuSleep.asm
|
||||
X64/EnableDisableInterrupts.asm
|
||||
X64/DisableInterrupts.asm
|
||||
X64/EnableInterrupts.asm
|
||||
|
@ -568,11 +560,9 @@
|
|||
X64/EnableDisableInterrupts.S | GCC
|
||||
X64/DisablePaging64.S | GCC
|
||||
X64/DisableInterrupts.S | GCC
|
||||
X64/CpuSleep.S | GCC
|
||||
X64/CpuPause.S | GCC
|
||||
X64/CpuId.S | GCC
|
||||
X64/CpuIdEx.S | GCC
|
||||
X64/CpuFlushTlb.S | GCC
|
||||
X64/CpuBreakpoint.S | GCC
|
||||
SynchronizationGcc.c | GCC
|
||||
|
||||
|
@ -590,7 +580,6 @@
|
|||
Ipf/FlushCacheRange.s
|
||||
Ipf/InternalSwitchStack.c
|
||||
Ipf/GetInterruptState.s
|
||||
Ipf/CpuFlushTlb.s
|
||||
Ipf/CpuPause.s
|
||||
Ipf/Synchronization.c
|
||||
Ipf/InterlockedCompareExchange64.s
|
||||
|
|
|
@ -136,33 +136,3 @@ CpuPause (
|
|||
{
|
||||
}
|
||||
|
||||
/**
|
||||
Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.
|
||||
|
||||
Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.
|
||||
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
CpuFlushTlb (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
ASSERT (FALSE);
|
||||
}
|
||||
|
||||
/**
|
||||
Places the CPU in a sleep state until an interrupt is received.
|
||||
|
||||
Places the CPU in a sleep state until an interrupt is received. If interrupts
|
||||
are disabled prior to calling this function, then the CPU will be placed in a
|
||||
sleep state indefinitely.
|
||||
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
CpuSleep (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -96,20 +96,3 @@ EnableDisableInterrupts (
|
|||
EnableInterrupts ();
|
||||
DisableInterrupts ();
|
||||
}
|
||||
|
||||
/**
|
||||
Places the CPU in a sleep state until an interrupt is received.
|
||||
|
||||
Places the CPU in a sleep state until an interrupt is received. If interrupts
|
||||
are disabled prior to calling this function, then the CPU will be placed in a
|
||||
sleep state indefinitely.
|
||||
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
CpuSleep (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
PalCallStatic (NULL, 29, 0, 0, 0);
|
||||
}
|
||||
|
|
|
@ -102,19 +102,3 @@ EnableDisableInterrupts (
|
|||
DisableInterrupts ();
|
||||
}
|
||||
|
||||
/**
|
||||
Places the CPU in a sleep state until an interrupt is received.
|
||||
|
||||
Places the CPU in a sleep state until an interrupt is received. If interrupts
|
||||
are disabled prior to calling this function, then the CPU will be placed in a
|
||||
sleep state indefinitely.
|
||||
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
CpuSleep (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
PalCallStatic (NULL, 29, 0, 0, 0);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue