mirror of https://github.com/acidanthera/audk.git
28eb51dd54
Because it's simpler for a platform to include the ResetVector source and having pre-built binaries add burdens of updating the pre-built binaries. This patch removes the pre-built binaries and the script that buids the pre-built binaries. Signed-off-by: Ray Ni <ray.ni@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com> Cc: Rahul Kumar <rahul1.kumar@intel.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com> |
||
---|---|---|
.. | ||
Ia16 | ||
Ia32 | ||
X64 | ||
CommonMacros.inc | ||
DebugDisabled.asm | ||
Main.asm | ||
PageTables.inc | ||
Port80Debug.asm | ||
PostCodes.inc | ||
ReadMe.txt | ||
ResetVector.uni | ||
ResetVectorExtra.uni | ||
SerialDebug.asm | ||
Vtf0.inf | ||
Vtf0.nasmb |
ReadMe.txt
=== HOW TO USE VTF0 === Add this line to your DSC [Components.IA32] or [Components.X64] section: UefiCpuPkg/ResetVector/Vtf0/ResetVector.inf Add this line to your FDF FV section: INF RuleOverride=RESET_VECTOR UefiCpuPkg/ResetVector/Vtf0/ResetVector.inf In your FDF FFS file rules sections add: [Rule.Common.SEC.RESET_VECTOR] FILE RAW = $(NAMED_GUID) { RAW BIN |.bin } === VTF0 Boot Flow === 1. Transition to IA32 flat mode 2. Locate BFV (Boot Firmware Volume) by checking every 4kb boundary 3. Locate SEC image 4. X64 VTF0 transitions to X64 mode 5. Call SEC image entry point == VTF0 SEC input parameters == All inputs to SEC image are register based: EAX/RAX - Initial value of the EAX register (BIST: Built-in Self Test) DI - 'BP': boot-strap processor, or 'AP': application processor EBP/RBP - Pointer to the start of the Boot Firmware Volume