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> Reviewed-on: http://review.coreboot.org/12439 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
8fe681872b
commit
b7eb1715ba
|
@ -15,9 +15,6 @@
|
||||||
|
|
||||||
#include "coreinfo.h"
|
#include "coreinfo.h"
|
||||||
|
|
||||||
#define SCREEN_Y 25
|
|
||||||
#define SCREEN_X 80
|
|
||||||
|
|
||||||
#define KEY_ESC 27
|
#define KEY_ESC 27
|
||||||
|
|
||||||
extern struct coreinfo_module cpuinfo_module;
|
extern struct coreinfo_module cpuinfo_module;
|
||||||
|
|
|
@ -32,4 +32,7 @@ extern void docpuid(int, unsigned long *, unsigned long *, unsigned long *,
|
||||||
|
|
||||||
void print_module_title(WINDOW *win, const char *title);
|
void print_module_title(WINDOW *win, const char *title);
|
||||||
|
|
||||||
|
#define SCREEN_Y 25
|
||||||
|
#define SCREEN_X 80
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue