1 ;------------------------------------------------------------------------------
3 ; Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>
4 ; This program and the accompanying materials
5 ; are licensed and made available under the terms and conditions of the BSD License
6 ; which accompanies this distribution. The full text of the license may be found at
7 ; http://opensource.org/licenses/bsd-license.php.
9 ; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 ; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 ; Reset Vector Data structure
19 ; This structure is located at 0xFFFFFFC0
21 ;------------------------------------------------------------------------------
28 ; The layout of this file is fixed. The build tool makes assumption of the layout.
35 ReservedData: DD 0eeeeeeeeh, 0eeeeeeeeh
37 TIMES 0x10-($-$$) DB 0
39 ; This is located at 0xFFFFFFD0h
44 TIMES 0x20-($-$$) DB 0
46 ; Pointer to the entry point of the PEI core
47 ; It is located at 0xFFFFFFE0, and is fixed up by some build tool
48 ; So if the value 8..1 appears in the final FD image, tool failure occurs.
50 PeiCoreEntryPoint: DD 87654321h
53 ; This is the handler for all kinds of exceptions. Since it's for debugging
54 ; purpose only, nothing except a dead loop would be done here. Developers could
55 ; analyze the cause of the exception if a debugger had been attached.
57 global ASM_PFX(InterruptHandler)
58 ASM_PFX(InterruptHandler):
62 TIMES 0x30-($-$$) DB 0
64 ; For IA32, the reset vector must be at 0xFFFFFFF0, i.e., 4G-16 byte
65 ; Execution starts here upon power-on/platform-reset.
72 ; Jmp Rel16 instruction
73 ; Use machine code directly in case of the assembler optimization
74 ; SEC entry point relative address will be fixed up by some build tool.
76 ; Typically, SEC entry point is the function _ModuleEntryPoint() defined in
83 TIMES 0x38-($-$$) DB 0
85 ; Ap reset vector segment address is at 0xFFFFFFF8
86 ; This will be fixed up by some build tool,
87 ; so if the value 1..8 appears in the final FD image,
90 ApSegAddress: dd 12345678h
92 TIMES 0x3c-($-$$) DB 0
94 ; BFV Base is at 0xFFFFFFFC
95 ; This will be fixed up by some build tool,
96 ; so if the value 1..8 appears in the final FD image,
97 ; tool failure occurs.
102 ; Nothing can go here, otherwise the layout of this file would change.