Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2722 → Rev 2723

/trunk/kernel/arch/ppc64/include/mm/frame.h
46,7 → 46,7
extern uintptr_t last_frame;
 
extern void frame_arch_init(void);
#define physmem_print()
extern void physmem_print(void);
 
#endif /* __ASM__ */
#endif /* KERNEL */
/trunk/kernel/arch/ppc64/include/mm/memory_init.h
37,8 → 37,6
 
size_t get_memory_size(void);
 
void memory_print_map(void);
 
#endif
 
/** @}
/trunk/kernel/arch/ppc64/src/mm/frame.c
38,9 → 38,23
#include <mm/frame.h>
#include <align.h>
#include <macros.h>
#include <print.h>
 
uintptr_t last_frame = 0;
 
void physmem_print(void)
{
unsigned int i;
printf("Base Size\n");
printf("---------- ----------\n");
for (i = 0; i < bootinfo.memmap.count; i++) {
printf("%#10x %#10x\n", bootinfo.memmap.zones[i].start,
bootinfo.memmap.zones[i].size);
}
}
 
void frame_arch_init(void)
{
pfn_t minconf = 2;
/trunk/kernel/arch/ppc64/src/mm/memory_init.c
43,13 → 43,5
}
 
 
void memory_print_map(void)
{
count_t i;
for (i = 0; i < bootinfo.memmap.count; i++)
printf("base: %#x size: %#x\n", bootinfo.memmap.zones[i].start, bootinfo.memmap.zones[i].size);
}
 
/** @}
*/
/trunk/kernel/arch/ppc64/src/ppc64.c
102,7 → 102,6
 
void arch_pre_smp_init(void)
{
memory_print_map();
}
 
void arch_post_smp_init(void)