mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
Add m5 to path
This commit is contained in:
@@ -1635,7 +1635,7 @@ Documentation: http://gem5.org/Checkpoints
|
||||
In guest, wait for the boot to end and run:
|
||||
|
||||
....
|
||||
/m5 checkpoint
|
||||
m5 checkpoint
|
||||
....
|
||||
|
||||
To restore the checkpoint, kill the VM and run:
|
||||
@@ -1648,7 +1648,7 @@ Let's create a second checkpoint to see how it works, in guest:
|
||||
|
||||
....
|
||||
date >f
|
||||
/m5 checkpoint
|
||||
m5 checkpoint
|
||||
....
|
||||
|
||||
Kill the VM, and try it out:
|
||||
|
||||
@@ -19,7 +19,7 @@ define GEM5_BUILD_CMDS
|
||||
endef
|
||||
|
||||
define GEM5_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 '$(@D)/gem5/util/m5/m5' '$(TARGET_DIR)'
|
||||
$(INSTALL) -D -m 0755 '$(@D)/gem5/util/m5/m5' '$(TARGET_DIR)/usr/bin'
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
||||
Reference in New Issue
Block a user