mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-24 22:24:37 +02:00
ArmVirtPkg/PrePi: Drop call to TimerConstructor()
Drop the call to the TimerConstructor, which should not be called explicitly, and does nothing useful to begin with. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
This commit is contained in:
parent
1941a901f0
commit
8c10017aa7
@ -109,8 +109,6 @@ CEntryPoint (
|
|||||||
UINT64 StartTimeStamp;
|
UINT64 StartTimeStamp;
|
||||||
|
|
||||||
if (PerformanceMeasurementEnabled ()) {
|
if (PerformanceMeasurementEnabled ()) {
|
||||||
// Initialize the Timer Library to setup the Timer HW controller
|
|
||||||
TimerConstructor ();
|
|
||||||
// We cannot call yet the PerformanceLib because the HOB List has not been initialized
|
// We cannot call yet the PerformanceLib because the HOB List has not been initialized
|
||||||
StartTimeStamp = GetPerformanceCounter ();
|
StartTimeStamp = GetPerformanceCounter ();
|
||||||
} else {
|
} else {
|
||||||
|
@ -22,12 +22,6 @@
|
|||||||
|
|
||||||
#define SerialPrint(txt) SerialPortWrite (txt, AsciiStrLen(txt)+1);
|
#define SerialPrint(txt) SerialPortWrite (txt, AsciiStrLen(txt)+1);
|
||||||
|
|
||||||
RETURN_STATUS
|
|
||||||
EFIAPI
|
|
||||||
TimerConstructor (
|
|
||||||
VOID
|
|
||||||
);
|
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
PrePiMain (
|
PrePiMain (
|
||||||
IN UINTN UefiMemoryBase,
|
IN UINTN UefiMemoryBase,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user