Rev 2089 | Rev 2141 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2089 | Rev 2105 | ||
|---|---|---|---|
| Line 44... | Line 44... | ||
| 44 | 44 | ||
| 45 | #ifdef KERNEL |
45 | #ifdef KERNEL |
| 46 | 46 | ||
| 47 | #ifndef __ASM__ |
47 | #ifndef __ASM__ |
| 48 | 48 | ||
| 49 | //#include <arch/types.h> |
- | |
| 50 | //#include <genarch/mm/page_ht.h> |
- | |
| 51 | #include <arch/interrupt.h> |
49 | #include <arch/interrupt.h> |
| 52 | 50 | ||
| 53 | extern uintptr_t physmem_base; |
51 | extern uintptr_t physmem_base; |
| 54 | 52 | ||
| 55 | #define KA2PA(x) (((uintptr_t) (x)) + physmem_base) |
53 | #define KA2PA(x) (((uintptr_t) (x)) + physmem_base) |