Skip to content

Commit

Permalink
[efi] Add debug wrappers for all boot services functions of interest
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Sep 18, 2020
1 parent 4bd064d commit e08ad61
Show file tree
Hide file tree
Showing 3 changed files with 605 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/include/ipxe/efi/efi.h
Expand Up @@ -222,7 +222,8 @@ extern EFI_DEVICE_PATH_PROTOCOL *efi_loaded_image_path;
extern EFI_SYSTEM_TABLE *efi_systab;
extern int efi_shutdown_in_progress;

extern const __attribute__ (( pure )) char * efi_guid_ntoa ( EFI_GUID *guid );
extern const __attribute__ (( pure )) char *
efi_guid_ntoa ( CONST EFI_GUID *guid );
extern const __attribute__ (( pure )) char *
efi_locate_search_type_name ( EFI_LOCATE_SEARCH_TYPE search_type );
extern const __attribute__ (( pure )) char *
Expand Down
2 changes: 1 addition & 1 deletion src/interface/efi/efi_debug.c
Expand Up @@ -189,7 +189,7 @@ static struct efi_well_known_guid efi_well_known_guids[] = {
* @v guid GUID
* @ret string Printable string
*/
const __attribute__ (( pure )) char * efi_guid_ntoa ( EFI_GUID *guid ) {
const __attribute__ (( pure )) char * efi_guid_ntoa ( CONST EFI_GUID *guid ) {
union {
union uuid uuid;
EFI_GUID guid;
Expand Down

0 comments on commit e08ad61

Please sign in to comment.