Rev 170 | Rev 203 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 170 | Rev 183 | ||
---|---|---|---|
Line 5... | Line 5... | ||
5 | ;; Distributed under GPL. See file COPYING for details. ;; |
5 | ;; Distributed under GPL. See file COPYING for details. ;; |
6 | ;; Copyright 2003 Ville Turjanmaa ;; |
6 | ;; Copyright 2003 Ville Turjanmaa ;; |
7 | ;; ;; |
7 | ;; ;; |
8 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
8 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 9... | Line -... | ||
9 | - | ||
10 | align 32 |
- | |
11 | - | ||
12 | ; GDT TABLE |
- | |
13 | - | ||
14 | gdts: |
- | |
15 | - | ||
16 | dw gdte-$-1 |
- | |
17 | dd gdts |
- | |
18 | dw 0 |
- | |
19 | - | ||
20 | int_code_l: |
- | |
21 | os_code_l: |
- | |
22 | - | ||
23 | dw 0xffff |
- | |
24 | dw 0x0000 |
- | |
25 | db 0x00 |
- | |
26 | dw 11011111b *256 +10011010b |
- | |
27 | db 0x00 |
- | |
28 | - | ||
29 | int_data_l: |
- | |
30 | os_data_l: |
- | |
31 | - | ||
32 | dw 0xffff |
- | |
33 | dw 0x0000 |
- | |
34 | db 0x00 |
- | |
35 | dw 11011111b *256 +10010010b |
- | |
36 | db 0x00 |
- | |
37 | - | ||
38 | ; --------------- APM --------------------- |
- | |
39 | apm_code_32: |
- | |
40 | dw 0x10 ; limit 64kb |
- | |
41 | db 0, 0, 0 |
- | |
42 | dw 11011111b *256 +10011010b |
- | |
43 | db 0x00 |
- | |
44 | apm_code_16: |
- | |
45 | dw 0x10 |
- | |
46 | db 0, 0, 0 |
- | |
47 | dw 10011111b *256 +10011010b |
- | |
48 | db 0x00 |
- | |
49 | apm_data_16: |
- | |
50 | dw 0x10 |
- | |
51 | db 0, 0, 0 |
- | |
52 | dw 10011111b *256 +10010010b |
- | |
53 | db 0x00 |
- | |
54 | ; ----------------------------------------- |
- | |
55 | - | ||
56 | app_code_l: |
- | |
57 | dw 0xFFFF;((0x80000000-std_application_base_address) shr 12) and 0xffff |
- | |
58 | dw 0 |
- | |
59 | db 0x40 |
- | |
60 | db cpl3 |
- | |
61 | dw G32+D32+0x6000+0x7; |
- | |
62 | - | ||
63 | app_data_l: |
- | |
64 | dw 0xFFFF;(0x80000000-std_application_base_address) shr 12 and 0xffff |
- | |
65 | dw 0 |
- | |
66 | db 0x40 |
- | |
67 | db drw3 |
- | |
68 | dw G32+D32+0x6000+0x7; |
- | |
69 | - | ||
70 | graph_data_l: |
- | |
71 | - | ||
72 | dw 0x3ff |
- | |
73 | dw 0x0000 |
- | |
74 | db 0x00 |
- | |
75 | dw 11010000b *256 +11110010b |
- | |
76 | db 0x00 |
- | |
77 | - | ||
78 | tss0_l: |
- | |
79 | times (max_processes+10) dd 0,0 |
- | |
80 | - | ||
81 | gdte: |
- | |
82 | - | ||
83 | 9 | ||
84 | idtreg: |
10 | idtreg: |
85 | dw 8*0x41-1 |
11 | dw 8*0x41-1 |
86 | dd idts+8 |
12 | dd idts+8 |
Line 87... | Line -... | ||
87 | ;label idts at 0xB100-8 |
- | |
88 | 13 | ;label idts at 0xB100-8 |
|
89 | 14 | ||
90 | 15 | ||
91 | uglobal |
16 | uglobal |
92 | tss_sceleton: |
17 | tss_sceleton: |