mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-26 03:31:36 +01:00
gem5: test out panic_on_panic
patches: create patche/manual patch dir, put all patch directories under patches/ subdir
This commit is contained in:
11
patches/manual/gem5-panic.patch
Normal file
11
patches/manual/gem5-panic.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
diff --git a/configs/example/fs.py b/configs/example/fs.py
|
||||
index 4031fd05e..0f502a34a 100644
|
||||
--- a/configs/example/fs.py
|
||||
+++ b/configs/example/fs.py
|
||||
@@ -395,5 +395,6 @@ if buildEnv['TARGET_ISA'] == "arm" and options.generate_dtb:
|
||||
sys = getattr(root, sysname)
|
||||
sys.dtb_filename = create_dtb_for_system(sys, '%s.dtb' % sysname)
|
||||
|
||||
+test_sys.panic_on_panic = True
|
||||
Simulation.setWorkCountOptions(test_sys, options)
|
||||
Simulation.run(options, root, test_sys, FutureClass)
|
||||
Reference in New Issue
Block a user