3eda4741da
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.
10 lines
147 B
Bash
Executable File
10 lines
147 B
Bash
Executable File
#!/bin/sh
|
|
# $FreeBSD$
|
|
#
|
|
nm -n --defined-only acpi_wakecode.o | while read offset dummy what
|
|
do
|
|
echo "#define ${what} 0x${offset}"
|
|
done
|
|
|
|
exit 0
|