diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-07-11 15:31:04 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-07-11 15:31:04 -0700 |
commit | 435fa5c5f510616d9490b2c4585d4212ad2edc3a (patch) | |
tree | 84f2813c090b7763a36f4a8ff249bd6c0707287b /mbr/mbr.S | |
parent | 879ae26f225f4d16ff75f7f380f14f12e95051f6 (diff) | |
download | syslinux-435fa5c5f510616d9490b2c4585d4212ad2edc3a.tar.gz syslinux-435fa5c5f510616d9490b2c4585d4212ad2edc3a.tar.xz syslinux-435fa5c5f510616d9490b2c4585d4212ad2edc3a.zip |
Shave another byte off the MBR
Diffstat (limited to 'mbr/mbr.S')
-rw-r--r-- | mbr/mbr.S | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -77,8 +77,8 @@ next: jc 1f cmpw $0xaa55, %bx jne 1f - testb $0x01, %cl - jz 1f + shrw %cx /* Bit 0 = fixed disk subset */ + jnc 1f /* We have EBIOS; patch in a jump to read_sector_ebios */ movw $0xeb+((read_sector_ebios-read_sector_cbios-2)<< 8), (read_sector_cbios) @@ -288,7 +288,9 @@ too_many_active_msg: .ascii "Multiple active partitions." .byte 0 +#ifndef NO_ALIGN .balign 4 +#endif dapa: .short 16 /* Size of packet */ .short 1 /* Sector count */ |