Rev 750 | Rev 1074 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 750 | Rev 1056 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; ;; |
5 | ;; ;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 7... | Line 7... | ||
7 | 7 | ||
Line 8... | Line 8... | ||
8 | $Revision: 750 $ |
8 | $Revision: 1056 $ |
9 | 9 | ||
10 | 10 | ||
Line 140... | Line 140... | ||
140 | pop esi |
140 | pop esi |
141 | pop ecx |
141 | pop ecx |
142 | ret |
142 | ret |
Line 143... | Line 143... | ||
143 | 143 | ||
144 | align 4 |
144 | align 4 |
145 | e7: ;#NM exception handler |
145 | except_7: ;#NM exception handler |
146 | save_ring3_context |
146 | save_ring3_context |
147 | clts |
147 | clts |
148 | mov ax, app_data ; |
148 | mov ax, app_data ; |
149 | mov ds, ax |
149 | mov ds, ax |
Line 186... | Line 186... | ||
186 | reg_cs equ ebp+8 |
186 | reg_cs equ ebp+8 |
187 | reg_eflags equ ebp+12 |
187 | reg_eflags equ ebp+12 |
188 | reg_esp equ ebp+16 |
188 | reg_esp equ ebp+16 |
189 | reg_ss equ ebp+20 |
189 | reg_ss equ ebp+20 |
Line 190... | Line 190... | ||
190 | 190 | ||
191 | align 4 |
191 | align 4 ;not used now |
192 | except_16: ;fpu native exceptions handler |
192 | proc except_16 ;fpu native exceptions handler |
193 | test byte [esp+8+2], 2 |
193 | test byte [esp+8+2], 2 |
194 | jnz v86_except_16 |
194 | jnz v86_except_16 |
195 | push ebp |
195 | push ebp |
Line 231... | Line 231... | ||
231 | 231 | ||
Line 232... | Line 232... | ||
232 | save_ring3_context ;debugger support |
232 | save_ring3_context ;debugger support |
233 | 233 | ||
- | 234 | mov bl, 16 |
|
Line 234... | Line 235... | ||
234 | mov bl, 16 |
235 | jmp exc_c |
235 | jmp exc_c |
236 | endp |
236 | 237 | ||
237 | align 4 |
238 | align 4 ;not used now |
238 | except_19: ;sse exceptions handler |
239 | proc except_19 ;sse exceptions handler |
239 | test byte [esp+8+2], 2 |
240 | test byte [esp+8+2], 2 |
Line 276... | Line 277... | ||
276 | 277 | ||
Line 277... | Line 278... | ||
277 | save_ring3_context ;debugger support |
278 | save_ring3_context ;debugger support |
278 | 279 | ||
- | 280 | mov bl, 19 |
|
Line 279... | Line 281... | ||
279 | mov bl, 19 |
281 | jmp exc_c |
280 | jmp exc_c |
282 | endp |
281 | 283 | ||
282 | restore reg_eip |
284 | restore reg_eip |