Subversion Repositories HelenOS

Rev

Rev 1861 | Rev 1880 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1861 Rev 1870
Line 35... Line 35...
35
 
35
 
36
#ifndef KERN_sparc64_EXCEPTION_H_
36
#ifndef KERN_sparc64_EXCEPTION_H_
37
#define KERN_sparc64_EXCEPTION_H_
37
#define KERN_sparc64_EXCEPTION_H_
38
 
38
 
39
#define TT_INSTRUCTION_ACCESS_EXCEPTION     0x08
39
#define TT_INSTRUCTION_ACCESS_EXCEPTION     0x08
-
 
40
#define TT_INSTRUCTION_ACCESS_ERROR     0x0a
40
#define TT_ILLEGAL_INSTRUCTION          0x10
41
#define TT_ILLEGAL_INSTRUCTION          0x10
-
 
42
#define TT_PRIVILEGED_OPCODE            0x11
-
 
43
#define TT_DIVISION_BY_ZERO         0x28
-
 
44
#define TT_DATA_ACCESS_EXCEPTION        0x30
41
#define TT_DATA_ACCESS_ERROR            0x32
45
#define TT_DATA_ACCESS_ERROR            0x32
42
#define TT_MEM_ADDRESS_NOT_ALIGNED      0x34
46
#define TT_MEM_ADDRESS_NOT_ALIGNED      0x34
-
 
47
#define TT_PRIVILEGED_ACTION            0x38
43
 
48
 
44
#ifndef __ASM__
49
#ifndef __ASM__
45
 
50
 
46
#include <typedefs.h>
51
#include <typedefs.h>
47
 
52
 
-
 
53
extern void instruction_access_exception(int n, istate_t *istate);
48
extern void do_instruction_access_exc(int n, istate_t *istate);
54
extern void instruction_access_error(int n, istate_t *istate);
-
 
55
extern void illegal_instruction(int n, istate_t *istate);
-
 
56
extern void privileged_opcode(int n, istate_t *istate);
-
 
57
extern void division_by_zero(int n, istate_t *istate);
49
extern void do_mem_address_not_aligned(int n, istate_t *istate);
58
extern void data_access_exception(int n, istate_t *istate);
50
extern void do_data_access_error(int n, istate_t *istate);
59
extern void data_access_error(int n, istate_t *istate);
-
 
60
extern void mem_address_not_aligned(int n, istate_t *istate);
51
extern void do_illegal_instruction(int n, istate_t *istate);
61
extern void privileged_action(int n, istate_t *istate);
-
 
62
 
52
 
63
 
53
#endif /* !__ASM__ */
64
#endif /* !__ASM__ */
54
 
65
 
55
#endif
66
#endif
56
 
67