Rev 788 | Rev 960 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 788 | Rev 858 | ||
---|---|---|---|
Line 9... | Line 9... | ||
9 | ;; Distributed under GPL. See file COPYING for details. ;; |
9 | ;; Distributed under GPL. See file COPYING for details. ;; |
10 | ;; Copyright 2003 Ville Turjanmaa ;; |
10 | ;; Copyright 2003 Ville Turjanmaa ;; |
11 | ;; ;; |
11 | ;; ;; |
12 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
12 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 13... | Line 13... | ||
13 | 13 | ||
Line 14... | Line 14... | ||
14 | $Revision: 788 $ |
14 | $Revision: 858 $ |
15 | 15 | ||
16 | 16 | ||
Line 158... | Line 158... | ||
158 | ;-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= |
158 | ;-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= |
159 | show_error_parameters: |
159 | show_error_parameters: |
160 | mov eax,[CURRENT_TASK] |
160 | mov eax,[CURRENT_TASK] |
161 | shl eax, 5 |
161 | shl eax, 5 |
162 | DEBUGF 1, "K : Process - forced terminate PID: %x\n", [CURRENT_TASK + TASKDATA.pid + eax] |
162 | DEBUGF 1, "K : Process - forced terminate PID: %x\n", [CURRENT_TASK + TASKDATA.pid + eax] |
- | 163 | mov eax, [error_interrupt] |
|
- | 164 | cmp al, 0x08 |
|
- | 165 | jne @f |
|
- | 166 | DEBUGF 1, "K : Double fault\n" |
|
- | 167 | jmp defined_error |
|
- | 168 | @@: |
|
- | 169 | cmp al, 0x0a |
|
- | 170 | jne @f |
|
- | 171 | DEBUGF 1, "K : Invalid TSS\n" |
|
- | 172 | jmp defined_error |
|
- | 173 | @@: |
|
- | 174 | cmp al, 0x0b |
|
- | 175 | jne @f |
|
- | 176 | DEBUGF 1, "K : Segment not present\n" |
|
- | 177 | jmp defined_error |
|
- | 178 | @@: |
|
- | 179 | cmp al, 0x0c |
|
- | 180 | jne @f |
|
- | 181 | DEBUGF 1, "K : Stack fault\n" |
|
- | 182 | jmp defined_error |
|
- | 183 | @@: |
|
- | 184 | cmp al, 0x0d |
|
- | 185 | jne @f |
|
163 | DEBUGF 1, "K : Exception : %x Error : xxxxxxxx\n", [error_interrupt] |
186 | DEBUGF 1, "K : General protection fault\n" |
- | 187 | jmp defined_error |
|
- | 188 | @@: |
|
- | 189 | cmp al, 0x0e |
|
- | 190 | jne @f |
|
- | 191 | DEBUGF 1, "K : Page fault\n" |
|
- | 192 | jmp defined_error |
|
- | 193 | @@: |
|
- | 194 | DEBUGF 1, "K : Undefined Exception\n" |
|
- | 195 | defined_error: |
|
164 | DEBUGF 1, "K : EAX : %x EBX : %x ECX : %x\n", [esp + 0x20], [esp - 12 + 0x20], [esp - 4 + 0x20] |
196 | DEBUGF 1, "K : EAX : %x EBX : %x ECX : %x\n", [esp + 0x20], [esp - 12 + 0x20], [esp - 4 + 0x20] |
165 | DEBUGF 1, "K : EDX : %x ESI : %x EDI : %x\n", [esp - 8 + 0x20], [esp - 24 + 0x20], [esp - 28 + 0x20] |
197 | DEBUGF 1, "K : EDX : %x ESI : %x EDI : %x\n", [esp - 8 + 0x20], [esp - 24 + 0x20], [esp - 28 + 0x20] |
166 | DEBUGF 1, "K : EBP : %x EIP : %x ", [esp - 20 + 0x20], [esp + 4 + 0x20] |
198 | DEBUGF 1, "K : EBP : %x EIP : %x ", [esp - 20 + 0x20], [esp + 4 + 0x20] |
Line 167... | Line 199... | ||
167 | 199 |