Ignore:
Timestamp:
Jul 4, 2017, 12:05:39 PM (5 years ago)
Author:
max@…
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/x86_64/core/hal_segmentation.h

    r89 r138  
    193193#define CPUVEC_MIN      0
    194194#define CPUVEC_MAX      32      /* reserved entries for CPU exceptions */
    195 #define LAPICVEC_MIN    CPUVEC_MAX
    196 #define LAPICVEC_MAX    (LAPICVEC_MIN + 3)
     195
     196#define DYNVEC_MIN      CPUVEC_MAX
     197#define DYNVEC_MAX      (DYNVEC_MIN + 6)
     198
     199#define VECTOR_APIC_SPURIOU     (DYNVEC_MIN + 0)
     200#define VECTOR_APIC_XCU_WTI     (DYNVEC_MIN + 1)
     201#define VECTOR_APIC_XCU_HWI     (DYNVEC_MIN + 2)
     202#define VECTOR_APIC_XCU_PTI     (DYNVEC_MIN + 3)
     203
     204/* debug only, will be removed soon */
     205#define LAPIC_TIMER_VECTOR              (DYNVEC_MIN + 4)
     206#define IOAPIC_KEYBOARD_VECTOR  (DYNVEC_MIN + 5)
    197207
    198208#define NIDT    256     /* total number of IDT entries */
Note: See TracChangeset for help on using the changeset viewer.