• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

Bin/22-Nov-2023-7762

Ia16/22-Nov-2023-255202

Ia32/22-Nov-2023-365298

Tools/22-Nov-2023-2710

X64/22-Nov-2023-7963

Build.pyD22-Nov-20231.6 KiB5433

CommonMacros.incD22-Nov-20231.1 KiB3225

DebugDisabled.asmD22-Nov-2023836 2722

Main.asmD22-Nov-20232.5 KiB10784

Port80Debug.asmD22-Nov-2023894 2924

PostCodes.incD22-Nov-20231,000 2621

ReadMe.txtD22-Nov-20231.2 KiB4230

ResetVector.uniD22-Nov-2023726 2217

ResetVectorExtra.uniD22-Nov-2023654 1814

SerialDebug.asmD22-Nov-20233.5 KiB133110

Vtf0.infD22-Nov-20231.1 KiB3731

Vtf0.nasmbD22-Nov-20231.8 KiB7158

ReadMe.txt

1
2=== HOW TO USE VTF0 ===
3
4Add this line to your FDF FV section:
5INF  RuleOverride=RESET_VECTOR USE = IA32 UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf
6(For X64 SEC/PEI change IA32 to X64 => 'USE = X64')
7
8In your FDF FFS file rules sections add:
9[Rule.Common.SEC.RESET_VECTOR]
10  FILE RAW = $(NAMED_GUID) {
11    RAW RAW                |.raw
12  }
13
14=== VTF0 Boot Flow ===
15
161. Transition to IA32 flat mode
172. Locate BFV (Boot Firmware Volume) by checking every 4kb boundary
183. Locate SEC image
194. X64 VTF0 transitions to X64 mode
205. Call SEC image entry point
21
22== VTF0 SEC input parameters ==
23
24All inputs to SEC image are register based:
25EAX/RAX - Initial value of the EAX register (BIST: Built-in Self Test)
26DI      - 'BP': boot-strap processor, or 'AP': application processor
27EBP/RBP - Pointer to the start of the Boot Firmware Volume
28
29=== HOW TO BUILD VTF0 ===
30
31Dependencies:
32* Python 2.5~2.7
33* Nasm 2.03 or newer
34
35To rebuild the VTF0 binaries:
361. Change to VTF0 source dir: UefiCpuPkg/ResetVector/Vtf0
372. nasm and python should be in executable path
383. Run this command:
39   python Build.py
404. Binaries output will be in UefiCpuPkg/ResetVector/Vtf0/Bin
41
42