Changeset 387


Ignore:
Timestamp:
Aug 16, 2017, 2:11:11 PM (7 years ago)
Author:
max@…
Message:

Handle the return from exception.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/x86_64/core/hal_kentry.S

    r341 r387  
    209209        movq    %rsp,%rdi
    210210        call    hal_exception_entry
    211         /* NOTREACHED */
    212 
     211
     212        movq    lapic_va(%rip),%rax
     213        movl    $0,LAPIC_EOI(%rax)
     214
     215        INTR_RESTORE_REGS
     216        addq    $16,%rsp
     217        iretq
     218
     219/*
     220 * Variables.
     221 */
    213222        .data
    214223        .globl  x86_traps
Note: See TracChangeset for help on using the changeset viewer.