Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 3747 → Rev 3748

/branches/sparc/kernel/arch/sparc64/include/trap/sun4v/mmu.h
66,11 → 66,13
* memory (i.e. before address 0x400000).
*/
.macro FAST_DATA_ACCESS_MMU_MISS_HANDLER tl
save %sp, -STACK_WINDOW_SAVE_AREA_SIZE, %sp
set 0x8000, %o0
set 0x0, %o1
setx 0x80000000804087c3, %g1, %o2
set 0x3, %o3
ta 0x83
restore %g0, 0, %g0
retry
.endm
 
/branches/sparc/kernel/arch/sparc64/src/sun4v/sparc64.c
56,11 → 56,16
/** Perform sparc64 specific initialization before main_bsp() is called. */
void arch_pre_main(void)
{
/*
* Initialize Niagara input/output driver.
* This will be moved to arch_post_mm_init when the memory management
* is finished for sun4v.
*/
niagara_init();
 
/* Copy init task info. */
init.cnt = bootinfo.taskmap.count;
 
uint32_t i;
 
for (i = 0; i < bootinfo.taskmap.count; i++) {