Rev 2723 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2723 | Rev 2725 | ||
|---|---|---|---|
| Line 31... | Line 31... | ||
| 31 | */ |
31 | */ |
| 32 | /** @file |
32 | /** @file |
| 33 | */ |
33 | */ |
| 34 | 34 | ||
| 35 | #include <arch/boot/memmap.h> |
35 | #include <arch/boot/memmap.h> |
| 36 | #include <arch/mm/memory_init.h> |
- | |
| 37 | #include <arch/mm/page.h> |
- | |
| 38 | #include <print.h> |
- | |
| 39 | 36 | ||
| 40 | uint8_t e820counter = 0xff; |
37 | uint8_t e820counter = 0xff; |
| 41 | e820memmap_t e820table[MEMMAP_E820_MAX_RECORDS]; |
38 | e820memmap_t e820table[MEMMAP_E820_MAX_RECORDS]; |
| 42 | uint32_t e801memorysize; |
- | |
| 43 | - | ||
| 44 | size_t get_memory_size(void) |
- | |
| 45 | { |
- | |
| 46 | return e801memorysize * 1024; |
- | |
| 47 | } |
- | |
| 48 | 39 | ||
| 49 | /** @} |
40 | /** @} |
| 50 | */ |
41 | */ |