Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 618 → Rev 619

/kernel/trunk/arch/sparc64/src/sparc64.c
28,8 → 28,7
 
#include <arch.h>
#include <print.h>
#include <arch/asm.h>
#include <memstr.h>
#include <arch/trap.h>
#include <arch/trap_table.h>
#include <arch/console.h>
 
44,14 → 43,7
 
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);
*/
trap_init();
}
 
void arch_post_smp_init(void)