1 ;------------------------------------------------------------------------------
3 ; Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>
4 ; SPDX-License-Identifier: BSD-2-Clause-Patent
12 ; Reset Vector Data structure
13 ; This structure is located at 0xFFFFFFC0
15 ;------------------------------------------------------------------------------
22 ; The layout of this file is fixed. The build tool makes assumption of the layout.
29 ReservedData: DD 0eeeeeeeeh, 0eeeeeeeeh
31 TIMES 0x10-($-$$) DB 0
33 ; This is located at 0xFFFFFFD0h
38 TIMES 0x20-($-$$) DB 0
40 ; Pointer to the entry point of the PEI core
41 ; It is located at 0xFFFFFFE0, and is fixed up by some build tool
42 ; So if the value 8..1 appears in the final FD image, tool failure occurs.
44 PeiCoreEntryPoint: DD 87654321h
47 ; This is the handler for all kinds of exceptions. Since it's for debugging
48 ; purpose only, nothing except a dead loop would be done here. Developers could
49 ; analyze the cause of the exception if a debugger had been attached.
51 global ASM_PFX(InterruptHandler)
52 ASM_PFX(InterruptHandler):
56 TIMES 0x30-($-$$) DB 0
58 ; For IA32, the reset vector must be at 0xFFFFFFF0, i.e., 4G-16 byte
59 ; Execution starts here upon power-on/platform-reset.
66 ; Jmp Rel16 instruction
67 ; Use machine code directly in case of the assembler optimization
68 ; SEC entry point relative address will be fixed up by some build tool.
70 ; Typically, SEC entry point is the function _ModuleEntryPoint() defined in
77 TIMES 0x38-($-$$) DB 0
79 ; Ap reset vector segment address is at 0xFFFFFFF8
80 ; This will be fixed up by some build tool,
81 ; so if the value 1..8 appears in the final FD image,
84 ApSegAddress: dd 12345678h
86 TIMES 0x3c-($-$$) DB 0
88 ; BFV Base is at 0xFFFFFFFC
89 ; This will be fixed up by some build tool,
90 ; so if the value 1..8 appears in the final FD image,
91 ; tool failure occurs.
96 ; Nothing can go here, otherwise the layout of this file would change.