diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2009-09-24 20:51:55 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2009-09-24 20:51:55 -0400 |
commit | f416fe97ae885e97a4c9678813a6005aa83fb4b6 (patch) | |
tree | 1f2ff3388802e8329cf30e9ba0f9c05e3ec94972 /src/biosvar.h | |
parent | 34ec7b0a5ab55399653cfef4e50570bda2b9ffb2 (diff) | |
download | seabios-f416fe97ae885e97a4c9678813a6005aa83fb4b6.tar.gz |
Add support for permanent low memory allocations.
Support pmm style permanent low-memory allocations.
When used, relocate ebda and store permanent memory at top of 640K.
Diffstat (limited to 'src/biosvar.h')
-rw-r--r-- | src/biosvar.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/biosvar.h b/src/biosvar.h index 9ed02a33..983d28fb 100644 --- a/src/biosvar.h +++ b/src/biosvar.h @@ -228,9 +228,7 @@ struct extended_bios_data_area_s { #define EBDA_SIZE_START \ DIV_ROUND_UP(sizeof(struct extended_bios_data_area_s), 1024) #define EBDA_SEGMENT_START \ - FLATPTR_TO_SEG((640 - EBDA_SIZE_START) * 1024) -#define EBDA_SEGMENT_MINIMUM \ - FLATPTR_TO_SEG((640 - 256) * 1024) + FLATPTR_TO_SEG(BUILD_LOWRAM_END - EBDA_SIZE_START*1024) // Accessor functions static inline u16 get_ebda_seg() { |