These changes are the raw update to qemu-2.6.
[kvmfornfv.git] / qemu / roms / ipxe / src / arch / i386 / prefix / usbdisk.S
1 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )
2
3         .text
4         .arch i386
5         .section ".prefix", "awx", @progbits
6         .code16
7         .org 0
8
9 #include "mbr.S"
10
11 /* Partition table: 64 heads, 32 sectors/track (ZIP-drive compatible) */
12         .org 446
13         .space 16
14         .space 16
15         /* Partition 3: log partition (for CONSOLE_INT13) */
16         .byte 0x00, 0x01, 0x01, 0x00
17         .byte 0xe0, 0x3f, 0x20, 0x00
18         .long 0x00000020
19         .long 0x000007e0
20         /* Partition 4: boot partition */
21         .byte 0x80, 0x00, 0x01, 0x01
22         .byte 0xeb, 0x3f, 0x20, 0x02
23         .long 0x00000800
24         .long 0x00001000
25
26         .org 510
27         .byte 0x55, 0xaa
28
29 /* Skip to start of log partition */
30         .org 32 * 512
31         .ascii "iPXE LOG\n\n"
32
33 /* Skip to start of boot partition */
34         .org 2048 * 512