1 #!/bin/sh
2 # $FreeBSD: releng/8.0/sys/i386/acpica/genwakecode.sh 138725 2004-12-12 06:59:14Z njl $
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
Cache object: d5a70185a523be8920f1f4e05d67438d
|