diff options
author | H. Peter Anvin <hpa@zytor.com> | 2010-02-26 13:18:26 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-02-26 13:18:26 -0800 |
commit | 3e89b30bfa7b90d785d8f97ea5638a7b63e12c94 (patch) | |
tree | 8a2a2a1395f1d45b4b948bbbe217237af636d460 /core/isolinux.asm | |
parent | 1a59dd9ed50ac9b853cbcbf005be6759dcd7f066 (diff) | |
download | syslinux-3e89b30bfa7b90d785d8f97ea5638a7b63e12c94.tar.gz |
iso9660: use boot_info_table and fix hybrid mode
In hybrid disk mode, one block will generally *not* equal one sector.
Use the boot_info_table to find the primary volume descriptor.
Remove the now-unused cdrom_read_blocks().
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/isolinux.asm')
-rw-r--r-- | core/isolinux.asm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/isolinux.asm b/core/isolinux.asm index 078f7ca7..7329f145 100644 --- a/core/isolinux.asm +++ b/core/isolinux.asm @@ -200,6 +200,8 @@ _start: ; Far jump makes sure we canonicalize the address ; -boot-info-table option. If not, the values in this ; table are default values that we can use to get us what ; we need, at least under a certain set of assumptions. + global iso_boot_info +iso_boot_info: bi_pvd: dd 16 ; LBA of primary volume descriptor bi_file: dd 0 ; LBA of boot file bi_length: dd 0xdeadbeef ; Length of boot file |