Changeset 08b6836 in mainline for kernel/arch/ia32/src/asm.S


Ignore:
Timestamp:
2008-11-24T21:18:38Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e478b2a4
Parents:
b9e7944
Message:

The IA-32 manual is very secretive about the fact that the SYSENTER instruction
disables interrupts (I found only one evidence of this in the instruction's
pseudo code). The sysenter_handler needs to reenable the interrupts in order to
preserve the preemptive nature of the kernel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/src/asm.S

    rb9e7944 r08b6836  
    159159.global sysenter_handler
    160160sysenter_handler:
     161        sti
    161162        pushl %ebp      # remember user stack
    162163        pushl %edi      # remember return user address
Note: See TracChangeset for help on using the changeset viewer.