Refine code to make code follow the coding style.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11011 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
#ifndef _GENERIC_ICH_H_
|
||||
#define _GENERIC_ICH_H_
|
||||
|
||||
/** @defgroup GenericIchDefs Generic ICH Definitions.
|
||||
/** GenericIchDefs Generic ICH Definitions.
|
||||
|
||||
Definitions beginning with "R_" are registers.
|
||||
Definitions beginning with "B_" are bits within registers.
|
||||
@@ -25,21 +25,21 @@ Definitions beginning with "V_" are meaningful values of bits within the registe
|
||||
**/
|
||||
///@{
|
||||
|
||||
/// @defgroup IchPciAddressing PCI Bus Address for ICH.
|
||||
/// IchPciAddressing PCI Bus Address for ICH.
|
||||
///@{
|
||||
#define PCI_BUS_NUMBER_ICH 0x00 ///< ICH is on PCI Bus 0.
|
||||
#define PCI_DEVICE_NUMBER_ICH_LPC 31 ///< ICH is Device 31.
|
||||
#define PCI_FUNCTION_NUMBER_ICH_LPC 0 ///< ICH is Function 0.
|
||||
///@}
|
||||
|
||||
/// @defgroup IchAcpiCntr Control for the ICH's ACPI Counter.
|
||||
/// IchAcpiCntr Control for the ICH's ACPI Counter.
|
||||
///@{
|
||||
#define R_ICH_LPC_ACPI_BASE 0x40
|
||||
#define R_ICH_LPC_ACPI_CNT 0x44
|
||||
#define B_ICH_LPC_ACPI_CNT_ACPI_EN 0x80
|
||||
///@}
|
||||
|
||||
/// @defgroup IchAcpiTimer The ICH's ACPI Timer.
|
||||
/// IchAcpiTimer The ICH's ACPI Timer.
|
||||
///@{
|
||||
#define R_ACPI_PM1_TMR 0x08
|
||||
#define V_ACPI_TMR_FREQUENCY 3579545
|
||||
|
Reference in New Issue
Block a user