summaryrefslogtreecommitdiff
path: root/src/arch/x86/include
diff options
context:
space:
mode:
authorNaresh G Solanki <naresh.solanki@intel.com>2016-11-17 00:16:29 +0530
committerFurquan Shaikh <furquan@google.com>2016-11-17 21:09:27 +0100
commit05abe4351b1d76148a8cc69f817e659fa372a5dd (patch)
tree1c00850c4819fa08c734e4b8fc7cc1c1bbcfdbbe /src/arch/x86/include
parent676b4878971b2fd782fbf97095d7cf0867ba00fe (diff)
downloadcoreboot-05abe4351b1d76148a8cc69f817e659fa372a5dd.tar.xz
arch/x86/acpigen: Implement acpigen functions to return integer & string
Add ACPI method to return integer & string. Change-Id: I2a668ccadecb71b71531e2eb53a52015fca96738 Signed-off-by: Naresh G Solanki <naresh.solanki@intel.com> Reviewed-on: https://review.coreboot.org/17450 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/arch/x86/include')
-rw-r--r--src/arch/x86/include/arch/acpigen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/x86/include/arch/acpigen.h b/src/arch/x86/include/arch/acpigen.h
index 572ae6c248..dcd8fb7a64 100644
--- a/src/arch/x86/include/arch/acpigen.h
+++ b/src/arch/x86/include/arch/acpigen.h
@@ -144,6 +144,8 @@ struct opregion {
unsigned long regionlen;
};
+void acpigen_write_return_integer(uint64_t arg);
+void acpigen_write_return_string(const char *arg);
void acpigen_write_len_f(void);
void acpigen_pop_len(void);
void acpigen_set_current(char *curr);