microblaze: Support brki rX, 0x18 for user application debugging
authorMichal Simek <monstr@monstr.eu>
Tue, 3 Aug 2010 09:26:51 +0000 (11:26 +0200)
committerMichal Simek <monstr@monstr.eu>
Wed, 4 Aug 2010 08:45:16 +0000 (10:45 +0200)
commit751f1605e03533a6279ccf456e938e9595c7d888
tree1bff483f2d0f1151c5794d409c00e1c5293656b4
parent958063e67b775bc1be85eb3761c85202597a87aa
microblaze: Support brki rX, 0x18 for user application debugging

This is the first patch which add support for
user application debugging through brki rX, 0x18 vector.

This patch has side effect which also remove security issue
to use brki rX, 0x18 to freeze kernel.

Support for old gdb support via priviledged exception
(brk r0, r0) is still there. It will be remove in future.

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/entry.S
arch/microblaze/kernel/exceptions.c