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