kern

view src/segm.h @ 47:f65b348780e3

continuing with the process implementation. not done yet, panics.
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 28 Jul 2011 05:43:04 +0300
parents b11a86695493
children 4eaecb14fe31
line source
1 #ifndef SEGM_H_
2 #define SEGM_H_
4 #define SEGM_KCODE 1
5 #define SEGM_KDATA 2
6 #define SEGM_UCODE 3
7 #define SEGM_UDATA 4
8 #define SEGM_TASK 5
10 void init_segm(void);
12 uint16_t selector(int idx, int rpl);
15 #endif /* SEGM_H_ */