summaryrefslogtreecommitdiffstats
path: root/include/asm-sh/addrspace.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-11-21 15:34:02 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-01-28 13:18:51 +0900
commit6deb6f9129591a2386f5c125d54a22ab78fc8b61 (patch)
treebeac2de71b1093685af962f5a5f12e439bf17585 /include/asm-sh/addrspace.h
parentcaff44e7db86243fd6163bc79e543123b0139a46 (diff)
sh: Move PXSEG comments to addrspace.h.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
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 cb9da9992fa..e7f2deb28e0 100644
--- a/include/asm-sh/addrspace.h
+++ b/include/asm-sh/addrspace.h
@@ -17,6 +17,14 @@
/* If this CPU supports segmentation, hook up the helpers */
#ifdef P1SEG
+/*
+ [ P0/U0 (virtual) ] 0x00000000 <------ User space
+ [ P1 (fixed) cached ] 0x80000000 <------ Kernel space
+ [ P2 (fixed) non-cachable] 0xA0000000 <------ Physical access
+ [ P3 (virtual) cached] 0xC0000000 <------ vmalloced area
+ [ P4 control ] 0xE0000000
+ */
+
/* Returns the privileged segment base of a given address */
#define PXSEG(a) (((unsigned long)(a)) & 0xe0000000)