Ignore:
Timestamp:
Jul 13, 2017, 3:24:38 PM (7 years ago)
Author:
max@…
Message:

start moving the APIC code into the PIC driver

File:
1 edited

Legend:

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

    r152 r203  
    172172        addq    $16,%rsp
    173173        iretq
    174 
    175         /*
    176          * The XCU interrupt entries.
    177          */
    178 
    179 #define XCU_WTI_ENTRY(n)                \
    180 ASM_ENTRY(x86_xcu_wti_ ## n)            \
    181         pushq   $0              ;       \
    182         pushq   $T_ASTFLT       ;       \
    183         INTR_SAVE_REGS          ;       \
    184                                 ;       \
    185         call    hal_do_interrupt;       \
    186                                 ;       \
    187         INTR_RESTORE_REGS       ;       \
    188         addq    $16,%rsp        ;       \
    189         iretq
    190 
    191 #define XCU_HWI_ENTRY(n)                \
    192 ASM_ENTRY(x86_xcu_hwi_ ## n)            \
    193         pushq   $0              ;       \
    194         pushq   $T_ASTFLT       ;       \
    195         INTR_SAVE_REGS          ;       \
    196                                 ;       \
    197         call    hal_do_interrupt;       \
    198                                 ;       \
    199         INTR_RESTORE_REGS       ;       \
    200         addq    $16,%rsp        ;       \
    201         iretq
    202 
    203 #define XCU_PTI_ENTRY(n)                \
    204 ASM_ENTRY(x86_xcu_pti_ ## n)            \
    205         pushq   $0              ;       \
    206         pushq   $T_ASTFLT       ;       \
    207         INTR_SAVE_REGS          ;       \
    208                                 ;       \
    209         call    hal_do_interrupt;       \
    210                                 ;       \
    211         INTR_RESTORE_REGS       ;       \
    212         addq    $16,%rsp        ;       \
    213         iretq
    214 
    215 XCU_WTI_ENTRY(0)
    216 XCU_HWI_ENTRY(0)
    217 XCU_PTI_ENTRY(0)
    218174
    219175/*
     
    259215x86_intrs:
    260216        .quad   x86_lapic_spurious
    261         .quad   x86_xcu_wti_0
    262         .quad   x86_xcu_hwi_0
    263         .quad   x86_xcu_pti_0
    264 
    265217        .quad   x86_lapic_timer
    266218        .quad   x86_ioapic_com1
Note: See TracChangeset for help on using the changeset viewer.