UefiCpuPkg/CpuDxe: Move SetMtrrsFromBuffer() location.
Cc: Michael Kinney <michael.d.kinney@intel.com> Cc: Feng Tian <feng.tian@intel.com> Cc: Giri P Mudusuru <giri.p.mudusuru@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Michael Kinney <michael.d.kinney@intel.com> Tested-by: Laszlo Ersek <lersek@redhat.com> Tested-by: Michael Kinney <michael.d.kinney@intel.com>
This commit is contained in:
parent
7fadaacd50
commit
0b9f0dd635
@ -313,6 +313,21 @@ CpuGetTimerValue (
|
|||||||
return EFI_SUCCESS;
|
return EFI_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
A minimal wrapper function that allows MtrrSetAllMtrrs() to be passed to
|
||||||
|
EFI_MP_SERVICES_PROTOCOL.StartupAllAPs() as Procedure.
|
||||||
|
|
||||||
|
@param[in] Buffer Pointer to an MTRR_SETTINGS object, to be passed to
|
||||||
|
MtrrSetAllMtrrs().
|
||||||
|
**/
|
||||||
|
VOID
|
||||||
|
EFIAPI
|
||||||
|
SetMtrrsFromBuffer (
|
||||||
|
IN VOID *Buffer
|
||||||
|
)
|
||||||
|
{
|
||||||
|
MtrrSetAllMtrrs (Buffer);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Implementation of SetMemoryAttributes() service of CPU Architecture Protocol.
|
Implementation of SetMemoryAttributes() service of CPU Architecture Protocol.
|
||||||
|
@ -1000,22 +1000,6 @@ ExitBootServicesCallback (
|
|||||||
SendInitIpiAllExcludingSelf ();
|
SendInitIpiAllExcludingSelf ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
A minimal wrapper function that allows MtrrSetAllMtrrs() to be passed to
|
|
||||||
EFI_MP_SERVICES_PROTOCOL.StartupAllAPs() as Procedure.
|
|
||||||
|
|
||||||
@param[in] Buffer Pointer to an MTRR_SETTINGS object, to be passed to
|
|
||||||
MtrrSetAllMtrrs().
|
|
||||||
**/
|
|
||||||
VOID
|
|
||||||
EFIAPI
|
|
||||||
SetMtrrsFromBuffer (
|
|
||||||
IN VOID *Buffer
|
|
||||||
)
|
|
||||||
{
|
|
||||||
MtrrSetAllMtrrs (Buffer);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Initialize Multi-processor support.
|
Initialize Multi-processor support.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user