Export ACPI timer information
All checks were successful
All checks were successful
This commit is contained in:
@@ -105,6 +105,28 @@ HL::Acpi::GetAcpiTable(IN ULONG Signature,
|
|||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Retrieves the ACPI timer information.
|
||||||
|
*
|
||||||
|
* @param AcpiTimerInfo
|
||||||
|
* Supplies a pointer to memory area, where ACPI timer information will be stored.
|
||||||
|
*
|
||||||
|
* @return This routine does not return any value.
|
||||||
|
*
|
||||||
|
* @since XT 1.0
|
||||||
|
*/
|
||||||
|
XTAPI
|
||||||
|
VOID
|
||||||
|
HL::Acpi::GetAcpiTimerInfo(OUT PACPI_TIMER_INFO *AcpiTimerInfo)
|
||||||
|
{
|
||||||
|
/* Check if ACPI timer info is available */
|
||||||
|
if(AcpiTimerInfo)
|
||||||
|
{
|
||||||
|
/* Return ACPI timer info */
|
||||||
|
*AcpiTimerInfo = &TimerInfo;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Performs an initialization of the ACPI subsystem.
|
* Performs an initialization of the ACPI subsystem.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ namespace HL
|
|||||||
STATIC XTAPI XTSTATUS GetAcpiSystemDescriptionPointer(OUT PACPI_RSDP *Rsdp);
|
STATIC XTAPI XTSTATUS GetAcpiSystemDescriptionPointer(OUT PACPI_RSDP *Rsdp);
|
||||||
STATIC XTAPI XTSTATUS GetAcpiTable(IN ULONG Signature,
|
STATIC XTAPI XTSTATUS GetAcpiTable(IN ULONG Signature,
|
||||||
OUT PACPI_DESCRIPTION_HEADER *AcpiTable);
|
OUT PACPI_DESCRIPTION_HEADER *AcpiTable);
|
||||||
|
STATIC XTAPI VOID GetAcpiTimerInfo(OUT PACPI_TIMER_INFO *AcpiTimerInfo);
|
||||||
STATIC XTAPI XTSTATUS InitializeAcpi(VOID);
|
STATIC XTAPI XTSTATUS InitializeAcpi(VOID);
|
||||||
STATIC XTAPI XTSTATUS InitializeAcpiSystemInformation(VOID);
|
STATIC XTAPI XTSTATUS InitializeAcpiSystemInformation(VOID);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user