MFC r197389:

Do panic regardeless of execution mode at the moment of T_RESERVED trap.
This commit is contained in:
Konstantin Belousov 2009-10-29 16:24:39 +00:00
parent a2ad88175b
commit c2204c03c8
2 changed files with 10 additions and 0 deletions

View File

@ -253,6 +253,11 @@ trap(struct trapframe *frame)
}
#endif
if (type == T_RESERVED) {
trap_fatal(frame, 0);
goto out;
}
#ifdef HWPMC_HOOKS
/*
* CPU PMCs interrupt using an NMI. If the PMC module is

View File

@ -225,6 +225,11 @@ trap(struct trapframe *frame)
}
#endif
if (type == T_RESERVED) {
trap_fatal(frame, 0);
goto out;
}
#ifdef HWPMC_HOOKS
/*
* CPU PMCs interrupt using an NMI so we check for that first.