Stefan Reinauer (stefan.reinauer@coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/947
-gerrit
commit 4ecbb5dddaba5ddef2859958bcc6486d073f4e12 Author: Stefan Reinauer stefan.reinauer@coreboot.org Date: Fri Apr 27 21:55:05 2012 +0200
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 --- src/arch/x86/boot/acpigen.c | 2 +- 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 ac1dec2..34067ba 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 335d1bc..ae8aaf7 100644 --- a/src/arch/x86/include/arch/acpigen.h +++ b/src/arch/x86/include/arch/acpigen.h @@ -25,6 +25,7 @@ #include <stdint.h> #include <arch/acpi.h>
+int acpigen_write_len_f(void); void acpigen_patch_len(int len); void acpigen_set_current(char *curr); char *acpigen_get_current(void);