Subversion Repositories HelenOS

Rev

Rev 115 | Rev 125 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 115 Rev 118
Line 45... Line 45...
45
#include <arch/atomic.h>
45
#include <arch/atomic.h>
46
 
46
 
47
volatile int nrdy;
47
volatile int nrdy;
48
 
48
 
49
 
49
 
50
/** Initialize context switching
50
/** Take actions before new thread runs
51
 *
51
 *
52
 * Initialize context switching and lazy FPU
52
 * Perform actions that need to be
-
 
53
 * taken before the newly selected
53
 * context switching.
54
 * tread is passed control.
54
 *
55
 *
55
 */
56
 */
56
void before_thread_runs(void)
57
void before_thread_runs(void)
57
{
58
{
58
    before_thread_runs_arch();
59
    before_thread_runs_arch();