mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-23 13:44:33 +02:00
Vlv2TbltDevicePkg: Fix typos in comments
- TURE -> TRUE - stardard -> standard - aligments -> alignments - a a -> a - stoping -> stopping - defalut -> default - excute -> execute - Incude -> Include - futhure -> future - Predfined -> Predefined - minimue -> minimum - predeined -> predefined - dirver -> driver - paramter -> parameter - funciton -> function - immediatly -> immediately Cc: David Wei <david.wei@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Lin <glin@suse.com>
This commit is contained in:
parent
04d8d8835e
commit
2e182e30e5
@ -251,7 +251,7 @@ BootScriptPciCfg2ReadWrite (
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Internal function to add smbus excute opcode to the table.
|
Internal function to add smbus execute opcode to the table.
|
||||||
|
|
||||||
@param Marker The variable argument list to get the opcode
|
@param Marker The variable argument list to get the opcode
|
||||||
and associated attributes.
|
and associated attributes.
|
||||||
|
@ -140,8 +140,8 @@ SecTemporaryRamSupport (
|
|||||||
|
|
||||||
//
|
//
|
||||||
// SecSwitchStack function must be invoked after the memory migration
|
// SecSwitchStack function must be invoked after the memory migration
|
||||||
// immediatly, also we need fixup the stack change caused by new call into
|
// immediately, also we need fixup the stack change caused by new call into
|
||||||
// permenent memory.
|
// permanent memory.
|
||||||
//
|
//
|
||||||
SecSwitchStack (
|
SecSwitchStack (
|
||||||
(UINT32) (UINTN) OldStack,
|
(UINT32) (UINTN) OldStack,
|
||||||
|
@ -180,7 +180,7 @@ EfiInvd (
|
|||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Get the Cpu info by excute the CPUID instruction
|
Get the Cpu info by execute the CPUID instruction
|
||||||
|
|
||||||
@param[in] RegisterInEax The input value to put into register EAX
|
@param[in] RegisterInEax The input value to put into register EAX
|
||||||
@param[in] Regs The Output value
|
@param[in] Regs The Output value
|
||||||
|
@ -216,7 +216,7 @@ typedef struct {
|
|||||||
UINT8 TpmEnable; // 121 TPM Enable
|
UINT8 TpmEnable; // 121 TPM Enable
|
||||||
|
|
||||||
UINT8 MorData; // 122 Memory Overwrite Request Data
|
UINT8 MorData; // 122 Memory Overwrite Request Data
|
||||||
UINT8 TcgParamter; // 123 Used for save the Mor and/or physical presence paramter
|
UINT8 TcgParamter; // 123 Used for save the Mor and/or physical presence parameter
|
||||||
UINT32 PPResponse; // 124 Physical Presence request operation response
|
UINT32 PPResponse; // 124 Physical Presence request operation response
|
||||||
UINT8 PPRequest; // 128 Physical Presence request operation
|
UINT8 PPRequest; // 128 Physical Presence request operation
|
||||||
UINT8 LastPPRequest; // 129 Last Physical Presence request operation
|
UINT8 LastPPRequest; // 129 Last Physical Presence request operation
|
||||||
|
@ -217,7 +217,7 @@ ShellImageCallback (
|
|||||||
// BDS Platform Functions
|
// BDS Platform Functions
|
||||||
//
|
//
|
||||||
/**
|
/**
|
||||||
Platform Bds init. Incude the platform firmware vendor, revision
|
Platform Bds init. Include the platform firmware vendor, revision
|
||||||
and so crc check.
|
and so crc check.
|
||||||
|
|
||||||
@param VOID
|
@param VOID
|
||||||
@ -313,7 +313,7 @@ GetGopDevicePath (
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Try to connect this handle, so that GOP dirver could start on this
|
// Try to connect this handle, so that GOP driver could start on this
|
||||||
// device and create child handles with GraphicsOutput Protocol installed
|
// device and create child handles with GraphicsOutput Protocol installed
|
||||||
// on them, then we get device paths of these child handles and select
|
// on them, then we get device paths of these child handles and select
|
||||||
// them as possible console device.
|
// them as possible console device.
|
||||||
@ -430,7 +430,7 @@ GetGopDevicePath (
|
|||||||
// In current implementation, we only enable one of the child handles
|
// In current implementation, we only enable one of the child handles
|
||||||
// as console device, i.e. sotre one of the child handle's device
|
// as console device, i.e. sotre one of the child handle's device
|
||||||
// path to variable "ConOut"
|
// path to variable "ConOut"
|
||||||
// In futhure, we could select all child handles to be console device
|
// In future, we could select all child handles to be console device
|
||||||
//
|
//
|
||||||
*GopDevicePath = TempDevicePath;
|
*GopDevicePath = TempDevicePath;
|
||||||
}
|
}
|
||||||
@ -783,7 +783,7 @@ UpdateConsoleResolution(
|
|||||||
Connect the predefined platform default console device. Always try to find
|
Connect the predefined platform default console device. Always try to find
|
||||||
and enable the vga device if have.
|
and enable the vga device if have.
|
||||||
|
|
||||||
@param PlatformConsole Predfined platform default console device array.
|
@param PlatformConsole Predefined platform default console device array.
|
||||||
|
|
||||||
@retval EFI_SUCCESS Success connect at least one ConIn and ConOut
|
@retval EFI_SUCCESS Success connect at least one ConIn and ConOut
|
||||||
device, there must have one ConOut device is
|
device, there must have one ConOut device is
|
||||||
@ -822,7 +822,7 @@ PlatformBdsConnectConsole (
|
|||||||
if (VarConout == NULL || VarConin == NULL) {
|
if (VarConout == NULL || VarConin == NULL) {
|
||||||
//
|
//
|
||||||
// Have chance to connect the platform default console,
|
// Have chance to connect the platform default console,
|
||||||
// the platform default console is the minimue device group
|
// the platform default console is the minimum device group
|
||||||
// the platform should support
|
// the platform should support
|
||||||
//
|
//
|
||||||
while (PlatformConsole[Index].DevicePath != NULL) {
|
while (PlatformConsole[Index].DevicePath != NULL) {
|
||||||
@ -869,7 +869,7 @@ PlatformBdsConnectConsole (
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Connect with predeined platform connect sequence,
|
Connect with predefined platform connect sequence,
|
||||||
the OEM/IBV can customize with their own connect sequence.
|
the OEM/IBV can customize with their own connect sequence.
|
||||||
|
|
||||||
@param None.
|
@param None.
|
||||||
@ -1571,7 +1571,7 @@ PlatformBdsLibEnumerateAllBootOption (
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
||||||
The function will excute with as the platform policy, current policy
|
The function will execute with as the platform policy, current policy
|
||||||
is driven by boot mode. IBV/OEM can customize this code for their specific
|
is driven by boot mode. IBV/OEM can customize this code for their specific
|
||||||
policy action.
|
policy action.
|
||||||
|
|
||||||
@ -2838,7 +2838,7 @@ PlatformBdsConnectSimpleConsole (
|
|||||||
if (VarConout == NULL || VarConin == NULL) {
|
if (VarConout == NULL || VarConin == NULL) {
|
||||||
//
|
//
|
||||||
// Have chance to connect the platform default console,
|
// Have chance to connect the platform default console,
|
||||||
// the platform default console is the minimue device group
|
// the platform default console is the minimum device group
|
||||||
// the platform should support
|
// the platform should support
|
||||||
//
|
//
|
||||||
while (PlatformConsole[Index].DevicePath != NULL) {
|
while (PlatformConsole[Index].DevicePath != NULL) {
|
||||||
|
@ -187,7 +187,7 @@ struct _PCI_IO_DEVICE {
|
|||||||
LIST_ENTRY ChildList;
|
LIST_ENTRY ChildList;
|
||||||
|
|
||||||
//
|
//
|
||||||
// TURE if the PCI bus driver creates the handle for this PCI device
|
// TRUE if the PCI bus driver creates the handle for this PCI device
|
||||||
//
|
//
|
||||||
BOOLEAN Registered;
|
BOOLEAN Registered;
|
||||||
|
|
||||||
@ -266,7 +266,7 @@ struct _PCI_IO_DEVICE {
|
|||||||
|
|
||||||
//
|
//
|
||||||
// Per PCI to PCI Bridge spec, I/O window is 4K aligned,
|
// Per PCI to PCI Bridge spec, I/O window is 4K aligned,
|
||||||
// but some chipsets support non-stardard I/O window aligments less than 4K.
|
// but some chipsets support non-standard I/O window alignments less than 4K.
|
||||||
// This field is used to support this case.
|
// This field is used to support this case.
|
||||||
//
|
//
|
||||||
UINT16 BridgeIoAlignment;
|
UINT16 BridgeIoAlignment;
|
||||||
@ -308,8 +308,8 @@ extern BOOLEAN mReserveVgaAliases;
|
|||||||
|
|
||||||
@param _p Specified device.
|
@param _p Specified device.
|
||||||
|
|
||||||
@retval TRUE Device is a a GFX device.
|
@retval TRUE Device is a GFX device.
|
||||||
@retval FALSE Device is not a a GFX device.
|
@retval FALSE Device is not a GFX device.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
#define IS_PCI_GFX(_p) IS_CLASS2 (_p, PCI_CLASS_DISPLAY, PCI_CLASS_DISPLAY_OTHER)
|
#define IS_PCI_GFX(_p) IS_CLASS2 (_p, PCI_CLASS_DISPLAY, PCI_CLASS_DISPLAY_OTHER)
|
||||||
@ -320,7 +320,7 @@ extern BOOLEAN mReserveVgaAliases;
|
|||||||
|
|
||||||
@param This Protocol instance pointer.
|
@param This Protocol instance pointer.
|
||||||
@param Controller Handle of device to test.
|
@param Controller Handle of device to test.
|
||||||
@param RemainingDevicePath Optional parameter use to pick a specific child.
|
@param RemainingDevicePath Optional parameter use to pick a specific child
|
||||||
device to start.
|
device to start.
|
||||||
|
|
||||||
@retval EFI_SUCCESS This driver supports this device.
|
@retval EFI_SUCCESS This driver supports this device.
|
||||||
@ -342,7 +342,7 @@ PciBusDriverBindingSupported (
|
|||||||
|
|
||||||
@param This Protocol instance pointer.
|
@param This Protocol instance pointer.
|
||||||
@param Controller Handle of device to bind driver to.
|
@param Controller Handle of device to bind driver to.
|
||||||
@param RemainingDevicePath Optional parameter use to pick a specific child.
|
@param RemainingDevicePath Optional parameter use to pick a specific child
|
||||||
device to start.
|
device to start.
|
||||||
|
|
||||||
@retval EFI_SUCCESS This driver is added to ControllerHandle.
|
@retval EFI_SUCCESS This driver is added to ControllerHandle.
|
||||||
@ -359,7 +359,7 @@ PciBusDriverBindingStart (
|
|||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Stop this driver on ControllerHandle. Support stoping any child handles
|
Stop this driver on ControllerHandle. Support stopping any child handles
|
||||||
created by this driver.
|
created by this driver.
|
||||||
|
|
||||||
@param This Protocol instance pointer.
|
@param This Protocol instance pointer.
|
||||||
|
@ -33,7 +33,7 @@ PLATFORM_GOP_POLICY_PROTOCOL mPlatformGOPPolicy;
|
|||||||
//
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
The function will excute with as the platform policy, and gives
|
The function will execute with as the platform policy, and gives
|
||||||
the Platform Lid Status. IBV/OEM can customize this code for their specific
|
the Platform Lid Status. IBV/OEM can customize this code for their specific
|
||||||
policy action.
|
policy action.
|
||||||
|
|
||||||
@ -54,7 +54,7 @@ GetPlatformLidStatus (
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
The function will excute and gives the Video Bios Table Size and Address.
|
The function will execute and gives the Video Bios Table Size and Address.
|
||||||
|
|
||||||
@param VbtAddress Gives the Physical Address of Video BIOS Table
|
@param VbtAddress Gives the Physical Address of Video BIOS Table
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ CheckOsSelection (
|
|||||||
SystemConfiguration->ReservedO = OsSelectionHob->OsSelection;
|
SystemConfiguration->ReservedO = OsSelectionHob->OsSelection;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Load LPSS and SCC defalut configurations
|
// Load LPSS and SCC default configurations
|
||||||
//
|
//
|
||||||
OsSelectionHob->LpssData.LpsseMMCEnabled = FALSE;
|
OsSelectionHob->LpssData.LpsseMMCEnabled = FALSE;
|
||||||
OsSelectionHob->LpssData.LpssSdioEnabled = TRUE;
|
OsSelectionHob->LpssData.LpssSdioEnabled = TRUE;
|
||||||
|
@ -126,7 +126,7 @@ LoadLpssDefaultValues (
|
|||||||
)
|
)
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Load LPSS and SCC defalut configurations for Android
|
// Load LPSS and SCC default configurations for Android
|
||||||
//
|
//
|
||||||
Private->FakeNvData.LpsseMMCEnabled = FALSE;
|
Private->FakeNvData.LpsseMMCEnabled = FALSE;
|
||||||
Private->FakeNvData.LpssSdioEnabled = TRUE;
|
Private->FakeNvData.LpssSdioEnabled = TRUE;
|
||||||
@ -780,7 +780,7 @@ SystemConfigCallback (
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
The driver Entry Point. The funciton will export a disk device class formset and
|
The driver Entry Point. The function will export a disk device class formset and
|
||||||
its callback function to hii database.
|
its callback function to hii database.
|
||||||
|
|
||||||
@param ImageHandle The firmware allocated handle for the EFI image.
|
@param ImageHandle The firmware allocated handle for the EFI image.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user