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