Yasha Cherikovsky (yasha.che3@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/12439
-gerrit
commit 09a9082174fc759383aedb9b315e2be86479407d Author: Yasha Cherikovsky yasha.cherikovsky@gmail.com Date: Sat Nov 14 18:52:35 2015 +0200
coreinfo: Move screen dimensions to header
The screen dimensions need to be known in other files.
Change-Id: Idf6f02e4cadbece78096ccd464296ecec405574d Signed-off-by: Yasha Cherikovsky yasha.che3@gmail.com --- payloads/coreinfo/coreinfo.c | 3 --- payloads/coreinfo/coreinfo.h | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/payloads/coreinfo/coreinfo.c b/payloads/coreinfo/coreinfo.c index a383330..41b5f12 100644 --- a/payloads/coreinfo/coreinfo.c +++ b/payloads/coreinfo/coreinfo.c @@ -15,9 +15,6 @@
#include "coreinfo.h"
-#define SCREEN_Y 25 -#define SCREEN_X 80 - #define KEY_ESC 27
extern struct coreinfo_module cpuinfo_module; diff --git a/payloads/coreinfo/coreinfo.h b/payloads/coreinfo/coreinfo.h index b1f91aa..073c5f9 100644 --- a/payloads/coreinfo/coreinfo.h +++ b/payloads/coreinfo/coreinfo.h @@ -32,4 +32,7 @@ extern void docpuid(int, unsigned long *, unsigned long *, unsigned long *,
void print_module_title(WINDOW *win, const char *title);
+#define SCREEN_Y 25 +#define SCREEN_X 80 + #endif