Changeset a7df23c in mainline for kernel/arch/ia32/src/mm/frame.c
- Timestamp:
- 2008-01-25T13:48:36Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 19077a5
- Parents:
- 4bb31f7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/mm/frame.c
r4bb31f7 ra7df23c 62 62 for (i = 0; i < e820counter; i++) { 63 63 if (e820table[i].type == MEMMAP_MEMORY_AVAILABLE) { 64 start = ADDR2PFN(ALIGN_UP(e820table[i].base_address, 65 FRAME_SIZE)); 66 size = SIZE2FRAMES(ALIGN_DOWN(e820table[i].size, 67 FRAME_SIZE)); 64 start = ADDR2PFN(ALIGN_UP(e820table[i].base_address, FRAME_SIZE)); 65 size = SIZE2FRAMES(ALIGN_DOWN(e820table[i].size, FRAME_SIZE)); 68 66 if ((minconf < start) || (minconf >= start + size)) 69 67 conf = start; … … 74 72 e820table[i].size, FRAME_SIZE)) 75 73 last_frame = 76 ALIGN_UP(e820table[i].base_address + 77 e820table[i].size, FRAME_SIZE); 74 ALIGN_UP(e820table[i].base_address + e820table[i].size, FRAME_SIZE); 78 75 } 79 76 } … … 88 85 }; 89 86 90 static char *e820names[] = { "invalid", "available", "reserved", "acpi", "nvs", 91 "unusable" }; 87 static char *e820names[] = { 88 "invalid", 89 "available", 90 "reserved", 91 "acpi", 92 "nvs", 93 "unusable" 94 }; 92 95 93 96
Note:
See TracChangeset
for help on using the changeset viewer.