summaryrefslogtreecommitdiffstats
path: root/arch/x86/boot/rm_seg.inc
blob: f6d475008739586611a338f0fa83dccba8079ed0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
	Real mode segment constants.

	NOTE: Header file only for assembler
*/

# Addresses of RAM:
.set BOOTSEG, 0x07c0			# Address of boot sector
.set SDATASEG, 0x9000			# System data 
.set SETUPLEN, 2				# Number of setup sectors
.set SETUPSEG, 0x9020			# Setup address
.set KERNSEG, 0x0100			# Historical load address
.set KERNSIZE, 0x1000			# Kernel size, interpret as a segment
.set KERNADDR, KERNSEG * 0x10