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 7478bbe45ae3c31bab36d682b750f91abd08da21 Author: Yasha Cherikovsky yasha.che3@gmail.com Date: Sat Nov 14 19:16:58 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