2014-08-14 16:30:32 +02:00
|
|
|
/** @file
|
|
|
|
ACPI Timer implements one instance of Timer Library.
|
|
|
|
|
2018-06-27 15:12:46 +02:00
|
|
|
Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>
|
2020-12-17 23:47:07 +01:00
|
|
|
Copyright (c) Microsoft Corporation.
|
2019-04-04 01:06:35 +02:00
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
2014-08-14 16:30:32 +02:00
|
|
|
|
|
|
|
**/
|
|
|
|
|
2018-01-23 03:24:04 +01:00
|
|
|
#include <PiDxe.h>
|
|
|
|
|
2020-12-17 23:47:07 +01:00
|
|
|
#include "DxeStandaloneMmAcpiTimerLib.h"
|
2018-01-23 03:24:04 +01:00
|
|
|
|
|
|
|
/**
|
2018-06-27 15:12:46 +02:00
|
|
|
The constructor function enables ACPI IO space, and caches PerformanceCounterFrequency.
|
2018-01-23 03:24:04 +01:00
|
|
|
|
|
|
|
@param ImageHandle The firmware allocated handle for the EFI image.
|
|
|
|
@param SystemTable A pointer to the EFI System Table.
|
|
|
|
|
|
|
|
@retval EFI_SUCCESS The constructor always returns RETURN_SUCCESS.
|
|
|
|
|
|
|
|
**/
|
|
|
|
EFI_STATUS
|
|
|
|
EFIAPI
|
|
|
|
DxeAcpiTimerLibConstructor (
|
|
|
|
IN EFI_HANDLE ImageHandle,
|
|
|
|
IN EFI_SYSTEM_TABLE *SystemTable
|
|
|
|
)
|
|
|
|
{
|
2020-12-17 23:47:07 +01:00
|
|
|
return CommonAcpiTimerLibConstructor ();
|
2014-08-14 16:30:32 +02:00
|
|
|
}
|