]> git.karo-electronics.de Git - karo-tx-linux.git/commit
metag: protect more non-MMU memory regions
authorJames Hogan <james.hogan@imgtec.com>
Thu, 31 Jan 2013 13:42:03 +0000 (13:42 +0000)
committerJames Hogan <james.hogan@imgtec.com>
Fri, 8 Feb 2013 09:53:12 +0000 (09:53 +0000)
commit9db6d05c18bda0094c5c40fc661461e51b21f450
treef78b301cb8d6d61d757ecc675d563922c9fd6c81
parent076d2510478fdd5dbb736fe0267640214eddf3e9
metag: protect more non-MMU memory regions

Rename setup_txprivext() to setup_priv() and add initialisation of some
more per-thread privilege protection registers:

 - TxPRIVSYSR: 0x04400000-0x047fffff
               0x05000000-0x07ffffff
               0x84000000-0x87ffffff
 - TxPIOREG:   0x02000000-0x02ffffff
               0x04800000-0x048fffff
 - TxSYREG:    0x04000000-0x04000fff (except write fetch system event)

Signed-off-by: James Hogan <james.hogan@imgtec.com>
arch/metag/include/asm/processor.h
arch/metag/kernel/setup.c
arch/metag/kernel/smp.c