soc/intel/xeon_sp/util: Enhance lock_pam0123
[coreboot2.git] / payloads / coreinfo / coreinfo.h
blobb96af89efd7863bddb35e1bd086d3d3fc7cac56b
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef COREINFO_H_
4 #define COREINFO_H_
6 #include <libpayload.h>
7 #include <config.h>
8 #include <curses.h>
10 struct coreinfo_module {
11 char name[15];
12 int (*init) (void);
13 int (*redraw) (WINDOW *);
14 int (*handle) (int);
17 extern void docpuid(uint32_t idx, uint32_t *eax, uint32_t *ebx, uint32_t *ecx, uint32_t *edx);
19 void print_module_title(WINDOW *win, const char *title);
21 #define SCREEN_Y 25
22 #define SCREEN_X 80
24 #endif