Rev 760 | Rev 833 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 760 | Rev 765 | ||
---|---|---|---|
Line 31... | Line 31... | ||
31 | 31 | ||
32 | #include <mm/page.h> |
32 | #include <mm/page.h> |
33 | #include <arch/mm/frame.h> |
33 | #include <arch/mm/frame.h> |
34 | #include <arch/types.h> |
34 | #include <arch/types.h> |
35 | 35 | ||
- | 36 | #define PAGE_WIDTH FRAME_WIDTH |
|
36 | #define PAGE_SIZE FRAME_SIZE |
37 | #define PAGE_SIZE FRAME_SIZE |
37 | 38 | ||
38 | #define KA2PA(x) (((__address) (x)) - 0x80000000) |
39 | #define KA2PA(x) (((__address) (x)) - 0x80000000) |
39 | #define PA2KA(x) (((__address) (x)) + 0x80000000) |
40 | #define PA2KA(x) (((__address) (x)) + 0x80000000) |
40 | 41 |