/kernel/trunk/arch/sparc64/src/sparc64.c/sparc64.c |
---|
27,6 → 27,10 |
*/ |
#include <arch.h> |
#include <print.h> |
#include <arch/asm.h> |
#include <memstr.h> |
#include <arch/trap_table.h> |
void arch_pre_mm_init(void) |
{ |
38,6 → 42,14 |
void arch_pre_smp_init(void) |
{ |
/* |
* Copy OFW's trap table into kernel and point TBA there. |
*/ |
memcpy((void *) trap_table, (void *) tba_read(), TRAP_TABLE_SIZE); |
/* |
* TBA cannot be changed until there are means of getting it into TLB. |
* tba_write((__u64) trap_table); |
*/ |
} |
void arch_post_smp_init(void) |