release 1.85
[picodrive.git] / platform / pandora / PicoDrive.sh
diff --git a/platform/pandora/PicoDrive.sh b/platform/pandora/PicoDrive.sh
new file mode 100755 (executable)
index 0000000..02943e7
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# 2x2M hugepages should be enough
+sudo -n /usr/pandora/scripts/op_hugetlb.sh 4
+
+./PicoDrive "$@"
+
+# restore stuff if pico crashes
+./picorestore
+sudo -n /usr/pandora/scripts/op_lcdrate.sh 60
+sudo -n /usr/pandora/scripts/op_gamma.sh 0
+sudo -n /usr/pandora/scripts/op_hugetlb.sh 0