Changeset 341 for trunk/hal/x86_64


Ignore:
Timestamp:
Aug 8, 2017, 11:12:11 AM (7 years ago)
Author:
max@…
Message:

Set %eoi earlier for rescheduling interrupts, otherwise the timer stops
when switching to another thread for the first time.

File:
1 edited

Legend:

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

    r308 r341  
    146146        INTR_SAVE_REGS
    147147
     148        movq    lapic_va(%rip),%rax
     149        movl    $0,LAPIC_EOI(%rax)
     150
    148151        movq    %rsp,%rdi
    149152        call    hal_timer_intr
    150 
    151         movq    lapic_va(%rip),%rax
    152         movl    $0,LAPIC_EOI(%rax)
    153153
    154154        INTR_RESTORE_REGS
Note: See TracChangeset for help on using the changeset viewer.