[coreboot-gerrit] Patch set updated for coreboot: ad802c7 acpigen: Remove acpigen_patch_len
Vladimir Serbinenko (phcoder@gmail.com)
gerrit at coreboot.org
Wed Nov 26 23:20:58 CET 2014
Vladimir Serbinenko (phcoder at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7365
-gerrit
commit ad802c773ffc267950e49fee1383f5ce3ecee64b
Author: Vladimir Serbinenko <phcoder at gmail.com>
Date: Sun Nov 9 03:33:51 2014 +0100
acpigen: Remove acpigen_patch_len
Change-Id: I77276342b3f44c7c845a10682ff1f15599c4c721
Signed-off-by: Vladimir Serbinenko <phcoder at gmail.com>
---
src/arch/x86/boot/acpigen.c | 13 +------------
src/arch/x86/include/arch/acpigen.h | 1 -
2 files changed, 1 insertion(+), 13 deletions(-)
diff --git a/src/arch/x86/boot/acpigen.c b/src/arch/x86/boot/acpigen.c
index 8e7ce46..850fe91 100644
--- a/src/arch/x86/boot/acpigen.c
+++ b/src/arch/x86/boot/acpigen.c
@@ -22,7 +22,7 @@
/*
* If you need to change this, change acpigen_write_f and
- * acpigen_patch_len
+ * acpigen_pop_len
*/
#define ACPIGEN_MAXLEN 0xfff
@@ -46,17 +46,6 @@ int acpigen_write_len_f(void)
return 2;
}
-void acpigen_patch_len(int len)
-{
- ASSERT(len <= ACPIGEN_MAXLEN)
- ASSERT(ltop > 0)
- char *p = len_stack[--ltop];
- /* generate store length for 0xfff max */
- p[0] = (0x40 | (len & 0xf));
- p[1] = (len >> 4 & 0xff);
-
-}
-
void acpigen_pop_len(void)
{
int len;
diff --git a/src/arch/x86/include/arch/acpigen.h b/src/arch/x86/include/arch/acpigen.h
index 64f4969..e4d6f1e 100644
--- a/src/arch/x86/include/arch/acpigen.h
+++ b/src/arch/x86/include/arch/acpigen.h
@@ -26,7 +26,6 @@
#include <arch/acpi.h>
int acpigen_write_len_f(void);
-void acpigen_patch_len(int len);
void acpigen_pop_len(void);
void acpigen_set_current(char *curr);
char *acpigen_get_current(void);
More information about the coreboot-gerrit
mailing list