Subversion Repositories HelenOS

Rev

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

Rev 1882 Rev 1883
Line 80... Line 80...
80
.org trap_table + TT_PRIVILEGED_OPCODE*ENTRY_SIZE
80
.org trap_table + TT_PRIVILEGED_OPCODE*ENTRY_SIZE
81
.global privileged_opcode_tl0
81
.global privileged_opcode_tl0
82
privileged_opcode_tl0:
82
privileged_opcode_tl0:
83
	PREEMPTIBLE_HANDLER privileged_opcode
83
	PREEMPTIBLE_HANDLER privileged_opcode
84
 
84
 
-
 
85
/* TT = 0x12, TL = 0, unimplemented_LDD */
-
 
86
.org trap_table + TT_UNIMPLEMENTED_LDD*ENTRY_SIZE
-
 
87
.global unimplemented_LDD_tl0
-
 
88
unimplemented_LDD_tl0:
-
 
89
	PREEMPTIBLE_HANDLER unimplemented_LDD
-
 
90
 
-
 
91
/* TT = 0x13, TL = 0, unimplemented_STD */
-
 
92
.org trap_table + TT_UNIMPLEMENTED_STD*ENTRY_SIZE
-
 
93
.global unimplemented_STD_tl0
-
 
94
unimplemented_STD_tl0:
-
 
95
	PREEMPTIBLE_HANDLER unimplemented_STD
-
 
96
 
85
/* TT = 0x20, TL = 0, fb_disabled handler */
97
/* TT = 0x20, TL = 0, fb_disabled handler */
86
.org trap_table + TT_FP_DISABLED*ENTRY_SIZE
98
.org trap_table + TT_FP_DISABLED*ENTRY_SIZE
87
.global fb_disabled_tl0
99
.global fb_disabled_tl0
88
fp_disabled_tl0:
100
fp_disabled_tl0:
89
	PREEMPTIBLE_HANDLER fp_disabled
101
	PREEMPTIBLE_HANDLER fp_disabled
90
 
102
 
-
 
103
/* TT = 0x21, TL = 0, fb_exception_ieee_754 handler */
-
 
104
.org trap_table + TT_FP_EXCEPTION_IEEE_754*ENTRY_SIZE
-
 
105
.global fb_exception_ieee_754_tl0
-
 
106
fp_exception_ieee_754_tl0:
-
 
107
	PREEMPTIBLE_HANDLER fp_exception_ieee_754
-
 
108
 
-
 
109
/* TT = 0x22, TL = 0, fb_exception_other handler */
-
 
110
.org trap_table + TT_FP_EXCEPTION_OTHER*ENTRY_SIZE
-
 
111
.global fb_exception_other_tl0
-
 
112
fp_exception_other_tl0:
-
 
113
	PREEMPTIBLE_HANDLER fp_exception_other
-
 
114
 
-
 
115
/* TT = 0x23, TL = 0, tag_overflow */
-
 
116
.org trap_table + TT_TAG_OVERFLOW*ENTRY_SIZE
-
 
117
.global tag_overflow_tl0
-
 
118
tag_overflow_tl0:
-
 
119
	PREEMPTIBLE_HANDLER tag_overflow
-
 
120
 
91
/* TT = 0x24, TL = 0, clean_window handler */
121
/* TT = 0x24, TL = 0, clean_window handler */
92
.org trap_table + TT_CLEAN_WINDOW*ENTRY_SIZE
122
.org trap_table + TT_CLEAN_WINDOW*ENTRY_SIZE
93
.global clean_window_tl0
123
.global clean_window_tl0
94
clean_window_tl0:
124
clean_window_tl0:
95
	CLEAN_WINDOW_HANDLER
125
	CLEAN_WINDOW_HANDLER
Line 117... Line 147...
117
.org trap_table + TT_MEM_ADDRESS_NOT_ALIGNED*ENTRY_SIZE
147
.org trap_table + TT_MEM_ADDRESS_NOT_ALIGNED*ENTRY_SIZE
118
.global mem_address_not_aligned_tl0
148
.global mem_address_not_aligned_tl0
119
mem_address_not_aligned_tl0:
149
mem_address_not_aligned_tl0:
120
	PREEMPTIBLE_HANDLER mem_address_not_aligned
150
	PREEMPTIBLE_HANDLER mem_address_not_aligned
121
 
151
 
-
 
152
/* TT = 0x35, TL = 0, LDDF_mem_address_not_aligned */
-
 
153
.org trap_table + TT_LDDF_MEM_ADDRESS_NOT_ALIGNED*ENTRY_SIZE
-
 
154
.global LDDF_mem_address_not_aligned_tl0
-
 
155
LDDF_mem_address_not_aligned_tl0:
-
 
156
	PREEMPTIBLE_HANDLER LDDF_mem_address_not_aligned
-
 
157
 
-
 
158
/* TT = 0x36, TL = 0, STDF_mem_address_not_aligned */
-
 
159
.org trap_table + TT_STDF_MEM_ADDRESS_NOT_ALIGNED*ENTRY_SIZE
-
 
160
.global STDF_mem_address_not_aligned_tl0
-
 
161
STDF_mem_address_not_aligned_tl0:
-
 
162
	PREEMPTIBLE_HANDLER STDF_mem_address_not_aligned
-
 
163
 
122
/* TT = 0x38, TL = 0, privileged_action */
164
/* TT = 0x37, TL = 0, privileged_action */
123
.org trap_table + TT_PRIVILEGED_ACTION*ENTRY_SIZE
165
.org trap_table + TT_PRIVILEGED_ACTION*ENTRY_SIZE
124
.global privileged_action_tl0
166
.global privileged_action_tl0
125
privileged_action_tl0:
167
privileged_action_tl0:
126
	PREEMPTIBLE_HANDLER privileged_action
168
	PREEMPTIBLE_HANDLER privileged_action
127
 
169
 
-
 
170
/* TT = 0x38, TL = 0, LDQF_mem_address_not_aligned */
-
 
171
.org trap_table + TT_LDQF_MEM_ADDRESS_NOT_ALIGNED*ENTRY_SIZE
-
 
172
.global LDQF_mem_address_not_aligned_tl0
-
 
173
LDQF_mem_address_not_aligned_tl0:
-
 
174
	PREEMPTIBLE_HANDLER LDQF_mem_address_not_aligned
-
 
175
 
-
 
176
/* TT = 0x39, TL = 0, STQF_mem_address_not_aligned */
-
 
177
.org trap_table + TT_STQF_MEM_ADDRESS_NOT_ALIGNED*ENTRY_SIZE
-
 
178
.global STQF_mem_address_not_aligned_tl0
-
 
179
STQF_mem_address_not_aligned_tl0:
-
 
180
	PREEMPTIBLE_HANDLER STQF_mem_address_not_aligned
-
 
181
 
128
/* TT = 0x41, TL = 0, interrupt_level_1 handler */
182
/* TT = 0x41, TL = 0, interrupt_level_1 handler */
129
.org trap_table + TT_INTERRUPT_LEVEL_1*ENTRY_SIZE
183
.org trap_table + TT_INTERRUPT_LEVEL_1*ENTRY_SIZE
130
.global interrupt_level_1_handler_tl0
184
.global interrupt_level_1_handler_tl0
131
interrupt_level_1_handler_tl0:
185
interrupt_level_1_handler_tl0:
132
	INTERRUPT_LEVEL_N_HANDLER 1
186
	INTERRUPT_LEVEL_N_HANDLER 1