Rev 1813 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1813 | Rev 1821 | ||
---|---|---|---|
Line 37... | Line 37... | ||
37 | #include <arch/boot/boot.h> |
37 | #include <arch/boot/boot.h> |
38 | #include <print.h> |
38 | #include <print.h> |
39 | 39 | ||
40 | size_t get_memory_size(void) |
40 | size_t get_memory_size(void) |
41 | { |
41 | { |
42 | return start_info.nr_pages * PAGE_SIZE; |
42 | return start_info.frames * PAGE_SIZE; |
43 | } |
43 | } |
44 | 44 | ||
45 | void memory_print_map(void) |
45 | void memory_print_map(void) |
46 | { |
46 | { |
47 | } |
47 | } |