]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - sys/i386/acpica/genwakecode.sh
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / sys / i386 / acpica / genwakecode.sh
1 #!/bin/sh
2 # $FreeBSD$
3 #
4 file2c 'static char wakecode[] = {' '};' <acpi_wakecode.bin
5
6 nm -n --defined-only acpi_wakecode.o | while read offset dummy what
7 do
8     echo "#define ${what}       0x${offset}"
9 done
10
11 exit 0