diff options
| author | Michael Brown | 2006-06-06 17:29:39 +0200 |
|---|---|---|
| committer | Michael Brown | 2006-06-06 17:29:39 +0200 |
| commit | 46253ba618ee008801fa2c57328a94fef40fd60d (patch) | |
| tree | ae8f6db4cb63a76d5dac6ac610978d08971d8623 /src | |
| parent | Use byte 6 for the checksum, rather than byte 5. (Byte 5 may be part of (diff) | |
| download | ipxe-46253ba618ee008801fa2c57328a94fef40fd60d.tar.gz ipxe-46253ba618ee008801fa2c57328a94fef40fd60d.tar.xz ipxe-46253ba618ee008801fa2c57328a94fef40fd60d.zip | |
Calculate _rom_size for the ROM prefix
Diffstat (limited to 'src')
| -rw-r--r-- | src/arch/i386/scripts/i386.lds | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/i386/scripts/i386.lds b/src/arch/i386/scripts/i386.lds index d43a68f72..4a984a956 100644 --- a/src/arch/i386/scripts/i386.lds +++ b/src/arch/i386/scripts/i386.lds @@ -236,4 +236,5 @@ SECTIONS { * Values calculated to save code from doing it */ _load_size_pgh = ( _load_size / 16 ); + _rom_size = ( ( _load_size + 511 ) / 512 ); } |
