Home | History | Annotate | Download | only in PiDxeS3BootScriptLib

Lines Matching refs:Script

2   Interpret and execute the S3 data in S3 boot script.

127 Translates boot script width and address stride to MDE library interface.
379 Interprete the boot script node with EFI_BOOT_SCRIPT_IO_WRITE OP code.
381 @param Script Pointer to the node which is to be interpreted.
392 IN UINT8 *Script
401 CopyMem ((VOID*)&IoWrite, (VOID*)Script, sizeof(EFI_BOOT_SCRIPT_IO_WRITE));
405 Buffer = Script + sizeof (EFI_BOOT_SCRIPT_IO_WRITE);
608 Interprete the boot script node with EFI_BOOT_SCRIPT_MEM_WRITE OP code.
610 @param[in] Script Pointer to the node which is to be interpreted.
622 IN UINT8 *Script
631 CopyMem((VOID*)&MemWrite, (VOID*)Script, sizeof(EFI_BOOT_SCRIPT_MEM_WRITE));
635 Buffer = Script + sizeof(EFI_BOOT_SCRIPT_MEM_WRITE);
869 Interprete the boot script node with EFI_BOOT_SCRIPT_PCI_CONFIG_WRITE OP code.
871 @param Script The pointer of typed node in boot script table
877 IN UINT8 *Script
886 CopyMem ((VOID*)&PciCfgWrite, (VOID*)Script, sizeof(EFI_BOOT_SCRIPT_PCI_CONFIG_WRITE));
891 Buffer = Script + sizeof(EFI_BOOT_SCRIPT_PCI_CONFIG_WRITE);
897 Interprete the boot script node with EFI_BOOT_SCRIPT_IO_READ_WRITE OP code.
899 @param Script The pointer of typed node in boot script table
907 IN UINT8 *Script,
919 CopyMem((VOID*)&IoReadWrite, (VOID*)Script, sizeof(EFI_BOOT_SCRIPT_IO_READ_WRITE));
941 Interprete the boot script node with EFI_BOOT_SCRIPT_MEM_READ_WRITE OP code.
943 @param Script The pointer of typed node in boot script table
951 IN UINT8 *Script,
963 CopyMem((VOID*)&MemReadWrite, (VOID*)Script, sizeof(EFI_BOOT_SCRIPT_MEM_READ_WRITE));
985 Interprete the boot script node with EFI_BOOT_SCRIPT_PCI_CFG_READ_WRITE OP code.
987 @param Script The pointer of typed node in boot script table
995 IN UINT8 *Script,
1007 CopyMem((VOID*)&PciCfgReadWrite, (VOID*)Script, sizeof(EFI_BOOT_SCRIPT_PCI_CONFIG_READ_WRITE));
1033 Interprete the boot script node with EFI_BOOT_SCRIPT_SMBUS_EXECUTE OP code.
1035 @param Script The pointer of typed node in boot script table
1038 @retval EFI_UNSUPPORTED Cannot locate smbus ppi or occur error of script execution
1039 @retval Others Result of script execution
1043 IN UINT8 *Script
1050 CopyMem ((VOID*)&SmbusExecuteEntry, (VOID*)Script, sizeof(EFI_BOOT_SCRIPT_SMBUS_EXECUTE ));
1060 Script + sizeof (EFI_BOOT_SCRIPT_SMBUS_EXECUTE)
1064 Interprete the boot script node with EFI_BOOT_SCRIPT_STALL OP code.
1066 @param Script The pointer of typed node in boot script table
1072 IN UINT8 *Script
1077 CopyMem ((VOID*)&Stall, (VOID*)Script, sizeof(EFI_BOOT_SCRIPT_STALL));
1085 Interprete the boot script node with EFI_BOOT_SCRIPT_DISPATCH OP code.
1087 @param Script The pointer of typed node in boot script table
1092 IN UINT8 *Script
1099 CopyMem ((VOID*)&ScriptDispatch, (VOID*)Script, sizeof(EFI_BOOT_SCRIPT_DISPATCH));
1109 Interprete the boot script node with EFI_BOOT_SCRIPT_DISPATCH_2 OP code.
1111 @param Script The pointer of typed node in boot script table
1116 IN UINT8 *Script
1123 CopyMem ((VOID*)&ScriptDispatch2, (VOID*)Script, sizeof(EFI_BOOT_SCRIPT_DISPATCH_2));
1134 Interprete the boot script node with EFI_BOOT_SCRIPT_MEM_POLL OP code.
1136 @param Script The pointer of typed node in boot script table
1146 IN UINT8 *Script,
1157 CopyMem ((VOID*)&MemPoll, (VOID*)Script, sizeof(EFI_BOOT_SCRIPT_MEM_POLL));
1194 Execute the boot script to interpret the Store arbitrary information.
1195 This opcode is a no-op on dispatch and is only used for debugging script issues.
1197 @param Script The pointer of node in boot script table
1202 IN UINT8 *Script
1210 CopyMem ((VOID*)&Information, (VOID*)Script, sizeof(EFI_BOOT_SCRIPT_INFORMATION));
1212 InformationData = Script + sizeof (EFI_BOOT_SCRIPT_INFORMATION);
1223 Execute the boot script to interpret the Label information.
1225 @param Script The pointer of node in boot script table
1230 IN UINT8 *Script
1238 CopyMem ((VOID*)&Information, (VOID*)Script, sizeof(EFI_BOOT_SCRIPT_INFORMATION));
1240 InformationData = Script + sizeof (EFI_BOOT_SCRIPT_INFORMATION);
1252 @param ScriptHeader The pointer of header of node in boot script table
1255 @param Script Pointer to the entry.
1263 IN UINT8 *Script
1305 DataPtr = Script + Size;
1335 Interprete the boot script node with EFI_BOOT_SCRIPT_IO_POLL OP code.
1337 @param Script The pointer of typed node in boot script table
1347 IN UINT8 *Script,
1357 CopyMem ((VOID*)&IoPoll, (VOID*)Script, sizeof(EFI_BOOT_SCRIPT_IO_POLL));
1392 Interprete the boot script node with EFI_BOOT_SCRIPT_PCI_CONFIG2_WRITE OP code.
1394 @param Script The pointer of S3 boot script
1401 IN UINT8 *Script
1411 CopyMem ((VOID*)&PciCfg2Write, (VOID*)Script, sizeof(EFI_BOOT_SCRIPT_PCI_CONFIG2_WRITE));
1417 Buffer = Script + sizeof(EFI_BOOT_SCRIPT_PCI_CONFIG2_WRITE);
1425 Interprete the boot script node with EFI_BOOT_SCRIPT_PCI_CONFIG2_READ_WRITE OP code.
1427 @param Script The pointer of S3 boot script
1436 IN UINT8 *Script,
1447 CopyMem ((VOID*)&PciCfg2ReadWrite, (VOID*)Script, sizeof(EFI_BOOT_SCRIPT_PCI_CONFIG2_READ_WRITE));
1473 Interprete the boot script node with EFI_BOOT_SCRIPT_PCI_CONFIG_POLL OP code.
1475 @param Script The pointer of S3 boot script
1485 IN UINT8 *Script,
1494 CopyMem ((VOID*)&PciCfgPoll, (VOID*)Script, sizeof(EFI_BOOT_SCRIPT_PCI_CONFIG_POLL));
1532 Interprete the boot script node with EFI_BOOT_SCRIPT_PCI_CONFIG2_POLL OP code.
1534 @param Script The pointer of S3 Boot Script
1545 IN UINT8 *Script,
1556 CopyMem ((VOID*)&PciCfg2Poll, (VOID*)Script, sizeof(EFI_BOOT_SCRIPT_PCI_CONFIG2_POLL));
1596 Executes the S3 boot script table.
1598 @retval RETURN_SUCCESS The boot script table was executed successfully.
1599 @retval RETURN_UNSUPPORTED Invalid script table or opcode.
1609 UINT8* Script;
1616 Script = mS3BootScriptTablePtr->TableBase;
1617 if (Script != 0) {
1618 CopyMem ((VOID*)&TableHeader, Script, sizeof(EFI_BOOT_SCRIPT_TABLE_HEADER));
1628 DEBUG ((EFI_D_INFO, "TableHeader - 0x%08x\n", Script));
1630 StartAddress = (UINTN) Script;
1632 Script = Script + TableHeader.Length;
1640 while ((UINTN) Script < (UINTN) (StartAddress + TableLength)) {
1641 DEBUG ((EFI_D_INFO, "ExecuteBootScript - %08x\n", (UINTN)Script));
1643 CopyMem ((VOID*)&ScriptHeader, Script, sizeof(EFI_BOOT_SCRIPT_COMMON_HEADER));
1648 Status = BootScriptExecuteMemoryWrite (Script);
1653 CheckAndOrMask (&ScriptHeader, &AndMask, &OrMask, Script);
1655 Script,
1663 Status = BootScriptExecuteIoWrite (Script);
1668 Status = BootScriptExecutePciCfgWrite (Script);
1673 CheckAndOrMask (&ScriptHeader, &AndMask, &OrMask, Script);
1675 Script,
1682 Status = BootScriptExecutePciCfg2Write (Script);
1687 CheckAndOrMask (&ScriptHeader, &AndMask, &OrMask, Script);
1689 Script,
1696 Status = BootScriptExecuteDispatch (Script);
1701 Status = BootScriptExecuteDispatch2 (Script);
1706 BootScriptExecuteInformation (Script);
1716 CheckAndOrMask (&ScriptHeader, &AndMask, &OrMask, Script);
1718 Script,
1726 Status = BootScriptExecuteSmbusExecute (Script);
1731 Status = BootScriptExecuteStall (Script);
1736 CheckAndOrMask (&ScriptHeader, &AndMask, &OrMask, Script);
1737 Status = BootScriptExecuteMemPoll (Script, AndMask, OrMask);
1743 CheckAndOrMask (&ScriptHeader, &AndMask, &OrMask, Script);
1744 Status = BootScriptExecuteIoPoll (Script, AndMask, OrMask);
1749 CheckAndOrMask (&ScriptHeader, &AndMask, &OrMask, Script);
1750 Status = BootScriptPciCfgPoll (Script, AndMask, OrMask);
1755 CheckAndOrMask (&ScriptHeader, &AndMask, &OrMask, Script);
1756 Status = BootScriptPciCfg2Poll (Script, AndMask, OrMask);
1764 BootScriptExecuteLabel (Script);
1776 Script = Script + ScriptHeader.Length;