1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#include <machine/asm.h>
ENTRY(start)
nop
/* space for mbr_dsn */
. = _C_LABEL(start) + 0x1b4
.long 0
/* mbr_bootsel_magic */
. = _C_LABEL(start) + 0x1b8
.word 0
/*
* MBR partition table
*/
. = _C_LABEL(start) + 0x1be
_pbr_part0:
.byte 0x80, 1, 1, 0, 0x27, 9, 8, 0
.byte 0x3f, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00
_pbr_part1:
.byte 0, 0, 0, 0, 0, 0, 0, 0
.byte 0, 0, 0, 0, 0, 0, 0, 0
_pbr_part2:
.byte 0, 0, 0, 0, 0, 0, 0, 0
.byte 0, 0, 0, 0, 0, 0, 0, 0
_pbr_part3:
.byte 0, 9, 9, 0, 0xa6, 15, 63, 7
.byte 0x3f, 0x02, 0x00, 0x00, 0x41, 0x1d, 0x00, 0x00
. = _C_LABEL(start) + 0x1fe
magic:
.word 0x55aa
mbr_end:
|