]> git.baikalelectronics.ru Git - kernel.git/commit
add addrespace definition for sh2a.
authorTakashi Yoshii <yoshii.takashi@renesas.com>
Mon, 4 Aug 2008 05:28:38 +0000 (14:28 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 4 Aug 2008 05:39:19 +0000 (14:39 +0900)
commitf9b46b9bdd24b4b18aa116104bf78ebc0011b7a3
tree25a1be797f746b4550da0f33db5fc66e03019bab
parent7d82e2f4939a99360d1f6882399ed683bd8a6964
add addrespace definition for sh2a.

Newfile: arch/sh/include/cpu-sh2a/cpu/addrspace.h

This file seems had be removed to use fallback (cpu-common/cpu/addrspace.h),
but, I'd like to add sh2a specific file here, because
1. the values defined there are not suitable for sh2a.
2. I don't think there is "common" definition for these values.

Values are chosen by consideration of followings...
 P1 is 0. perhaps no question.
 P2 is from hardware manual, which says no-cache area starts at 20000000.
 It means that P? space size=20000000.
 P3 is P2+size since asm/ptrace.h uses P3 as a end of P2.
 P4 is P3+size since asm/fixup.h uses P4 as a end of P3.

Signed-off-by: Takashi YOSHII <yoshii.takashi@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/cpu-sh2a/cpu/addrspace.h [new file with mode: 0644]