]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm: Load kernel at 0x1000
authorPekka Enberg <penberg@cs.helsinki.fi>
Sat, 27 Mar 2010 18:23:35 +0000 (20:23 +0200)
committerPekka Enberg <penberg@cs.helsinki.fi>
Sat, 27 Mar 2010 18:26:44 +0000 (20:26 +0200)
commitc55b59d210dabb2d07e4c621d6e0c0f2560f25d3
treecd3c821854973839b605dafb79b6a081ccda506c
parentda443eab0d293e9cc569147d40e666193f532687
kvm: Load kernel at 0x1000

As described in Documentation/x86/boot.txt, memory starting at 0x1000 is
available for the boot loader.  As we don't have a separate boot loader, load
the kernel at the address.  Note: we're setting up the segment selector here so
0x0100:0x0000 in 16-bit real mode is 0x1000 in physical memory.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
tools/kvm/kvm.c