kern

view 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
line source
1 #ifndef SEGM_H_
2 #define SEGM_H_
4 #define SEGM_KCODE 1
5 #define SEGM_KDATA 2
7 void init_segm(void);
9 uint16_t selector(int idx, int rpl);
12 #endif /* SEGM_H_ */