summaryrefslogtreecommitdiff
path: root/core/adv.inc
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-08-14 17:14:01 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-08-14 17:18:48 -0700
commit6f3e28c639cebea5969939ff1f5407899fa1f113 (patch)
tree8b8486038148eab6b9c1ac0b8a9482c56e8d0b57 /core/adv.inc
parent8abec8d70f99c890beb281ec3f2669990345bcf1 (diff)
downloadsyslinux-btrfs.tar.gz
btrfs: beginning of btrfs supportbtrfs
Infrastructure for btrfs, plus an import of the btrfs code written for Grub 0.97. It does not yet compile and will need significant changes still. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/adv.inc')
-rw-r--r--core/adv.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/adv.inc b/core/adv.inc
index 2dc16339..e141eab9 100644
--- a/core/adv.inc
+++ b/core/adv.inc
@@ -67,7 +67,7 @@ adv_init:
cmp byte [ADVDrive],-1
jne adv_read
-%if IS_SYSLINUX || IS_EXTLINUX
+%if IS_HD_BASED
cmp word [ADVSectors],2 ; Not present?
jb adv_verify
@@ -430,7 +430,7 @@ adv_read_write:
.noparm:
; No CHS info... this better be our boot drive, then
-%if IS_SYSLINUX || IS_EXTLINUX
+%if IS_HD_BASED
cmp dl,[DriveNumber]
jne .cb_overflow ; Fatal error!
movzx esi,word [bsSecPerTrack]