Rev 2572 | Rev 2725 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2572 | Rev 2712 | ||
|---|---|---|---|
| Line 60... | Line 60... | ||
| 60 | uintptr_t e1 = s1 + sz1; |
60 | uintptr_t e1 = s1 + sz1; |
| 61 | uintptr_t e2 = s2 + sz2; |
61 | uintptr_t e2 = s2 + sz2; |
| 62 | 62 | ||
| 63 | return (s1 < e2) && (s2 < e1); |
63 | return (s1 < e2) && (s2 < e1); |
| 64 | } |
64 | } |
| - | 65 | ||
| 65 | /* Compute overlapping of physical addresses */ |
66 | /* Compute overlapping of physical addresses */ |
| 66 | #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) |
| 67 | 68 | ||
| 68 | #define STRING(arg) STRING_ARG(arg) |
69 | #define STRING(arg) STRING_ARG(arg) |
| 69 | #define STRING_ARG(arg) #arg |
70 | #define STRING_ARG(arg) #arg |