microblaze: Catch illegal insns and privilege violations.
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>
Thu, 3 Sep 2009 09:12:30 +0000 (11:12 +0200)
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>
Thu, 3 Sep 2009 09:12:30 +0000 (11:12 +0200)
commitc8292262b70cc9ad60ad43ed8241c1f33a7b5fee
treef92ec76192f77b12ba04ad9dfd711e6c828497f7
parent6d7dfcbbd0fa841ec0350353ec1f04f81bd14932
microblaze: Catch illegal insns and privilege violations.

Raise illegal instruction exceptions when executing instructions that
require units not available on the particulare microblaze configuration.

Also trap priviliege violations made by userspace.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
target-microblaze/microblaze-decode.h
target-microblaze/translate.c