Rev 144 | Rev 195 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 144 | Rev 167 | ||
---|---|---|---|
Line 32... | Line 32... | ||
32 | #include <typedefs.h> |
32 | #include <typedefs.h> |
33 | #include <arch/interrupt.h> |
33 | #include <arch/interrupt.h> |
34 | #include <arch/asm.h> |
34 | #include <arch/asm.h> |
35 | #include <arch/context.h> |
35 | #include <arch/context.h> |
36 | #include <panic.h> |
36 | #include <panic.h> |
- | 37 | #include <arch/mm/page.h> |
|
37 | 38 | ||
38 | /* |
39 | /* |
39 | * Early ia32 configuration functions and data structures. |
40 | * Early ia32 configuration functions and data structures. |
40 | */ |
41 | */ |
41 | 42 | ||
Line 156... | Line 157... | ||
156 | : |
157 | : |
157 | :"%eax" |
158 | :"%eax" |
158 | ); |
159 | ); |
159 | } |
160 | } |
160 | 161 | ||
161 | - | ||
162 | - | ||
163 | - | ||
164 | - | ||
165 | void pm_init(void) |
162 | void pm_init(void) |
166 | { |
163 | { |
167 | struct descriptor *gdt_p = (struct descriptor *) PA2KA(gdtr.base); |
164 | struct descriptor *gdt_p = (struct descriptor *) PA2KA(gdtr.base); |
168 | 165 | ||
169 | /* |
166 | /* |