MFC r197389:
Do panic regardeless of execution mode at the moment of T_RESERVED trap.
This commit is contained in:
parent
a2ad88175b
commit
c2204c03c8
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user