Rev 2071 | Rev 2106 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2071 | Rev 2089 | ||
---|---|---|---|
Line 32... | Line 32... | ||
32 | */ |
32 | */ |
33 | /** @file |
33 | /** @file |
34 | */ |
34 | */ |
35 | 35 | ||
36 | #include <arch/pm.h> |
36 | #include <arch/pm.h> |
37 | #include <arch/mm/page.h> |
- | |
38 | #include <arch/types.h> |
- | |
39 | #include <arch/interrupt.h> |
- | |
40 | #include <arch/asm.h> |
37 | #include <arch/asm.h> |
41 | #include <interrupt.h> |
- | |
42 | #include <mm/as.h> |
38 | #include <mm/as.h> |
43 | - | ||
44 | #include <config.h> |
39 | #include <mm/frame.h> |
45 | - | ||
46 | #include <memstr.h> |
40 | #include <memstr.h> |
47 | #include <mm/slab.h> |
41 | #include <mm/slab.h> |
48 | #include <debug.h> |
- | |
49 | 42 | ||
50 | /* |
43 | /* |
51 | * There is no segmentation in long mode so we set up flat mode. In this |
44 | * There is no segmentation in long mode so we set up flat mode. In this |
52 | * mode, we use, for each privilege level, two segments spanning the |
45 | * mode, we use, for each privilege level, two segments spanning the |
53 | * whole memory. One is for code and one is for data. |
46 | * whole memory. One is for code and one is for data. |