Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | pj | 1 | /* Project: OSLib |
2 | * Description: The OS Construction Kit |
||
3 | * Date: 1.6.2000 |
||
4 | * Idea by: Luca Abeni & Gerardo Lamastra |
||
5 | * |
||
6 | * OSLib is an SO project aimed at developing a common, easy-to-use |
||
7 | * low-level infrastructure for developing OS kernels and Embedded |
||
8 | * Applications; it partially derives from the HARTIK project but it |
||
9 | * currently is independently developed. |
||
10 | * |
||
11 | * OSLib is distributed under GPL License, and some of its code has |
||
12 | * been derived from the Linux kernel source; also some important |
||
13 | * ideas come from studying the DJGPP go32 extender. |
||
14 | * |
||
15 | * We acknowledge the Linux Community, Free Software Foundation, |
||
16 | * D.J. Delorie and all the other developers who believe in the |
||
17 | * freedom of software and ideas. |
||
18 | * |
||
19 | * For legalese, check out the included GPL license. |
||
20 | */ |
||
21 | |||
22 | /* Hardware selectors used by OSLib */ |
||
23 | |||
24 | #ifndef __LL_I386_SEL_H__ |
||
25 | #define __LL_I386_SEL_H__ |
||
26 | |||
27 | #define NULL_SEL 0x00 |
||
28 | #define X_DATA16_SEL 0x08 |
||
29 | #define X_CODE16_SEL 0x10 |
||
30 | #define X_CODE32_SEL 0x18 |
||
31 | #define X_RM_BACK_GATE 0x20 |
||
32 | #define X_PM_ENTRY_GATE 0x28 |
||
33 | #define X_FLATDATA_SEL 0x30 |
||
34 | #define X_FLATCODE_SEL 0x38 |
||
35 | #define X_CALLBIOS_SEL 0x40 |
||
36 | #define X_CALLBIOS_GATE 0x48 |
||
37 | |||
38 | #define X_VM86_TSS 0x50 |
||
39 | #define X_MAIN_TSS 0x58 |
||
40 | #define X_FLATDATA3_SEL 0x60 |
||
41 | #define X_FLATCODE3_SEL 0x68 |
||
42 | |||
43 | #endif |