kern
annotate src/segm.h @ 31:3ed041d07ae1
ops ... range->size = pgcount * PGSIZE not pg * PGSIZE
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 27 May 2011 13:08:23 +0300 |
parents | 78d5c304ddd0 |
children | 8ea6debe4265 |
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@7 | 6 |
nuclear@7 | 7 void init_segm(void); |
nuclear@7 | 8 |
nuclear@7 | 9 uint16_t selector(int idx, int rpl); |
nuclear@7 | 10 |
nuclear@7 | 11 |
nuclear@7 | 12 #endif /* SEGM_H_ */ |