mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 14:41:27 +00:00
Cleanup whitespace, remove old author tag
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
This commit is contained in:
parent
bb1d2a9453
commit
e7672be573
1 changed files with 61 additions and 63 deletions
|
@ -1,9 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* Head of the kernel - alter with care
|
* Head of the kernel - alter with care
|
||||||
*
|
*
|
||||||
* Copyright (C) 2000, 2001 Axis Communications AB
|
* Copyright (C) 2000, 2001, 2010 Axis Communications AB
|
||||||
*
|
|
||||||
* Authors: Bjorn Wesen (bjornw@axis.com)
|
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -58,19 +56,19 @@
|
||||||
|
|
||||||
#ifdef CONFIG_CRIS_LOW_MAP
|
#ifdef CONFIG_CRIS_LOW_MAP
|
||||||
; kseg mappings, temporary map of 0xc0->0x40
|
; kseg mappings, temporary map of 0xc0->0x40
|
||||||
move.d IO_FIELD (R_MMU_KBASE_HI, base_c, 4) \
|
move.d IO_FIELD (R_MMU_KBASE_HI, base_c, 4) \
|
||||||
| IO_FIELD (R_MMU_KBASE_HI, base_b, 0xb) \
|
| IO_FIELD (R_MMU_KBASE_HI, base_b, 0xb) \
|
||||||
| IO_FIELD (R_MMU_KBASE_HI, base_9, 9) \
|
| IO_FIELD (R_MMU_KBASE_HI, base_9, 9) \
|
||||||
| IO_FIELD (R_MMU_KBASE_HI, base_8, 8), $r0
|
| IO_FIELD (R_MMU_KBASE_HI, base_8, 8), $r0
|
||||||
move.d $r0, [R_MMU_KBASE_HI]
|
move.d $r0, [R_MMU_KBASE_HI]
|
||||||
|
|
||||||
; temporary map of 0x40->0x40 and 0x60->0x40
|
; temporary map of 0x40->0x40 and 0x60->0x40
|
||||||
move.d IO_FIELD (R_MMU_KBASE_LO, base_6, 4) \
|
move.d IO_FIELD (R_MMU_KBASE_LO, base_6, 4) \
|
||||||
| IO_FIELD (R_MMU_KBASE_LO, base_4, 4), $r0
|
| IO_FIELD (R_MMU_KBASE_LO, base_4, 4), $r0
|
||||||
move.d $r0, [R_MMU_KBASE_LO]
|
move.d $r0, [R_MMU_KBASE_LO]
|
||||||
|
|
||||||
; mmu enable, segs e,c,b,a,6,5,4,0 segment mapped
|
; mmu enable, segs e,c,b,a,6,5,4,0 segment mapped
|
||||||
move.d IO_STATE (R_MMU_CONFIG, mmu_enable, enable) \
|
move.d IO_STATE (R_MMU_CONFIG, mmu_enable, enable) \
|
||||||
| IO_STATE (R_MMU_CONFIG, inv_excp, enable) \
|
| IO_STATE (R_MMU_CONFIG, inv_excp, enable) \
|
||||||
| IO_STATE (R_MMU_CONFIG, acc_excp, enable) \
|
| IO_STATE (R_MMU_CONFIG, acc_excp, enable) \
|
||||||
| IO_STATE (R_MMU_CONFIG, we_excp, enable) \
|
| IO_STATE (R_MMU_CONFIG, we_excp, enable) \
|
||||||
|
@ -93,7 +91,7 @@
|
||||||
move.d $r0, [R_MMU_CONFIG]
|
move.d $r0, [R_MMU_CONFIG]
|
||||||
#else
|
#else
|
||||||
; kseg mappings
|
; kseg mappings
|
||||||
move.d IO_FIELD (R_MMU_KBASE_HI, base_e, 8) \
|
move.d IO_FIELD (R_MMU_KBASE_HI, base_e, 8) \
|
||||||
| IO_FIELD (R_MMU_KBASE_HI, base_c, 4) \
|
| IO_FIELD (R_MMU_KBASE_HI, base_c, 4) \
|
||||||
| IO_FIELD (R_MMU_KBASE_HI, base_b, 0xb), $r0
|
| IO_FIELD (R_MMU_KBASE_HI, base_b, 0xb), $r0
|
||||||
move.d $r0, [R_MMU_KBASE_HI]
|
move.d $r0, [R_MMU_KBASE_HI]
|
||||||
|
@ -103,7 +101,7 @@
|
||||||
move.d $r0, [R_MMU_KBASE_LO]
|
move.d $r0, [R_MMU_KBASE_LO]
|
||||||
|
|
||||||
; mmu enable, segs f,e,c,b,4,0 segment mapped
|
; mmu enable, segs f,e,c,b,4,0 segment mapped
|
||||||
move.d IO_STATE (R_MMU_CONFIG, mmu_enable, enable) \
|
move.d IO_STATE (R_MMU_CONFIG, mmu_enable, enable) \
|
||||||
| IO_STATE (R_MMU_CONFIG, inv_excp, enable) \
|
| IO_STATE (R_MMU_CONFIG, inv_excp, enable) \
|
||||||
| IO_STATE (R_MMU_CONFIG, acc_excp, enable) \
|
| IO_STATE (R_MMU_CONFIG, acc_excp, enable) \
|
||||||
| IO_STATE (R_MMU_CONFIG, we_excp, enable) \
|
| IO_STATE (R_MMU_CONFIG, we_excp, enable) \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue