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:
Gary Lin
2016-10-19 15:01:38 +08:00
committed by david wei
parent 04d8d8835e
commit 2e182e30e5
9 changed files with 25 additions and 25 deletions

View File

@ -251,7 +251,7 @@ BootScriptPciCfg2ReadWrite (
UINT8 *DataMask; UINT8 *DataMask;
Width = VA_ARG (Marker, S3_BOOT_SCRIPT_LIB_WIDTH); Width = VA_ARG (Marker, S3_BOOT_SCRIPT_LIB_WIDTH);
Address = VA_ARG (Marker, UINT64); Address = VA_ARG (Marker, UINT64);
Segment = VA_ARG (Marker, UINT16); Segment = VA_ARG (Marker, UINT16);
Data = VA_ARG (Marker, UINT8 *); Data = VA_ARG (Marker, UINT8 *);
DataMask = VA_ARG (Marker, UINT8 *); DataMask = VA_ARG (Marker, UINT8 *);

View File

@ -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,

View File

@ -180,7 +180,7 @@ EfiInvd (
@param[in] None @param[in] None
@retval None @retval None
**/ **/
VOID VOID
EFIAPI EFIAPI

View File

@ -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

View File

@ -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) {

View File

@ -187,7 +187,7 @@ struct _PCI_IO_DEVICE {
// //
// The bridge device this pci device is subject to // The bridge device this pci device is subject to
// //
PCI_IO_DEVICE *Parent; PCI_IO_DEVICE *Parent;
// //
@ -266,7 +266,7 @@ struct _PCI_IO_DEVICE {
// //
UINT8 PciExpressCapabilityOffset; UINT8 PciExpressCapabilityOffset;
UINT32 AriCapabilityOffset; UINT32 AriCapabilityOffset;
UINT32 SrIovCapabilityOffset; UINT32 SrIovCapabilityOffset;
UINT32 MrIovCapabilityOffset; UINT32 MrIovCapabilityOffset;
PCI_BAR VfPciBar[PCI_MAX_BAR]; PCI_BAR VfPciBar[PCI_MAX_BAR];
UINT32 SystemPageSize; UINT32 SystemPageSize;
@ -308,8 +308,8 @@ extern BOOLEAN mReserveVgaAliases;
extern UINT64 gAllOne; extern UINT64 gAllOne;
extern UINT64 gAllZero; extern UINT64 gAllZero;
extern EFI_PCI_PLATFORM_PROTOCOL *gPciPlatformProtocol; extern EFI_PCI_PLATFORM_PROTOCOL *gPciPlatformProtocol;
extern EFI_PCI_OVERRIDE_PROTOCOL *gPciOverrideProtocol; extern EFI_PCI_OVERRIDE_PROTOCOL *gPciOverrideProtocol;
extern BOOLEAN mReserveIsaAliases; extern BOOLEAN mReserveIsaAliases;
extern BOOLEAN mReserveVgaAliases; extern BOOLEAN mReserveVgaAliases;
/** /**
@ -320,7 +320,7 @@ extern BOOLEAN mReserveVgaAliases;
@retval TRUE Device is a GFX device. @retval TRUE Device is a GFX device.
@retval FALSE Device is not 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)
/** /**
@ -342,7 +342,7 @@ PciBusDriverBindingSupported (
PciBusDriverBindingSupported ( PciBusDriverBindingSupported (
IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE Controller, IN EFI_HANDLE Controller,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
); );
/** /**
@ -359,7 +359,7 @@ PciBusDriverBindingStart (
@retval other This driver does not support this device. @retval other This driver does not support this device.
**/ **/
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
PciBusDriverBindingStart ( PciBusDriverBindingStart (
IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_DRIVER_BINDING_PROTOCOL *This,

View File

@ -33,7 +33,7 @@ PLATFORM_GOP_POLICY_PROTOCOL mPlatformGOPPolicy;
#include <Guid/SetupVariable.h> #include <Guid/SetupVariable.h>
#include <SetupMode.h> #include <SetupMode.h>
#include <Library/UefiBootServicesTableLib.h> #include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiRuntimeServicesTableLib.h> #include <Library/UefiRuntimeServicesTableLib.h>
PLATFORM_GOP_POLICY_PROTOCOL mPlatformGOPPolicy; PLATFORM_GOP_POLICY_PROTOCOL mPlatformGOPPolicy;
@ -54,7 +54,7 @@ GetPlatformLidStatus (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
GetPlatformLidStatus ( GetPlatformLidStatus (
OUT LID_STATUS *CurrentLidStatus OUT LID_STATUS *CurrentLidStatus
) )
{ {
*CurrentLidStatus = LidOpen; *CurrentLidStatus = LidOpen;

View File

@ -79,7 +79,7 @@ CheckOsSelection (
if (!EFI_ERROR(Status) && (SystemConfiguration->ReservedO != OsSelection)) { if (!EFI_ERROR(Status) && (SystemConfiguration->ReservedO != OsSelection)) {
// //
// Build HOB for OsSelection // Build HOB for OsSelection
// //
OsSelectionHob = BuildGuidHob (&gOsSelectionVariableGuid, sizeof (EFI_OS_SELECTION_HOB)); OsSelectionHob = BuildGuidHob (&gOsSelectionVariableGuid, sizeof (EFI_OS_SELECTION_HOB));
ASSERT (OsSelectionHob != NULL); ASSERT (OsSelectionHob != NULL);

View File

@ -126,7 +126,7 @@ LoadLpssDefaultValues (
VOID VOID
CheckSystemConfigSave(SYSTEM_CONFIGURATION *SystemConfigPtr); CheckSystemConfigSave(SYSTEM_CONFIGURATION *SystemConfigPtr);
VOID VOID
ConfirmSecureBootTest(); ConfirmSecureBootTest();
VOID VOID
@ -780,7 +780,7 @@ SystemConfigCallback (
// //
// Pass changed uncommitted data back to Form Browser // Pass changed uncommitted data back to Form Browser
// //
HiiSetBrowserData (&mSystemConfigGuid, mVariableName, sizeof (SYSTEM_CONFIGURATION), (UINT8 *) FakeNvData, NULL); HiiSetBrowserData (&mSystemConfigGuid, mVariableName, sizeof (SYSTEM_CONFIGURATION), (UINT8 *) FakeNvData, NULL);