repo.or.cz
/
qemu
/
qemu_0_9_1_stable.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
proll update: IDE HDD/CD support (Blue Swirl)
[qemu/qemu_0_9_1_stable.git]
/
pc-bios
/
linux_boot.S
blob
22fcd4be808a5386dee395549717c4e75c55fe54
1
/*
2
* QEMU Boot sector to launch a preloaded Linux kernel
3
* Copyright (c) 2004 Fabrice Bellard
4
*/
5
6
#define LOAD_SEG 0x9000
7
8
.code16
9
.text
10
.globl _start
11
12
_start:
13
cli
14
cld
15
mov $LOAD_SEG, %ax
16
mov %ax, %ds
17
mov %ax, %es
18
mov %ax, %fs
19
mov %ax, %gs
20
mov %ax, %ss
21
mov $0x8ffe, %sp
22
ljmp $LOAD_SEG + 0x20, $0
23
24
1:
25
.fill 510 - (1b - _start), 1, 0
26
27
/* boot sector signature */
28
.byte 0x55
29
.byte 0xaa