summaryrefslogtreecommitdiffstats
path: root/usr.sbin/acpi
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2010-01-21 21:14:28 +0000
committerjkim <jkim@FreeBSD.org>2010-01-21 21:14:28 +0000
commitfa5d03cca6e75599903d9e88eb88558b07b57224 (patch)
tree88dae9a5d7e108bfbd0e233fac4e5d043718b0b2 /usr.sbin/acpi
parent83fed061c4fe4086f0414be4bd83235282f469cb (diff)
downloadFreeBSD-src-fa5d03cca6e75599903d9e88eb88558b07b57224.zip
FreeBSD-src-fa5d03cca6e75599903d9e88eb88558b07b57224.tar.gz
Merge ACPICA 20100121.
Diffstat (limited to 'usr.sbin/acpi')
-rw-r--r--usr.sbin/acpi/acpidb/acpidb.c14
1 files changed, 7 insertions, 7 deletions
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)); \
OpenPOWER on IntegriCloud