diff options
author | jkim <jkim@FreeBSD.org> | 2009-06-05 18:50:45 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2009-06-05 18:50:45 +0000 |
commit | d0e44fd5779eca7e16548a30d919afcbeb2ef881 (patch) | |
tree | 43df3e14d718167d26d41331ba1f8879b4e3a990 /usr.sbin/acpi/acpidb | |
parent | 6d358bddff8eb82625370b62ff77b8fc34b088c6 (diff) | |
download | FreeBSD-src-d0e44fd5779eca7e16548a30d919afcbeb2ef881.zip FreeBSD-src-d0e44fd5779eca7e16548a30d919afcbeb2ef881.tar.gz |
Import ACPICA 20090521.
Diffstat (limited to 'usr.sbin/acpi/acpidb')
-rw-r--r-- | usr.sbin/acpi/acpidb/Makefile | 14 | ||||
-rw-r--r-- | usr.sbin/acpi/acpidb/acpidb.c | 13 |
2 files changed, 17 insertions, 10 deletions
diff --git a/usr.sbin/acpi/acpidb/Makefile b/usr.sbin/acpi/acpidb/Makefile index b658077..1694867 100644 --- a/usr.sbin/acpi/acpidb/Makefile +++ b/usr.sbin/acpi/acpidb/Makefile @@ -17,7 +17,7 @@ SRCS+= evevent.c evgpe.c evgpeblk.c evmisc.c evregion.c \ evrgnini.c evsci.c evxface.c evxfevnt.c evxfregn.c # hardware -SRCS+= hwacpi.c hwgpe.c hwregs.c hwsleep.c +SRCS+= hwacpi.c hwgpe.c hwregs.c hwsleep.c hwvalid.c hwxface.c # interpreter/dispatcher SRCS+= dsfield.c dsinit.c dsmethod.c dsmthdat.c dsobject.c \ @@ -37,8 +37,9 @@ SRCS+= psargs.c psloop.c psopcode.c psparse.c psscope.c \ # namespace SRCS+= nsaccess.c nsalloc.c nsdump.c nseval.c nsinit.c \ - nsload.c nsnames.c nsobject.c nsparse.c nssearch.c \ - nsutils.c nswalk.c nsxfeval.c nsxfname.c nsxfobj.c + nsload.c nsnames.c nsobject.c nsparse.c nspredef.c \ + nssearch.c nsutils.c nswalk.c nsxfeval.c nsxfname.c \ + nsxfobj.c # resources SRCS+= rsaddr.c rscalc.c rscreate.c rsdump.c rsinfo.c \ @@ -51,14 +52,15 @@ SRCS+= tbfadt.c tbfind.c tbinstal.c tbutils.c tbxface.c \ # utilities SRCS+= utalloc.c utcache.c utcopy.c utdebug.c utdelete.c \ - uteval.c utglobal.c utinit.c utmath.c utmisc.c \ + uteval.c utglobal.c utinit.c utlock.c utmath.c utmisc.c \ utmutex.c utobject.c utresrc.c utstate.c uttrack.c \ utxface.c MAN= acpidb.8 WARNS?= 2 -CFLAGS+= -DACPI_EXEC_APP -CFLAGS+=-fno-strict-aliasing +CFLAGS+= -DACPI_EXEC_APP -fno-strict-aliasing +DPADD= ${LIBPTHREAD} +LDADD= -lpthread .include <bsd.prog.mk> diff --git a/usr.sbin/acpi/acpidb/acpidb.c b/usr.sbin/acpi/acpidb/acpidb.c index 6893e54..53d9db1 100644 --- a/usr.sbin/acpi/acpidb/acpidb.c +++ b/usr.sbin/acpi/acpidb/acpidb.c @@ -42,9 +42,8 @@ #include <stdlib.h> #include <unistd.h> -#include <contrib/dev/acpica/acpi.h> -#include <contrib/dev/acpica/acnamesp.h> -#include <contrib/dev/acpica/acdebug.h> +#include <contrib/dev/acpica/include/acpi.h> +#include <contrib/dev/acpica/tools/acpiexec/aecommon.h> /* * Dummy DSDT Table Header @@ -90,7 +89,13 @@ static void aml_simulation_regdump(const char *dumpfile); ACPI_STATUS AeLocalGetRootPointer(void) { - return AE_ERROR; + + return (AE_ERROR); +} + +void +AeTableOverride(ACPI_TABLE_HEADER *ExistingTable, ACPI_TABLE_HEADER **NewTable) +{ } static void |