summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/scripts/i386.lds
diff options
context:
space:
mode:
authorMichael Brown2010-04-19 21:32:25 +0200
committerMichael Brown2010-04-20 00:43:48 +0200
commit329686c0262001054db42f7b5d33677430980fed (patch)
treea05a80243bdded5e4f8aec97f6e39fc1fb375a65 /src/arch/i386/scripts/i386.lds
parent[build] Rename gPXE to iPXE (diff)
downloadipxe-329686c0262001054db42f7b5d33677430980fed.tar.gz
ipxe-329686c0262001054db42f7b5d33677430980fed.tar.xz
ipxe-329686c0262001054db42f7b5d33677430980fed.zip
[romprefix] Remove .xrom prefix
The .xrom prefix provides an experimental mechanism for loading ROM images greater than 64kB in size by mapping the expansion ROM BAR in at a hopefully-unused address. This is unreliable, and potentially dangerous. In particular, there is no guarantee that any PCI bridges between the CPU and the device will respond to accesses for the "unused" memory region that is chosen, and it is possible that the process of scanning for the "unused" memory region may end up issuing reads to other PCI devices. If this ends up trampling on a register with read side-effects belonging to an unrelated PCI device, this may cause undefined behaviour. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/i386/scripts/i386.lds')
-rw-r--r--src/arch/i386/scripts/i386.lds1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/arch/i386/scripts/i386.lds b/src/arch/i386/scripts/i386.lds
index 33c75f90..77e8c7e7 100644
--- a/src/arch/i386/scripts/i386.lds
+++ b/src/arch/i386/scripts/i386.lds
@@ -194,7 +194,6 @@ SECTIONS {
* Values calculated to save code from doing it
*
*/
- _prefix_filesz_sect = ( ( _prefix_filesz + 511 ) / 512 );
_prefix_memsz_pgh = ( ( _prefix_memsz + 15 ) / 16 );
_prefix_memsz_sect = ( ( _prefix_memsz + 511 ) / 512 );
_text16_memsz_pgh = ( ( _text16_memsz + 15 ) / 16 );