Changeset 8965838e in mainline for arch/ppc32/src/interrupt.c


Ignore:
Timestamp:
2006-03-15T12:21:56Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
97b64c9
Parents:
286e03d
Message:

ppc32: preemptive scheduling works now
FPU context saving disabled for now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ppc32/src/interrupt.c

    r286e03d r8965838e  
    3434#include <print.h>
    3535
     36
     37void start_decrementer(void)
     38{
     39        asm volatile (
     40                "mtdec %0\n"
     41                :: "r" (1000)
     42        );
     43}
     44
     45
    3646static void exception_decrementer(int n, istate_t *istate)
    3747{
    3848        clock();
     49        start_decrementer();
    3950}
    4051
Note: See TracChangeset for help on using the changeset viewer.