From 968519120280ef3cee580fabc789a5f13f6afa7a Mon Sep 17 00:00:00 2001 From: Joshua Stein Date: Wed, 31 Jul 2019 15:47:50 +0000 Subject: 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 --- sys/dev/acpi/dsdt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev') 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 * @@ -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", }, -- cgit v1.2.3