Changeset f6297e0 in mainline for arch/ia32/src/mm/frame.c
- Timestamp:
- 2005-09-03T15:45:14Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ab08b42
- Parents:
- 2f08a55d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/mm/frame.c
r2f08a55d rf6297e0 31 31 #include <mm/vm.h> 32 32 #include <config.h> 33 #include <arch/boot/boot.h> 33 34 #include <arch/boot/memmap.h> 34 35 35 #include <print.h> 36 size_t hardcoded_unmapped_ktext_size = 0; 37 size_t hardcoded_unmapped_kdata_size = 0; 36 38 37 39 void frame_arch_init(void) … … 40 42 41 43 if (config.cpu_active == 1) { 44 /* Reserve the NULL frame */ 42 45 frame_not_free(0x0); 43 46 47 /* Reserve well-known memory regions */ 44 48 frame_region_not_free(0xa0000,0xff000); 45 49 frame_region_not_free(0xfec00000,0xffffffff); 46 50 47 /* This is a nasty hack, which should be fixed soon*/48 frame_region_not_free( 0x0, 0xfffff);51 /* Reserve real mode bootstrap memory */ 52 frame_region_not_free(BOOTSTRAP_OFFSET, BOOTSTRAP_OFFSET + hardcoded_unmapped_ktext_size + hardcoded_unmapped_kdata_size); 49 53 50 54 for (i=e820counter;i>0;i--) {
Note:
See TracChangeset
for help on using the changeset viewer.