Skip to content
Permalink
Browse files

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
  • Loading branch information...
jcs committed Jul 31, 2019
1 parent 4bd2aad commit becffb292ba3d0ef8abae6163069da7b0d7fe664
Showing with 3 additions and 3 deletions.
  1. +3 −3 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", },

0 comments on commit becffb2

Please sign in to comment.
You can’t perform that action at this time.