Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 1860 → Rev 1861

/trunk/kernel/arch/sparc64/include/trap/interrupt.h
89,7 → 89,7
#endif /* __ASM__ */
 
#ifndef __ASM__
extern void interrupt(void);
extern void interrupt(int n, istate_t *istate);
#endif /* !def __ASM__ */
 
#endif
/trunk/kernel/arch/sparc64/include/trap/trap_table.h
100,10 → 100,6
or %g1, %lo(\f), %g1
.endm
 
.macro SIMPLE_HANDLER f
call \f
nop
.endm
#endif /* __ASM__ */
 
#endif
/trunk/kernel/arch/sparc64/include/trap/exception.h
42,10 → 42,14
#define TT_MEM_ADDRESS_NOT_ALIGNED 0x34
 
#ifndef __ASM__
extern void do_instruction_access_exc(void);
extern void do_mem_address_not_aligned(void);
extern void do_data_access_error(void);
extern void do_illegal_instruction(void);
 
#include <typedefs.h>
 
extern void do_instruction_access_exc(int n, istate_t *istate);
extern void do_mem_address_not_aligned(int n, istate_t *istate);
extern void do_data_access_error(int n, istate_t *istate);
extern void do_illegal_instruction(int n, istate_t *istate);
 
#endif /* !__ASM__ */
 
#endif
52,4 → 56,3
 
/** @}
*/
 
/trunk/kernel/arch/sparc64/include/trap/mmu.h
53,9 → 53,9
#ifdef __ASM__
 
.macro FAST_INSTRUCTION_ACCESS_MMU_MISS_HANDLER
!
! First, try to refill TLB from TSB.
!
/*
* First, try to refill TLB from TSB.
*/
! TODO
 
wrpr %g0, PSTATE_PRIV_BIT | PSTATE_AG_BIT, %pstate