summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJoshua Stein <jcs@cvs.openbsd.org>2019-07-31 15:47:50 +0000
committerJoshua Stein <jcs@cvs.openbsd.org>2019-07-31 15:47:50 +0000
commit968519120280ef3cee580fabc789a5f13f6afa7a (patch)
tree96f6a8f837e0d666266e9b9831dd7106d635de44 /sys/dev
parent558388d443c43c38c9cfe92a46775cda88f6e441 (diff)
The ACPI 3 spec says the ToHexString and ToDec(imal)String
operators can take a data argument of Integer, String, or Buffer types, not just Integer. ok kettenis, deraadt
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/acpi/dsdt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/acpi/dsdt.c b/sys/dev/acpi/dsdt.c
index 30b5eed4afe..cbd38c9be6f 100644
--- a/sys/dev/acpi/dsdt.c
+++ b/sys/dev/acpi/dsdt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsdt.c,v 1.244 2019/01/10 18:50:32 kettenis Exp $ */
+/* $OpenBSD: dsdt.c,v 1.245 2019/07/31 15:47:49 jcs Exp $ */
/*
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
*
@@ -230,8 +230,8 @@ struct aml_opcode aml_table[] = {
/* Conversion operations */
{ AMLOP_TOINTEGER, "ToInteger", "tr", },
{ AMLOP_TOBUFFER, "ToBuffer", "tr", },
- { AMLOP_TODECSTRING, "ToDecString", "ir", },
- { AMLOP_TOHEXSTRING, "ToHexString", "ir", },
+ { AMLOP_TODECSTRING, "ToDecString", "tr", },
+ { AMLOP_TOHEXSTRING, "ToHexString", "tr", },
{ AMLOP_TOSTRING, "ToString", "tir", },
{ AMLOP_MID, "Mid", "tiir", },
{ AMLOP_FROMBCD, "FromBCD", "ir", },