summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/acpi/acpidb/Makefile10
-rw-r--r--usr.sbin/acpi/acpidb/acpidb.c14
-rw-r--r--usr.sbin/acpi/iasl/Makefile3
3 files changed, 14 insertions, 13 deletions
diff --git a/usr.sbin/acpi/acpidb/Makefile b/usr.sbin/acpi/acpidb/Makefile
index 1694867..5981f38 100644
--- a/usr.sbin/acpi/acpidb/Makefile
+++ b/usr.sbin/acpi/acpidb/Makefile
@@ -38,8 +38,8 @@ 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 nspredef.c \
- nssearch.c nsutils.c nswalk.c nsxfeval.c nsxfname.c \
- nsxfobj.c
+ nsrepair.c nsrepair2.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 \
@@ -52,9 +52,9 @@ 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 utlock.c utmath.c utmisc.c \
- utmutex.c utobject.c utresrc.c utstate.c uttrack.c \
- utxface.c
+ uteval.c utglobal.c utids.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
diff --git a/usr.sbin/acpi/acpidb/acpidb.c b/usr.sbin/acpi/acpidb/acpidb.c
index 53d9db1..325dfae 100644
--- a/usr.sbin/acpi/acpidb/acpidb.c
+++ b/usr.sbin/acpi/acpidb/acpidb.c
@@ -81,7 +81,7 @@ static int aml_simulate_regcontent_read(int regtype,
static int aml_simulate_regcontent_write(int regtype,
ACPI_PHYSICAL_ADDRESS addr,
UINT8 *valuep);
-static ACPI_INTEGER aml_simulate_prompt(char *msg, ACPI_INTEGER def_val);
+static UINT64 aml_simulate_prompt(char *msg, UINT64 def_val);
static void aml_simulation_regload(const char *dumpfile);
static void aml_simulation_regdump(const char *dumpfile);
@@ -161,11 +161,11 @@ aml_simulate_regcontent_write(int regtype, ACPI_PHYSICAL_ADDRESS addr, UINT8 *va
return (aml_simulate_regcontent_add(regtype, addr, *valuep));
}
-static ACPI_INTEGER
-aml_simulate_prompt(char *msg, ACPI_INTEGER def_val)
+static UINT64
+aml_simulate_prompt(char *msg, UINT64 def_val)
{
char buf[16], *ep;
- ACPI_INTEGER val;
+ UINT64 val;
val = def_val;
printf("DEBUG");
@@ -271,12 +271,12 @@ aml_vm_space_handler(
UINT32 Function,
ACPI_PHYSICAL_ADDRESS Address,
UINT32 BitWidth,
- ACPI_INTEGER *Value,
+ UINT64 *Value,
int Prompt)
{
int state;
UINT8 val;
- ACPI_INTEGER value, i;
+ UINT64 value, i;
char msg[256];
static const char *space_names[] = {
"SYSTEM_MEMORY", "SYSTEM_IO", "PCI_CONFIG",
@@ -336,7 +336,7 @@ aml_vm_space_handler_##name ( \
UINT32 Function, \
ACPI_PHYSICAL_ADDRESS Address, \
UINT32 BitWidth, \
- ACPI_INTEGER *Value) \
+ UINT64 *Value) \
{ \
return (aml_vm_space_handler(id, Function, Address, \
BitWidth, Value, aml_debug_prompt)); \
diff --git a/usr.sbin/acpi/iasl/Makefile b/usr.sbin/acpi/iasl/Makefile
index 551bfc6..ff6ebd7 100644
--- a/usr.sbin/acpi/iasl/Makefile
+++ b/usr.sbin/acpi/iasl/Makefile
@@ -5,7 +5,8 @@ SRCS= adfile.c adisasm.c adwalk.c
SRCS+= osunixxf.c
# common
-SRCS+= dmrestag.c dmtable.c dmtbdump.c dmtbinfo.c getopt.c
+SRCS+= dmextern.c dmrestag.c dmtable.c dmtbdump.c dmtbinfo.c \
+ getopt.c
# compiler
SRCS+= aslanalyze.c aslcodegen.c aslcompile.c aslcompiler.y.h \
OpenPOWER on IntegriCloud