]>
Commit | Line | Data |
---|---|---|
3449f56d JJ |
1 | ;------------------------------------------------------------------------------\r |
2 | ; @file\r | |
3 | ; First code exectuted by processor after resetting.\r | |
4 | ;\r | |
5 | ; Copyright (c) 2008 - 2013, Intel Corporation. All rights reserved.<BR>\r | |
6 | ; This program and the accompanying materials\r | |
7 | ; are licensed and made available under the terms and conditions of the BSD License\r | |
8 | ; which accompanies this distribution. The full text of the license may be found at\r | |
9 | ; http://opensource.org/licenses/bsd-license.php\r | |
10 | ;\r | |
11 | ; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | ; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | ;\r | |
14 | ;------------------------------------------------------------------------------\r | |
15 | \r | |
16 | BITS 16\r | |
17 | \r | |
18 | ALIGN 16 ; 0xffffffd0\r | |
19 | \r | |
20 | applicationProcessorEntryPoint:\r | |
21 | ;\r | |
22 | ; Application Processors entry point\r | |
23 | ;\r | |
24 | ; GenFv generates code aligned on a 4k boundary which will jump to this\r | |
25 | ; location. (0xffffffd0) This allows the Local APIC Startup IPI to be\r | |
26 | ; used to wake up the application processors.\r | |
27 | ;\r | |
28 | jmp short resetVector\r | |
29 | \r | |
30 | ALIGN 16 ; 0xffffffe0\r | |
31 | \r | |
32 | peiCoreEntryPoint:\r | |
33 | ;\r | |
34 | ; PEI Core entry point\r | |
35 | ;\r | |
36 | ; GenFv fills the address of the PEI Core into this location\r | |
37 | ;\r | |
38 | DD 0x12345678\r | |
39 | \r | |
40 | ALIGN 16 ; 0xfffffff0\r | |
41 | \r | |
42 | resetVector:\r | |
43 | ;\r | |
44 | ; Reset Vector\r | |
45 | ;\r | |
46 | ; This is where the processor will begin execution\r | |
47 | ;\r | |
48 | nop\r | |
49 | nop\r | |
50 | jmp near $\r | |
51 | \r | |
52 | ALIGN 8\r | |
53 | \r | |
54 | ApStartupSegment:\r | |
55 | DD 0x12345678\r | |
56 | \r | |
57 | BootFvBaseAddress:\r | |
58 | DD 0x12345678\r | |
59 | \r | |
60 | ALIGN 16 ; 0x100000000\r |