summaryrefslogtreecommitdiff
path: root/core/macros.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/macros.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/macros.inc')
-rw-r--r--core/macros.inc19
1 files changed, 19 insertions, 0 deletions
diff --git a/core/macros.inc b/core/macros.inc
index e3aedca1..7063c1bf 100644
--- a/core/macros.inc
+++ b/core/macros.inc
@@ -44,6 +44,25 @@
%else
%define IS_EXTLINUX 0
%endif
+%ifdef IS_BTRLINUX
+ %define MY_NAME 'BTRLINUX'
+%else
+ %define IS_BTRLINUX 0
+%endif
+
+;
+; Common attributes
+;
+%if IS_PXELINUX
+ %define IS_HD_BASED 0
+ %define IS_DISK_BASED 0
+%elif IS_ISOLINUX
+ %define IS_HD_BASED 0
+ %define IS_DISK_BASED 1
+%else
+ %define IS_HD_BASED 1
+ %define IS_DISK_BASED 1
+%endif
;
; Macros similar to res[bwd], but which works in the code segment (after