Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 3992 → Rev 3993

/branches/sparc/kernel/arch/sparc64/src/sun4v/asm.S
32,20 → 32,6
 
.text
 
/* TODO: remove it as soon as there is a scheduler for sun4v. It is here only to make the code compilable/ */
 
.global write_to_ag_g6
write_to_ag_g6:
 
.global write_to_ag_g7
write_to_ag_g7:
 
.global write_to_ig_g6
write_to_ig_g6:
 
.global read_from_ag_g7
read_from_ag_g7:
 
/** Switch to userspace.
*
* %o0 Userspace entry address.
54,7 → 40,6
*/
.global switch_to_userspace
switch_to_userspace:
#if 0
save %o1, -STACK_WINDOW_SAVE_AREA_SIZE, %sp
flushw
wrpr %g0, 0, %cleanwin ! avoid information leak
90,4 → 75,3
wrpr %g0, WSTATE_OTHER(0) | WSTATE_NORMAL(1), %wstate
 
done ! jump to userspace
#endif
/branches/sparc/kernel/arch/sparc64/src/sun4v/start.S
272,5 → 272,10
.align MMU_FSA_ALIGNMENT
.global mmu_fsas
mmu_fsas:
!.space (MMU_FSA_SIZE * MAX_NUM_STRANDS)
.space 8192
.space (MMU_FSA_SIZE * MAX_NUM_STRANDS)
 
/* area containing kernel stack and uspace window buffer pointers of all CPUs */
.align KSTACK_WBUF_PTR_SIZE
.global kstack_wbuf_ptrs
kstack_wbuf_ptrs:
.space (KSTACK_WBUF_PTR_SIZE * MAX_NUM_STRANDS)