summaryrefslogtreecommitdiff
path: root/purgatory/arch
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2011-09-15 20:06:34 +0900
committerSimon Horman <horms@verge.net.au>2011-10-05 07:12:47 +0900
commit8f47bcfa2b0150a8b8b995a5f10b9fffb320bc6d (patch)
treebb995cfff7d90a4b9376418c27a918eda16d791b /purgatory/arch
parent6b8a0f7285fa3eb3f67dfa0d8d5b61ade69e953d (diff)
sh: Take into account the base of System RAM in virt_to_phys()
Previously virt_to_phys() assumed that physical memory always started at address 0. This is not always the case. Tested on an sh7757lcr (32bit system) whose only System RAM region is 40000000-4effffff and an ecovec24 (29bit system). Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'purgatory/arch')
0 files changed, 0 insertions, 0 deletions