aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh/addrspace.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sh/addrspace.h')
-rw-r--r--include/asm-sh/addrspace.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-sh/addrspace.h b/include/asm-sh/addrspace.h
index cb9da9992fa0..e7f2deb28e06 100644
--- a/include/asm-sh/addrspace.h
+++ b/include/asm-sh/addrspace.h
@@ -17,6 +17,14 @@
17/* If this CPU supports segmentation, hook up the helpers */ 17/* If this CPU supports segmentation, hook up the helpers */
18#ifdef P1SEG 18#ifdef P1SEG
19 19
20/*
21 [ P0/U0 (virtual) ] 0x00000000 <------ User space
22 [ P1 (fixed) cached ] 0x80000000 <------ Kernel space
23 [ P2 (fixed) non-cachable] 0xA0000000 <------ Physical access
24 [ P3 (virtual) cached] 0xC0000000 <------ vmalloced area
25 [ P4 control ] 0xE0000000
26 */
27
20/* Returns the privileged segment base of a given address */ 28/* Returns the privileged segment base of a given address */
21#define PXSEG(a) (((unsigned long)(a)) & 0xe0000000) 29#define PXSEG(a) (((unsigned long)(a)) & 0xe0000000)
22 30