]> git.baikalelectronics.ru Git - kernel.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>
Sat, 2 Mar 2013 20:09:58 +0000 (20:09 +0000)
commit0ce71149bda1a73861b90d3a266c70dcc5419596
treed9f8427f6be3a3ec2882ac4c3e9ee2e0dbe9256d
parentdac51c289e8c375513235380ab6ea7186204d7ff
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