summaryrefslogtreecommitdiff
path: root/core/comboot.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/comboot.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/comboot.inc')
-rw-r--r--core/comboot.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/comboot.inc b/core/comboot.inc
index fb0f57f7..c99068df 100644
--- a/core/comboot.inc
+++ b/core/comboot.inc
@@ -591,7 +591,7 @@ comapi_derinfo:
mov P_DL,al
mov P_FS,cs
mov P_SI,OrigESDI
-%if IS_SYSLINUX || IS_EXTLINUX
+%if IS_HD_BASED
mov P_ES,cs
mov P_BX,PartInfo
%elif IS_ISOLINUX
@@ -637,7 +637,7 @@ comapi_cleanup:
sub bp,sp ; unload_pxe may move the stack around
call unload_pxe
add bp,sp ; restore frame pointer...
-%elif IS_SYSLINUX || IS_EXTLINUX
+%elif IS_HD_BASED
; Restore original FDC table
mov eax,[OrigFDCTabPtr]
mov [fdctab],eax
@@ -831,7 +831,7 @@ comapi_userfont:
;
; INT 22h AX=0019h Read disk
;
-%if IS_SYSLINUX || IS_ISOLINUX || IS_EXTLINUX
+%if IS_DISK_BASED
comapi_readdisk:
mov esi,P_ESI ; Enforce ESI == EDI == 0, these
or esi,P_EDI ; are reserved for future expansion