projects
/
3sys
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
9d9f70048e12bf9eea525f91e3c3adcaabe11714
[3sys]
/
sys1
/
kern
/
src
/
desc.h
1
#ifndef DESC_H_
2
#define DESC_H_
3
4
#include <stdint.h>
5
6
struct desc {
7
uint32_t d[2];
8
};
9
10
enum { SEG_NULL, SEG_CODE, SEG_DATA, SEG_TSS };
11
12
void desc_seg(struct desc *desc, int type, uint32_t base, uint32_t limit, int dpl);
13
14
#endif /* DESC_H_ */