MEMDISK: get rid of the WITH_EDD variable
authorH. Peter Anvin <hpa@zytor.com>
Mon, 9 Mar 2009 05:54:05 +0000 (22:54 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 9 Mar 2009 05:54:05 +0000 (22:54 -0700)
With the creation of wrapper assembly scripts, there is no reason for
the indirection of WITH_EDD -> EDD; we can just set the EDD variable
directly.

memdisk/memdisk.inc
memdisk/memdisk_chs.asm
memdisk/memdisk_edd.asm

index 2b5b4e0..8fa7dc0 100644 (file)
@@ -6,7 +6,7 @@
 ;  A program to emulate an INT 13h disk BIOS from a "disk" in extended
 ;  memory.
 ;
-;   Copyright 2001-2008 H. Peter Anvin - All Rights Reserved
+;   Copyright 2001-2009 H. Peter Anvin - All Rights Reserved
 ;
 ;  This program is free software; you can redistribute it and/or modify
 ;  it under the terms of the GNU General Public License as published by
 
 ; %define DEBUG_TRACERS                        ; Uncomment to get debugging tracers
 
-%ifdef WITH_EDD
-%define EDD 1
-%else
-%define EDD 0
-%endif
-
 %ifdef DEBUG_TRACERS
 
 %macro TRACER  1
index daa5c0a..4b06a85 100644 (file)
@@ -1 +1,2 @@
+%define EDD 0
 %include "memdisk.inc"
index 97d3fe9..d2e7b1c 100644 (file)
@@ -1,2 +1,2 @@
-%define WITH_EDD
+%define EDD 1
 %include "memdisk.inc"