Changeset f619ec11 in mainline for kernel/arch/ia32/src/interrupt.c


Ignore:
Timestamp:
2007-02-03T21:26:54Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cf5ddf6
Parents:
80bcaed
Message:

When clock() is called by an external interrupt dispatched by the IRQ dispatcher,
no spinlock can be held or the kernel will not be preemptive. This fixes Ticket #24.

Formating and indentation fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/src/interrupt.c

    r80bcaed rf619ec11  
    141141{
    142142        uint32_t mxcsr;
    143         asm
    144         (
     143        asm (
    145144                "stmxcsr %0;\n"
    146145                :"=m"(mxcsr)
    147146        );
    148147        fault_if_from_uspace(istate, "SIMD FP exception(19), MXCSR: %#zx",
    149                              (unative_t)mxcsr);
     148            (unative_t)mxcsr);
    150149
    151150        decode_istate(istate);
Note: See TracChangeset for help on using the changeset viewer.