From 6f3e28c639cebea5969939ff1f5407899fa1f113 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Fri, 14 Aug 2009 17:14:01 -0700 Subject: btrfs: beginning of btrfs support 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 --- core/adv.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/adv.inc') 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] -- cgit v1.2.1