Debian Codegraph @

payloads/coreinfo/coreinfo.h

raw symbols SCIP
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 #ifndef COREINFO_H_
4 #define COREINFO_H_
5
6 #include <libpayload.h>
7 #include <config.h>
8 #include <curses.h>
9
10 struct coreinfo_module {
11 char name[15];
12 int (*init) (void);
13 int (*redraw) (WINDOW *);
14 int (*handle) (int);
15 };
16
17 extern void docpuid(uint32_t idx, uint32_t *eax, uint32_t *ebx, uint32_t *ecx, uint32_t *edx);
18
19 void print_module_title(WINDOW *win, const char *title);
20
21 #define SCREEN_Y 25
22 #define SCREEN_X 80
23
24 #endif