kern

annotate src/segm.h @ 25:9939a6d7a45a

protected critical sections in VM and the physical memory manager by disabling interrupts
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 06 Apr 2011 07:42:44 +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_ */