summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorPatrick Rudolph <siro@das-labor.org>2017-06-06 19:24:08 +0200
committerPatrick Rudolph <siro@das-labor.org>2017-06-08 11:40:31 +0200
commita038835716b3a09bd3d5ab3fd7e3d48d3c3a6f13 (patch)
treea0d6a5cbd09f2e348f9a40312a11c72355579e63 /src/arch
parent6086b4ee38bf7f004fdff4e5f783754607da54e5 (diff)
downloadcoreboot-a038835716b3a09bd3d5ab3fd7e3d48d3c3a6f13.tar.xz
arch/x86/acpigen: Add additional opcodes
Add additional ACPI opcodes, that are going to be used in the following commits. Change-Id: I20c3aa5a1412e5ef68831027137e9ed9e26ddbc9 Signed-off-by: Patrick Rudolph <siro@das-labor.org> Reviewed-on: https://review.coreboot.org/20087 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/include/arch/acpigen.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/arch/x86/include/arch/acpigen.h b/src/arch/x86/include/arch/acpigen.h
index f76fce8ffb..37d0d5572d 100644
--- a/src/arch/x86/include/arch/acpigen.h
+++ b/src/arch/x86/include/arch/acpigen.h
@@ -53,6 +53,7 @@ enum {
DUAL_NAME_PREFIX = 0x2E,
MULTI_NAME_PREFIX = 0x2F,
EXT_OP_PREFIX = 0x5B,
+ CREATEFIELD_OP = 0x13,
SLEEP_OP = 0x22,
DEBUG_OP = 0x31,
OPREGION_OP = 0x80,
@@ -76,10 +77,14 @@ enum {
ARG5_OP = 0x6D,
ARG6_OP = 0x6E,
STORE_OP = 0x70,
+ SUBTRACT_OP = 0x74,
+ MULTIPLY_OP = 0x77,
AND_OP = 0x7B,
OR_OP = 0x7D,
NOT_OP = 0x80,
LEQUAL_OP = 0x93,
+ LGREATER_OP = 0x94,
+ LLESS_OP = 0x95,
TO_BUFFER_OP = 0x96,
TO_INTEGER_OP = 0x99,
IF_OP = 0xA0,