kern

annotate src/segm.h @ 23:5454cee245a3

- fixed tragic mistake in the initial kernel image mapping - page table modifications by disabling paging first - page allocation completed
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 04 Apr 2011 23:34:06 +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_ */