Buid 0.1.1.19
This commit is contained in:
27
Kernel/include/tasking.h
Normal file
27
Kernel/include/tasking.h
Normal file
@ -0,0 +1,27 @@
|
||||
/*
|
||||
* tasking.h
|
||||
*
|
||||
* Created on: Sep 8, 2011
|
||||
* Author: Tiberiu
|
||||
*/
|
||||
|
||||
#ifndef TASKING_H_
|
||||
#define TASKING_H_
|
||||
|
||||
#include <types.h>
|
||||
#include <memory-add.h>
|
||||
|
||||
typedef struct _Task {
|
||||
uint32 Pid;
|
||||
uint32 Esp, Ebp; // Stack
|
||||
PageDirectory* Pd;
|
||||
uint32 StackLowerBase;
|
||||
uint32 StackUpperBase;
|
||||
struct _Task* Next;
|
||||
} Task;
|
||||
|
||||
extern void TaskInitialize();
|
||||
extern void TaskSwitch ();
|
||||
extern void TaskCreate (void (*func)());
|
||||
|
||||
#endif /* TASKING_H_ */
|
@ -1 +1 @@
|
||||
#define OS_BUILD "0.1.0.629"
|
||||
#define OS_BUILD "0.1.1.19"
|
||||
|
Reference in New Issue
Block a user