Rev 1787 | Rev 1888 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1787 | Rev 1882 | ||
---|---|---|---|
Line 184... | Line 184... | ||
184 | 184 | ||
185 | dump_interrupted_context(istate); |
185 | dump_interrupted_context(istate); |
186 | panic("General Exception (%s)\n", desc); |
186 | panic("General Exception (%s)\n", desc); |
187 | } |
187 | } |
188 | 188 | ||
189 | void fpu_enable(void); |
- | |
190 | - | ||
191 | void disabled_fp_register(uint64_t vector, istate_t *istate) |
189 | void disabled_fp_register(uint64_t vector, istate_t *istate) |
192 | { |
190 | { |
193 | #ifdef CONFIG_FPU_LAZY |
191 | #ifdef CONFIG_FPU_LAZY |
194 | scheduler_fpu_lazy_request(); |
192 | scheduler_fpu_lazy_request(); |
195 | #else |
193 | #else |
Line 203... | Line 201... | ||
203 | void nop_handler(uint64_t vector, istate_t *istate) |
201 | void nop_handler(uint64_t vector, istate_t *istate) |
204 | { |
202 | { |
205 | } |
203 | } |
206 | 204 | ||
207 | 205 | ||
208 | - | ||
209 | /** Handle syscall. */ |
206 | /** Handle syscall. */ |
210 | int break_instruction(uint64_t vector, istate_t *istate) |
207 | int break_instruction(uint64_t vector, istate_t *istate) |
211 | { |
208 | { |
212 | /* |
209 | /* |
213 | * Move to next instruction after BREAK. |
210 | * Move to next instruction after BREAK. |
Line 256... | Line 253... | ||
256 | 253 | ||
257 | void virtual_interrupt(uint64_t irq,void *param) |
254 | void virtual_interrupt(uint64_t irq, void *param) |
258 | { |
255 | { |
259 | switch(irq) { |
256 | switch(irq) { |
260 | case IRQ_KBD: |
257 | case IRQ_KBD: |
- | 258 | if (kbd_uspace) |
|
261 | if(kbd_uspace) ipc_irq_send_notif(irq); |
259 | ipc_irq_send_notif(irq); |
262 | break; |
260 | break; |
263 | default: |
261 | default: |
264 | panic("\nUnhandled Virtual Interrupt request %d\n", irq); |
262 | panic("\nUnhandled Virtual Interrupt request %d\n", irq); |
265 | break; |
263 | break; |
266 | } |
264 | } |
Line 278... | Line 276... | ||
278 | /* TODO */ |
276 | /* TODO */ |
279 | } |
277 | } |
280 | 278 | ||
281 | /** @} |
279 | /** @} |
282 | */ |
280 | */ |
283 | - |