mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-10 09:44:13 +00:00
b6e9333cd6
Replace the handrolled implementation in experiments/agx_1tri.py and tools/reset_panic_counter.py. In addition reset the panic counter in reboot.py and run_guest.py. If can reboot or start guests the boot process works fine and macOS recovery needs to leave us alone. Signed-off-by: Janne Grunau <j@jannau.net>
9 lines
224 B
Python
Executable file
9 lines
224 B
Python
Executable file
#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: MIT
|
|
import sys, pathlib
|
|
sys.path.append(str(pathlib.Path(__file__).resolve().parents[1]))
|
|
|
|
from m1n1.setup import *
|
|
from m1n1.hw.pmu import PMU
|
|
|
|
PMU(u).reset_panic_counter()
|