summaryrefslogtreecommitdiffstats
path: root/qemu/target-microblaze/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/target-microblaze/helper.c')
-rw-r--r--qemu/target-microblaze/helper.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/qemu/target-microblaze/helper.c b/qemu/target-microblaze/helper.c
index 8257b0e0f..4de6bdbf8 100644
--- a/qemu/target-microblaze/helper.c
+++ b/qemu/target-microblaze/helper.c
@@ -18,8 +18,10 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
+#include "qemu/osdep.h"
#include "cpu.h"
#include "qemu/host-utils.h"
+#include "exec/log.h"
#define D(x)
@@ -128,7 +130,7 @@ void mb_cpu_do_interrupt(CPUState *cs)
switch (cs->exception_index) {
case EXCP_HW_EXCP:
if (!(env->pvr.regs[0] & PVR0_USE_EXC_MASK)) {
- qemu_log("Exception raised on system without exceptions!\n");
+ qemu_log_mask(LOG_GUEST_ERROR, "Exception raised on system without exceptions!\n");
return;
}