]> git.proxmox.com Git - mirror_edk2.git/blob - UefiCpuPkg/ResetVector/FixupVtf/Vtf.nasmb
UefiCpuPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / UefiCpuPkg / ResetVector / FixupVtf / Vtf.nasmb
1 ;------------------------------------------------------------------------------
2 ; @file
3 ; First code exectuted by processor after resetting.
4 ;
5 ; Copyright (c) 2008 - 2013, Intel Corporation. All rights reserved.<BR>
6 ; SPDX-License-Identifier: BSD-2-Clause-Patent
7 ;
8 ;------------------------------------------------------------------------------
9
10 BITS 16
11
12 ALIGN 16 ; 0xffffffd0
13
14 applicationProcessorEntryPoint:
15 ;
16 ; Application Processors entry point
17 ;
18 ; GenFv generates code aligned on a 4k boundary which will jump to this
19 ; location. (0xffffffd0) This allows the Local APIC Startup IPI to be
20 ; used to wake up the application processors.
21 ;
22 jmp short resetVector
23
24 ALIGN 16 ; 0xffffffe0
25
26 peiCoreEntryPoint:
27 ;
28 ; PEI Core entry point
29 ;
30 ; GenFv fills the address of the PEI Core into this location
31 ;
32 DD 0x12345678
33
34 ALIGN 16 ; 0xfffffff0
35
36 resetVector:
37 ;
38 ; Reset Vector
39 ;
40 ; This is where the processor will begin execution
41 ;
42 nop
43 nop
44 jmp near $
45
46 ALIGN 8
47
48 ApStartupSegment:
49 DD 0x12345678
50
51 BootFvBaseAddress:
52 DD 0x12345678
53
54 ALIGN 16 ; 0x100000000