We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90a27d0 commit d59ce64Copy full SHA for d59ce64
src/x86-ubuntu/files/gem5_init.sh
@@ -16,8 +16,7 @@ cmdline=$(cat /proc/cmdline)
16
no_systemd=false
17
18
# Load gem5_bridge driver
19
-depmod --quick
20
-modprobe gem5_bridge
+modprobe gem5_bridge || insmod /lib/modules/$(uname -r)/gem5/gem5_bridge.ko
21
22
# gem5-bridge exit signifying that kernel is booted
23
# This will cause the simulation to exit. Note that this will
src/x86-ubuntu/scripts/post-installation.sh
@@ -58,9 +58,10 @@ cp build/x86/out/m5 /usr/local/bin/
58
cp build/x86/out/libm5.a /usr/local/lib/
59
popd
60
61
-# Build and insert the gem5_bridge driver
+# Build and insert the gem5-bridge driver
62
pushd util/gem5_bridge
63
make build install
64
+depmod --quick
65
66
67
0 commit comments