Offline SMMSTORE variable modification tool. Can be used to pre-configure ROM image or debug EFI state stored in a dump. Change-Id: I6c1c06f1d0c39c13b5be76a3070f09b715aca6e0 Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/79080 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
		
			
				
	
	
		
			26 lines
		
	
	
		
			470 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			470 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0-or-later */
 | |
| 
 | |
| #ifndef SMMSTORETOOL__GUIDS_H__
 | |
| #define SMMSTORETOOL__GUIDS_H__
 | |
| 
 | |
| #include <stdbool.h>
 | |
| 
 | |
| #include "udk2017.h"
 | |
| 
 | |
| #define GUID_LEN 35
 | |
| 
 | |
| struct guid_alias_t {
 | |
| 	const char *alias;
 | |
| 	EFI_GUID guid;
 | |
| };
 | |
| 
 | |
| extern const struct guid_alias_t known_guids[];
 | |
| 
 | |
| extern const int known_guid_count;
 | |
| 
 | |
| char *format_guid(const EFI_GUID *guid, bool use_alias);
 | |
| 
 | |
| bool parse_guid(const char str[], EFI_GUID *guid);
 | |
| 
 | |
| #endif // SMMSTORETOOL__GUIDS_H__
 |