}\r
\r
/**\r
- Internal function to add smbus excute opcode to the table.\r
+ Internal function to add smbus execute opcode to the table.\r
\r
@param Marker The variable argument list to get the opcode\r
and associated attributes.\r
\r
//\r
// SecSwitchStack function must be invoked after the memory migration\r
- // immediatly, also we need fixup the stack change caused by new call into\r
- // permenent memory.\r
+ // immediately, also we need fixup the stack change caused by new call into\r
+ // permanent memory.\r
//\r
SecSwitchStack (\r
(UINT32) (UINTN) OldStack,\r
);\r
\r
/**\r
- Get the Cpu info by excute the CPUID instruction\r
+ Get the Cpu info by execute the CPUID instruction\r
\r
@param[in] RegisterInEax The input value to put into register EAX\r
@param[in] Regs The Output value\r
UINT8 TpmEnable; // 121 TPM Enable\r
\r
UINT8 MorData; // 122 Memory Overwrite Request Data\r
- UINT8 TcgParamter; // 123 Used for save the Mor and/or physical presence paramter\r
+ UINT8 TcgParamter; // 123 Used for save the Mor and/or physical presence parameter\r
UINT32 PPResponse; // 124 Physical Presence request operation response\r
UINT8 PPRequest; // 128 Physical Presence request operation\r
UINT8 LastPPRequest; // 129 Last Physical Presence request operation\r
// BDS Platform Functions\r
//\r
/**\r
- Platform Bds init. Incude the platform firmware vendor, revision\r
+ Platform Bds init. Include the platform firmware vendor, revision\r
and so crc check.\r
\r
@param VOID\r
}\r
\r
//\r
- // Try to connect this handle, so that GOP dirver could start on this\r
+ // Try to connect this handle, so that GOP driver could start on this\r
// device and create child handles with GraphicsOutput Protocol installed\r
// on them, then we get device paths of these child handles and select\r
// them as possible console device.\r
// In current implementation, we only enable one of the child handles\r
// as console device, i.e. sotre one of the child handle's device\r
// path to variable "ConOut"\r
- // In futhure, we could select all child handles to be console device\r
+ // In future, we could select all child handles to be console device\r
//\r
*GopDevicePath = TempDevicePath;\r
}\r
Connect the predefined platform default console device. Always try to find\r
and enable the vga device if have.\r
\r
- @param PlatformConsole Predfined platform default console device array.\r
+ @param PlatformConsole Predefined platform default console device array.\r
\r
@retval EFI_SUCCESS Success connect at least one ConIn and ConOut\r
device, there must have one ConOut device is\r
if (VarConout == NULL || VarConin == NULL) {\r
//\r
// Have chance to connect the platform default console,\r
- // the platform default console is the minimue device group\r
+ // the platform default console is the minimum device group\r
// the platform should support\r
//\r
while (PlatformConsole[Index].DevicePath != NULL) {\r
}\r
\r
/**\r
- Connect with predeined platform connect sequence,\r
+ Connect with predefined platform connect sequence,\r
the OEM/IBV can customize with their own connect sequence.\r
\r
@param None.\r
\r
/**\r
\r
- The function will excute with as the platform policy, current policy\r
+ The function will execute with as the platform policy, current policy\r
is driven by boot mode. IBV/OEM can customize this code for their specific\r
policy action.\r
\r
if (VarConout == NULL || VarConin == NULL) {\r
//\r
// Have chance to connect the platform default console,\r
- // the platform default console is the minimue device group\r
+ // the platform default console is the minimum device group\r
// the platform should support\r
//\r
while (PlatformConsole[Index].DevicePath != NULL) {\r
LIST_ENTRY ChildList;\r
\r
//\r
- // TURE if the PCI bus driver creates the handle for this PCI device\r
+ // TRUE if the PCI bus driver creates the handle for this PCI device\r
//\r
BOOLEAN Registered;\r
\r
\r
//\r
// Per PCI to PCI Bridge spec, I/O window is 4K aligned,\r
- // but some chipsets support non-stardard I/O window aligments less than 4K.\r
+ // but some chipsets support non-standard I/O window alignments less than 4K.\r
// This field is used to support this case.\r
//\r
UINT16 BridgeIoAlignment;\r
\r
@param _p Specified device.\r
\r
- @retval TRUE Device is a a GFX device.\r
- @retval FALSE Device is not a a GFX device.\r
+ @retval TRUE Device is a GFX device.\r
+ @retval FALSE Device is not a GFX device.\r
\r
**/\r
#define IS_PCI_GFX(_p) IS_CLASS2 (_p, PCI_CLASS_DISPLAY, PCI_CLASS_DISPLAY_OTHER)\r
\r
@param This Protocol instance pointer.\r
@param Controller Handle of device to test.\r
- @param RemainingDevicePath Optional parameter use to pick a specific child.\r
+ @param RemainingDevicePath Optional parameter use to pick a specific child\r
device to start.\r
\r
@retval EFI_SUCCESS This driver supports this device.\r
\r
@param This Protocol instance pointer.\r
@param Controller Handle of device to bind driver to.\r
- @param RemainingDevicePath Optional parameter use to pick a specific child.\r
+ @param RemainingDevicePath Optional parameter use to pick a specific child\r
device to start.\r
\r
@retval EFI_SUCCESS This driver is added to ControllerHandle.\r
);\r
\r
/**\r
- Stop this driver on ControllerHandle. Support stoping any child handles\r
+ Stop this driver on ControllerHandle. Support stopping any child handles\r
created by this driver.\r
\r
@param This Protocol instance pointer.\r
//\r
\r
/**\r
- The function will excute with as the platform policy, and gives\r
+ The function will execute with as the platform policy, and gives\r
the Platform Lid Status. IBV/OEM can customize this code for their specific\r
policy action.\r
\r
}\r
\r
/**\r
- The function will excute and gives the Video Bios Table Size and Address.\r
+ The function will execute and gives the Video Bios Table Size and Address.\r
\r
@param VbtAddress Gives the Physical Address of Video BIOS Table\r
\r
SystemConfiguration->ReservedO = OsSelectionHob->OsSelection;\r
\r
//\r
- // Load LPSS and SCC defalut configurations\r
+ // Load LPSS and SCC default configurations\r
//\r
OsSelectionHob->LpssData.LpsseMMCEnabled = FALSE;\r
OsSelectionHob->LpssData.LpssSdioEnabled = TRUE;\r
)\r
{\r
//\r
- // Load LPSS and SCC defalut configurations for Android\r
+ // Load LPSS and SCC default configurations for Android\r
//\r
Private->FakeNvData.LpsseMMCEnabled = FALSE;\r
Private->FakeNvData.LpssSdioEnabled = TRUE;\r
\r
\r
/**\r
- The driver Entry Point. The funciton will export a disk device class formset and\r
+ The driver Entry Point. The function will export a disk device class formset and\r
its callback function to hii database.\r
\r
@param ImageHandle The firmware allocated handle for the EFI image.\r