Rev 2712 | Rev 3228 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2712 | Rev 2725 | ||
---|---|---|---|
Line 64... | Line 64... | ||
64 | } |
64 | } |
65 | 65 | ||
66 | /* Compute overlapping of physical addresses */ |
66 | /* Compute overlapping of physical addresses */ |
67 | #define PA_overlaps(x, szx, y, szy) overlaps(KA2PA(x), szx, KA2PA(y), szy) |
67 | #define PA_overlaps(x, szx, y, szy) overlaps(KA2PA(x), szx, KA2PA(y), szy) |
68 | 68 | ||
- | 69 | #define SIZE2KB(size) (size >> 10) |
|
- | 70 | #define SIZE2MB(size) (size >> 20) |
|
- | 71 | ||
69 | #define STRING(arg) STRING_ARG(arg) |
72 | #define STRING(arg) STRING_ARG(arg) |
70 | #define STRING_ARG(arg) #arg |
73 | #define STRING_ARG(arg) #arg |
71 | 74 | ||
72 | #endif |
75 | #endif |
73 | 76 |