Ignore:
Timestamp:
Jun 23, 2017, 11:55:08 AM (7 years ago)
Author:
max@…
Message:

Add some code for LAPIC; far from complete, but a good start.

File:
1 edited

Legend:

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

    r29 r45  
    3636        .type   hal_trap_entry, @function
    3737
     38        /*
     39         * General exceptions.
     40         */
    3841ASM_ENTRY(x86_trap00)
    3942        ZTRAPENTRY(T_DIVIDE)
     
    111114        ZTRAPENTRY(T_RESERVED)
    112115
     116        /*
     117         * LAPIC interrupts.
     118         */
     119ASM_ENTRY(x86_spurious)
     120        ZTRAPENTRY(T_ASTFLT)
     121
     122
     123
    113124/*
    114125 * Arguments pushed on the stack:
     
    128139        .data
    129140        .globl  x86_traps
     141        .globl  x86_intrs
    130142        .type   x86_traps, @object
     143        .type   x86_intrs, @object
    131144
    132145        .align  64
     
    149162        .quad   x86_trap1e, x86_trap1f
    150163
     164x86_intrs:
     165        .quad   x86_spurious
     166
Note: See TracChangeset for help on using the changeset viewer.