From 329686c0262001054db42f7b5d33677430980fed Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 19 Apr 2010 20:32:25 +0100 Subject: [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 --- src/arch/i386/scripts/i386.lds | 1 - 1 file changed, 1 deletion(-) (limited to 'src/arch/i386/scripts/i386.lds') 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 ); -- cgit v1.2.3-55-g7522