Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 176 → Rev 177

/SPARTAN/trunk/include/proc/task.h
31,8 → 31,6
 
#include <typedefs.h>
#include <synch/spinlock.h>
#include <proc/thread.h>
#include <mm/vm.h>
#include <list.h>
 
struct task {
/SPARTAN/trunk/include/proc/thread.h
30,7 → 30,6
#define __THREAD_H__
 
#include <arch/thread.h>
#include <proc/task.h>
#include <synch/spinlock.h>
#include <arch/context.h>
#include <fpu_context.h>
38,7 → 37,6
#include <typedefs.h>
#include <time/timeout.h>
#include <synch/rwlock.h>
#include <mm/page.h>
#include <config.h>
#include <list.h>
 
/SPARTAN/trunk/include/arch.h
34,7 → 34,11
 
#include <cpu.h>
#include <arch/cpu.h>
#include <arch/asm.h>
 
#include <proc/thread.h>
#include <proc/task.h>
 
/*
* NOTE:
* CPU, THREAD and TASK are not preemption-safe.
58,6 → 62,8
cpu_t *cpu; /* executing cpu */
};
 
#define THE ((the_t *)(get_stack_base()))
 
extern void arch_pre_mm_init(void);
extern void arch_post_mm_init(void);
extern void arch_late_init(void);
/SPARTAN/trunk/include/cpu.h
30,10 → 30,7
#define __CPU_H__
 
#include <arch/cpu.h>
#include <proc/thread.h>
#include <proc/task.h>
#include <proc/scheduler.h>
#include <time/clock.h>
#include <synch/spinlock.h>
#include <synch/waitq.h>
#include <arch/types.h>
40,6 → 37,7
#include <typedefs.h>
#include <arch/context.h>
#include <config.h>
#include <list.h>
 
#define CPU_STACK_SIZE STACK_SIZE