]> xenbits.xensource.com Git - seabios.git/commit
Add find_pmtimer() function
authorDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 3 Feb 2013 22:41:41 +0000 (23:41 +0100)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 9 Feb 2013 02:28:49 +0000 (21:28 -0500)
commit3219dfa8ec9c62e409d7e740c48ecd78770072c3
tree4c24b4c8542f1f7d53057cb72fa9102d1d654244
parentc0a2284d858d463ec11597815d542d11fceac768
Add find_pmtimer() function

With CSM (and maybe coreboot) we'll want to find the pmtimer from the ACPI
tables, instead of knowing where it is and *putting* it into the ACPI
tables.

Extract the first part of the existing find_resume_vector() function into
a find_fadt() function, and use it from both find_resume_vector() and our
new find_pmtimer().

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
src/acpi.c
src/acpi.h