diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2013-02-17 13:58:28 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2013-02-17 13:58:28 -0500 |
commit | c924344e18e9af9156b0caddcd669ab0961a99eb (patch) | |
tree | 7d1f666254032e1469bd16d60af9d0b578f66a0e /src/biosvar.h | |
parent | 89efc93cceddf71a8455d75356991eaa08508d48 (diff) | |
download | seabios-c924344e18e9af9156b0caddcd669ab0961a99eb.tar.gz |
Clarify build generated "zone low" values.
Rename datalow_base (and similar) to zonelow_base, and datalow_start
(and similar) to varlow_start. This helps distinguish between the
bounds for the runtime dynamic memory pool and the compile time global
variables.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/biosvar.h')
-rw-r--r-- | src/biosvar.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/biosvar.h b/src/biosvar.h index f0a0fd2e..520fc3ed 100644 --- a/src/biosvar.h +++ b/src/biosvar.h @@ -251,13 +251,13 @@ static inline u16 get_global_seg(void) { * "Low" memory variables ****************************************************************/ -extern u8 _datalow_seg, datalow_base[]; -#define SEG_LOW ((u32)&_datalow_seg) +extern u8 _zonelow_seg, zonelow_base[]; +#define SEG_LOW ((u32)&_zonelow_seg) #if MODESEGMENT #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) #define SET_LOW(var, val) SET_FARVAR(SEG_LOW, (var), (val)) -#define LOWFLAT2LOW(var) ((typeof(var))((void*)(var) - (u32)datalow_base)) +#define LOWFLAT2LOW(var) ((typeof(var))((void*)(var) - (u32)zonelow_base)) #else #define GET_LOW(var) (var) #define SET_LOW(var, val) do { (var) = (val); } while (0) |