summaryrefslogtreecommitdiff
path: root/src/cpu/x86/16bit/reset16.lds
blob: 4c42c76b374156b95d1d8f6899a5b6d305eb7de5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 *      _ROMTOP                 : The top of the rom used where we
 *				  need to put the reset vector.
 */

SECTIONS {
	/* Trigger an error if I have an unuseable start address */
	_ROMTOP = (_start >= 0xffff0000) ? 0xfffffff0 : 0xffffffff8;
	. = _ROMTOP;
	.reset . : {
		*(.reset)
		. = 15 ;
		BYTE(0x00);
	} 
}