Go to the documentation of this file.
11 #ifndef __ASM_AVR32_ADDRSPACE_H
12 #define __ASM_AVR32_ADDRSPACE_H
17 #define P0SEG 0x00000000
18 #define P1SEG 0x80000000
19 #define P2SEG 0xa0000000
20 #define P3SEG 0xc0000000
21 #define P4SEG 0xe0000000
24 #define PXSEG(a) (((unsigned long)(a)) & 0xe0000000)
27 #define PHYSADDR(a) (((unsigned long)(a)) & 0x1fffffff)
32 #define P1SEGADDR(a) ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) \
34 #define P2SEGADDR(a) ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) \
36 #define P3SEGADDR(a) ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) \
38 #define P4SEGADDR(a) ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) \