Intel®PlatformInnovationFrameworkforEFIBootScriptSpecificationVersion0.91April1,2004BootScriptSpecificationiiSeptember2003Version0.9THISSPECIFICATIONISPROVIDEDASISWITHNOWARRANTIESWHATSOEVER,INCLUDINGANYWARRANTYOFMERCHANTABILITY,NONINFRINGEMENT,FITNESSFORANYPARTICULARPURPOSE,ORANYWARRANTYOTHERWISEARISINGOUTOFANYPROPOSAL,SPECIFICATIONORSAMPLE.Exceptforalimitedcopyrightlicensetocopythisspecificationforinternaluseonly,nolicense,expressorimplied,byestoppelorotherwise,toanyintellectualpropertyrightsisgrantedherein.Inteldisclaimsallliability,includingliabilityforinfringementofanyproprietaryrights,relatingtoimplementationofinformationinthisspecification.Inteldoesnotwarrantorrepresentthatsuchimplementation(s)willnotinfringesuchrights.Designersmustnotrelyontheabsenceorcharacteristicsofanyfeaturesorinstructionsmarkedreservedorundefined.Intelreservestheseforfuturedefinitionandshallhavenoresponsibilitywhatsoeverforconflictsorincompatibilitiesarisingfromfuturechangestothem.Thisdocumentisanintermediatedraftforcommentonlyandissubjecttochangewithoutnotice.Readersshouldnotdesignproductsbasedonthisdocument.Intel,theIntellogo,andItaniumaretrademarksorregisteredtrademarksofIntelCorporationoritssubsidiariesintheUnitedStatesandothercountries.*Othernamesandbrandsmaybeclaimedasthepropertyofothers.Copyright2001–2004,IntelCorporation.Intelordernumberxxxxxx-001Version0.9September2003iiiRevisionHistoryRevisionRevisionHistoryDate0.9Firstpublicrelease.9/16/030.91RemovedSMBustypedefinitionsfromEFI_BOOT_SCRIPT_SMBUS_EXECUTE_OPCODEandinsertedpointerstothedefinitionsintheSMBusPPISpecification.4/1/04BootScriptSpecificationivSeptember2003Version0.9Version0.9September2003vContents1Introduction.......................................................................................................7Overview...............................................................................................................................7Requirements........................................................................................................................7ConventionsUsedinThisDocument....................................................................................8DataStructureDescriptions..........................................................................................8ProtocolDescriptions....................................................................................................9ProcedureDescriptions................................................................................................9PPIDescriptions.........................................................................................................10Pseudo-CodeConventions.........................................................................................10TypographicConventions...........................................................................................112DesignDiscussion.........................................................................................13FrameworkBootScript........................................................................................................13BootScriptUsageModel.....................................................................................................14RoleofBootScriptinS3ResumeBootPath.......................................................................143CodeDefinitions.............................................................................................15Introduction.........................................................................................................................15BootScriptSaveProtocol....................................................................................................16EFI_BOOT_SCRIPT_SAVE_PROTOCOL..................................................................16EFI_BOOT_SCRIPT_SAVE_PROTOCOL.Write()......................................................17OpcodesforWrite()....................................................................................................20EFI_BOOT_SCRIPT_IO_WRITE_OPCODE................................................20EFI_BOOT_SCRIPT_IO_READ_WRITE_OPCODE....................................22EFI_BOOT_SCRIPT_MEM_WRITE_OPCODE............................................24EFI_BOOT_SCRIPT_MEM_READ_WRITE_OPCODE................................26EFI_BOOT_SCRIPT_PCI_CONFIG_WRITE_OPCODE..............................28EFI_BOOT_SCRIPT_PCI_CONFIG_READ_WRITE_OPCODE..................30EFI_BOOT_SCRIPT_SMBUS_EXECUTE_OPCODE..................................32EFI_BOOT_SCRIPT_STALL_OPCODE......................................................34EFI_BOOT_SCRIPT_DISPATCH_OPCODE...............................................35EFI_BOOT_SCRIPT_SAVE_PROTOCOL.CloseTable()............................................36BootScriptExecuter............................................................................................................37BootScriptExecuter........................................................................