- Remove copyright notices and add authors to AUTHORS - Use SPDX license identifiers for all files - Add coreinfo to the license header lint Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Change-Id: Ib0c5328a4027849b1eda4f57141a898335230726 Reviewed-on: https://review.coreboot.org/c/coreboot/+/45178 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
		
			
				
	
	
		
			25 lines
		
	
	
		
			468 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			468 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0-only */
 | |
| 
 | |
| #ifndef COREINFO_H_
 | |
| #define COREINFO_H_
 | |
| 
 | |
| #include <libpayload.h>
 | |
| #include <config.h>
 | |
| #include <curses.h>
 | |
| 
 | |
| struct coreinfo_module {
 | |
| 	char name[15];
 | |
| 	int (*init) (void);
 | |
| 	int (*redraw) (WINDOW *);
 | |
| 	int (*handle) (int);
 | |
| };
 | |
| 
 | |
| extern void docpuid(uint32_t idx, uint32_t *eax, uint32_t *ebx, uint32_t *ecx, uint32_t *edx);
 | |
| 
 | |
| void print_module_title(WINDOW *win, const char *title);
 | |
| 
 | |
| #define SCREEN_Y 25
 | |
| #define SCREEN_X 80
 | |
| 
 | |
| #endif
 |