diff options
Diffstat (limited to 'sys/amd64/acpica/genwakedata.sh')
-rwxr-xr-x | sys/amd64/acpica/genwakedata.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/amd64/acpica/genwakedata.sh b/sys/amd64/acpica/genwakedata.sh new file mode 100755 index 0000000..6d4181e --- /dev/null +++ b/sys/amd64/acpica/genwakedata.sh @@ -0,0 +1,9 @@ +#!/bin/sh +# $FreeBSD$ +# +nm -n --defined-only acpi_wakecode.o | while read offset dummy what +do + echo "#define ${what} 0x${offset}" +done + +exit 0 |