1 ; $Id: layout.inc,v 1.1 2004/12/28 06:05:14 hpa Exp $
2 ; -----------------------------------------------------------------------
4 ; Copyright 1994-2004 H. Peter Anvin - All Rights Reserved
6 ; This program is free software; you can redistribute it and/or modify
7 ; it under the terms of the GNU General Public License as published by
8 ; the Free Software Foundation, Inc., 53 Temple Place Ste 330,
9 ; Bostom MA 02111-1307, USA; either version 2 of the License, or
10 ; (at your option) any later version; incorporated herein by reference.
12 ; -----------------------------------------------------------------------
17 ; Memory layout of segments
21 ; Memory below 0800h is reserved for the BIOS and the MBR
24 ; PXELINUX needs lots of BSS, so it relocates itself on startup
36 ; The various sections and their relationship
40 ; NASM BUG: refers to hacks to handle NASM 0.98.38 bugs; might need
41 ; conditional compilation
43 section .earlybss nobits start=BSS_START
44 section .bcopy32 align=4 valign=16 follows=.data vfollows=.earlybss
45 ; NASM BUG: follows= here should be vfollows=
46 section .bss nobits align=256 follows=.bcopy32
48 section .text start=TEXT_START
49 ; NASM BUG: follows=.text not accepted here
50 section .data align=16 ; follows=.text
52 ; NASM BUG: We would like to do follows=.bcopy32
53 section .latebss nobits align=16 start=0E000h