Skip to content

Commit

Permalink
Fix bootloader 2
Browse files Browse the repository at this point in the history
Fix bootloader 2
  • Loading branch information
andyvand committed Jan 28, 2024
1 parent bc625bb commit d47d876
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 2 deletions.
Binary file modified bin/boot.efi
Binary file not shown.
Binary file modified bin/macosxbootloader-legacy.pkg/Contents/Archive.bom
Binary file not shown.
Binary file modified bin/macosxbootloader-legacy.pkg/Contents/Archive.pax.gz
Binary file not shown.
Binary file modified bin/macosxbootloader.pkg
Binary file not shown.
6 changes: 5 additions & 1 deletion sdk/include/EfiTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ Module Name:
#ifndef _EFI_TYPES_H_
#define _EFI_TYPES_H_

#include "EfiBind.h"
#if defined(__x86_64__) || defined(_M_AMD64)
#include "x64/EfiBind.h"
#elif defined(__i386__) || defined(_M_IX86)
#include "x86/EfiBind.h"
#endif

//
// EFI Data Types based on ANSI C integer types in EfiBind.h
Expand Down
2 changes: 1 addition & 1 deletion src/boot/Hibernate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ BOOLEAN HbStartResumeFromHibernate(UINT8* coreStorageVolumeKeyIdent)
if(needReset)
EfiRuntimeServices->ResetSystem(EfiResetCold, EFI_SUCCESS, 0, nullptr);

return resumeFromCoreStorage';
return resumeFromCoreStorage;
#endif
}

Expand Down

0 comments on commit d47d876

Please sign in to comment.