mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-07 05:44:23 +02:00
OvmfPkg/Acpi: Fix few typos
Fix few typos in comments and documentation. Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Antoine Coeur <coeur@gmx.fr> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com> Message-Id: <20200207010831.9046-55-philmd@redhat.com>
This commit is contained in:
parent
e79bf8d707
commit
f221466ea7
@ -240,7 +240,7 @@ FatalError:
|
|||||||
Script opcodes. If the function returns successfully,
|
Script opcodes. If the function returns successfully,
|
||||||
the caller must set the S3Context pointer -- originally
|
the caller must set the S3Context pointer -- originally
|
||||||
returned by AllocateS3Context() -- immediately to NULL,
|
returned by AllocateS3Context() -- immediately to NULL,
|
||||||
because the ownership of S3Context has been transfered.
|
because the ownership of S3Context has been transferred.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The translation of S3Context to ACPI S3 Boot Script
|
@retval EFI_SUCCESS The translation of S3Context to ACPI S3 Boot Script
|
||||||
opcodes has been successfully executed or queued. (This
|
opcodes has been successfully executed or queued. (This
|
||||||
|
@ -21,7 +21,7 @@ EFI_ACPI_2_0_FIXED_ACPI_DESCRIPTION_TABLE FACP = {
|
|||||||
EFI_ACPI_CREATOR_ID, // ASL compiler vendor ID
|
EFI_ACPI_CREATOR_ID, // ASL compiler vendor ID
|
||||||
EFI_ACPI_CREATOR_REVISION // ASL compiler revision number
|
EFI_ACPI_CREATOR_REVISION // ASL compiler revision number
|
||||||
},
|
},
|
||||||
0, // Physical addesss of FACS
|
0, // Physical address of FACS
|
||||||
0, // Physical address of DSDT
|
0, // Physical address of DSDT
|
||||||
RESERVED, // System Interrupt Model in ACPI 1.0, eliminated in 2.0
|
RESERVED, // System Interrupt Model in ACPI 1.0, eliminated in 2.0
|
||||||
EFI_ACPI_2_0_PM_PROFILE_UNSPECIFIED, // Preferred PM profile
|
EFI_ACPI_2_0_PM_PROFILE_UNSPECIFIED, // Preferred PM profile
|
||||||
@ -62,8 +62,8 @@ EFI_ACPI_2_0_FIXED_ACPI_DESCRIPTION_TABLE FACP = {
|
|||||||
GAS2_IO(RESET_REG, 1), // Extended address of the Reset Register
|
GAS2_IO(RESET_REG, 1), // Extended address of the Reset Register
|
||||||
RESET_VALUE, // Value for the Reset Register to reset the system
|
RESET_VALUE, // Value for the Reset Register to reset the system
|
||||||
{ RESERVED }, // reserved[3]
|
{ RESERVED }, // reserved[3]
|
||||||
0, // 64-bit physical addesss of FACS, set at installation
|
0, // 64-bit physical address of FACS, set at installation
|
||||||
0, // 64-bit physical addesss of DSDT, set at installation
|
0, // 64-bit physical address of DSDT, set at installation
|
||||||
|
|
||||||
GAS2_IO(PM1a_EVT_BLK, PM1_EVT_LEN), // Ext. addr. of PM 1a Event Reg Blk
|
GAS2_IO(PM1a_EVT_BLK, PM1_EVT_LEN), // Ext. addr. of PM 1a Event Reg Blk
|
||||||
{ 0 }, // PM 1b Event Reg Blk unsupported
|
{ 0 }, // PM 1b Event Reg Blk unsupported
|
||||||
@ -83,7 +83,7 @@ ReferenceAcpiTable (
|
|||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Reference the table being generated to prevent the optimizer from removing the
|
// Reference the table being generated to prevent the optimizer from removing the
|
||||||
// data structure from the exeutable
|
// data structure from the executable
|
||||||
//
|
//
|
||||||
return (VOID*)&FACP;
|
return (VOID*)&FACP;
|
||||||
}
|
}
|
||||||
|
@ -71,7 +71,7 @@ ReferenceAcpiTable (
|
|||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Reference the table being generated to prevent the optimizer from removing the
|
// Reference the table being generated to prevent the optimizer from removing the
|
||||||
// data structure from the exeutable
|
// data structure from the executable
|
||||||
//
|
//
|
||||||
return (VOID*)&FACS;
|
return (VOID*)&FACS;
|
||||||
}
|
}
|
||||||
|
@ -147,7 +147,7 @@ ReferenceAcpiTable (
|
|||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Reference the table being generated to prevent the optimizer from removing the
|
// Reference the table being generated to prevent the optimizer from removing the
|
||||||
// data structure from the exeutable
|
// data structure from the executable
|
||||||
//
|
//
|
||||||
return (VOID*)&Madt;
|
return (VOID*)&Madt;
|
||||||
}
|
}
|
||||||
|
@ -131,7 +131,7 @@ EFI_STATUS
|
|||||||
|
|
||||||
This services sets the power state of the ISA controller specified by Device to
|
This services sets the power state of the ISA controller specified by Device to
|
||||||
the power state specified by OnOff. TRUE denotes on, FALSE denotes off.
|
the power state specified by OnOff. TRUE denotes on, FALSE denotes off.
|
||||||
If the power state is sucessfully set on the ISA Controller, then
|
If the power state is successfully set on the ISA Controller, then
|
||||||
EFI_SUCCESS is returned.
|
EFI_SUCCESS is returned.
|
||||||
|
|
||||||
@param[in] This The pointer to the EFI_ISA_ACPI_PROTOCOL instance.
|
@param[in] This The pointer to the EFI_ISA_ACPI_PROTOCOL instance.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user