/kernel/trunk/arch/ppc32/src/mm/frame.c |
---|
29,11 → 29,9 |
#include <arch/mm/frame.h> |
#include <arch/mm/memory_init.h> |
#include <mm/frame.h> |
#include <genarch/ofw/memory_init.h> |
void frame_arch_init(void) |
{ |
ofw_init_zones(); |
/* First is exception vector, second is 'implementation specific' */ |
frame_mark_unavailable(0, 2); |
} |
/kernel/trunk/arch/ppc32/src/mm/memory_init.c |
---|
27,15 → 27,9 |
*/ |
#include <arch/mm/memory_init.h> |
#include <genarch/ofw/memory_init.h> |
#include <typedefs.h> |
void preboot_read_config(void) |
{ |
ofw_init_memmap(); |
} |
size_t get_memory_size(void) |
{ |
return ofw_get_memory_size(); |
return 0; |
} |