Set supervisor as volatile as it is modified from an interrupt
authorPatrice Mandin <patmandin@gmail.com>
Fri, 08 Jun 2007 21:44:55 +0000
changeset 2115502ae1f2a577
parent 2114 4794e6f90feb
child 2116 b42abf0a50bc
Set supervisor as volatile as it is modified from an interrupt
src/timer/mint/SDL_systimer.c
     1.1 --- a/src/timer/mint/SDL_systimer.c	Mon Jun 04 11:45:10 2007 +0000
     1.2 +++ b/src/timer/mint/SDL_systimer.c	Fri Jun 08 21:44:55 2007 +0000
     1.3 @@ -53,7 +53,7 @@
     1.4  
     1.5  /* The first ticks value of the application */
     1.6  static Uint32 start;
     1.7 -static SDL_bool supervisor;
     1.8 +static volatile SDL_bool supervisor;
     1.9  static int mint_present;        /* can we use Syield() ? */
    1.10  
    1.11  void