mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-12-22 00:29:18 +00:00
bench1: Set power_off_reason.
This commit is contained in:
parent
ee45291533
commit
240ec95a74
@ -30,6 +30,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
#if defined(PPC_BENCHMARKS)
|
||||
void ppc_exception_handler(Except_Type exception_type, uint32_t srr1_bits) {
|
||||
power_on = false;
|
||||
power_off_reason = po_benchmark_exception;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -317,6 +317,7 @@ enum Po_Cause : int {
|
||||
po_enter_debugger,
|
||||
po_entered_debugger,
|
||||
po_signal_interrupt,
|
||||
po_benchmark_exception
|
||||
};
|
||||
|
||||
extern bool power_on;
|
||||
|
Loading…
Reference in New Issue
Block a user