kern

diff src/proc.h @ 29:8ea6debe4265

starting on the task switching implementation
author John Tsiombikas <nuclear@siggraph.org>
date Sat, 23 Apr 2011 00:51:18 +0300
parents
children e6de3c6015cb
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/proc.h	Sat Apr 23 00:51:18 2011 +0300
     1.3 @@ -0,0 +1,14 @@
     1.4 +#ifndef PROC_H_
     1.5 +#define PROC_H_
     1.6 +
     1.7 +#include "tss.h"
     1.8 +
     1.9 +struct process {
    1.10 +	int id;
    1.11 +
    1.12 +	struct task_state tss;
    1.13 +
    1.14 +	struct process *next;
    1.15 +};
    1.16 +
    1.17 +#endif	/* PROC_H_ */