2 * This file is part of the coreboot project.
4 * Copyright (C) 2006 Advanced Micro Devices, Inc.
5 * Copyright (C) 2008-2010 coresystems GmbH
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2 of the License.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 /* We use ELF as output format. So that we can debug the code in some form. */
22 OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
26 rom : ORIGIN = 0xffff0000, LENGTH = 64K
32 /* Symbol ap_sipi_vector must be aligned to 4kB to start AP CPUs
33 * with Startup IPI message without RAM.
40 /* This section might be better named .setup */
51 /* Allocation reserves extra 16 bytes here. Alignment requirements
52 * may cause the total size of a section to change when the start
53 * address gets applied.
55 ROMLOC_MIN = 0xffffff00 - (_erom - _rom + 16) - 4096;
57 /* Post-check proper SIPI vector. */
58 _bogus = ASSERT(((ap_sipi_vector & 0x0fff) == 0x0), "Bad SIPI vector alignment");
59 _bogus = ASSERT((ap_sipi_vector == CONFIG_AP_SIPI_VECTOR), "Address mismatch on AP_SIPI_VECTOR");