diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2012-04-27 21:55:05 +0200 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2012-04-28 09:03:40 +0200 |
commit | 5b73d4d1bbfa79d4672fa96822f5337860a8ee29 (patch) | |
tree | 1a2fab8d5d48da605995c40f877e2b5bc0f83638 /src/arch | |
parent | 51b8f05ab3082d8dae5077ff01753d29546f8ce6 (diff) |
acpigen: make acpigen_write_len_f() non static
since it is used in CPU specific ACPI generation code
Change-Id: I2559658f43c89dc5b4dc8230dea8847d2802990c
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/947
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/x86/boot/acpigen.c | 2 | ||||
-rw-r--r-- | src/arch/x86/include/arch/acpigen.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/x86/boot/acpigen.c b/src/arch/x86/boot/acpigen.c index 7dc7fed3a7..6d2832ce2d 100644 --- a/src/arch/x86/boot/acpigen.c +++ b/src/arch/x86/boot/acpigen.c @@ -35,7 +35,7 @@ static char *gencurrent; char *len_stack[ACPIGEN_LENSTACK_SIZE]; int ltop = 0; -static int acpigen_write_len_f(void) +int acpigen_write_len_f(void) { ASSERT(ltop < (ACPIGEN_LENSTACK_SIZE - 1)) len_stack[ltop++] = gencurrent; diff --git a/src/arch/x86/include/arch/acpigen.h b/src/arch/x86/include/arch/acpigen.h index 9dc9675bd6..8b5513ce5e 100644 --- a/src/arch/x86/include/arch/acpigen.h +++ b/src/arch/x86/include/arch/acpigen.h @@ -35,6 +35,7 @@ struct cst_entry { int power; }; +int acpigen_write_len_f(void); void acpigen_patch_len(int len); void acpigen_set_current(char *curr); char *acpigen_get_current(void); |