summaryrefslogtreecommitdiff
path: root/src/cpu/x86/16bit/reset16.lds
blob: d01f094b3c3b8a794fd0da1e403e198fb80132de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 *      _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);
	} 
}