kern
annotate src/segm.h @ 44:7bc74736c7e8
added the first test process code and system call numbers header
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 25 Jul 2011 11:29:57 +0300 |
parents | b11a86695493 |
children | 4eaecb14fe31 |
rev | line source |
---|---|
nuclear@7 | 1 #ifndef SEGM_H_ |
nuclear@7 | 2 #define SEGM_H_ |
nuclear@7 | 3 |
nuclear@7 | 4 #define SEGM_KCODE 1 |
nuclear@7 | 5 #define SEGM_KDATA 2 |
nuclear@29 | 6 #define SEGM_UCODE 3 |
nuclear@29 | 7 #define SEGM_UDATA 4 |
nuclear@29 | 8 #define SEGM_TASK 5 |
nuclear@7 | 9 |
nuclear@7 | 10 void init_segm(void); |
nuclear@7 | 11 |
nuclear@7 | 12 uint16_t selector(int idx, int rpl); |
nuclear@7 | 13 |
nuclear@7 | 14 |
nuclear@7 | 15 #endif /* SEGM_H_ */ |