aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/acpica/genwakecode.sh
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2009-03-17 00:48:11 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2009-03-17 00:48:11 +0000
commitc66d2b38c8343afbd192f635a1b13d2e67ec70e8 (patch)
treec75b77d8208c29993db8a02658e1f33e9e5339b8 /sys/amd64/acpica/genwakecode.sh
parentc0c0c35c3bc478fdb24961ff94b6e04caac2f36f (diff)
downloadsrc-c66d2b38c8343afbd192f635a1b13d2e67ec70e8.tar.gz
src-c66d2b38c8343afbd192f635a1b13d2e67ec70e8.zip
Initial suspend/resume support for amd64.
This code is heavily inspired by Takanori Watanabe's experimental SMP patch for i386 and large portion was shamelessly cut and pasted from Peter Wemm's AP boot code.
Notes
Notes: svn path=/head/; revision=189903
Diffstat (limited to 'sys/amd64/acpica/genwakecode.sh')
-rwxr-xr-xsys/amd64/acpica/genwakecode.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/amd64/acpica/genwakecode.sh b/sys/amd64/acpica/genwakecode.sh
new file mode 100755
index 000000000000..b4853863ae7e
--- /dev/null
+++ b/sys/amd64/acpica/genwakecode.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+# $FreeBSD$
+#
+file2c 'static char wakecode[] = {' '};' <acpi_wakecode.bin
+
+exit 0