Skip to content

Commit

Permalink
CrScreenshotDxe: Initial import from LongSoft with compatibility edits
Browse files Browse the repository at this point in the history
  • Loading branch information
vit9696 committed May 31, 2020
1 parent 6d67a12 commit bef9bfd
Show file tree
Hide file tree
Showing 9 changed files with 652 additions and 8 deletions.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ OpenCore Changelog
- Added `TscSyncTimeout` quirk to workaround debug kernel assertions
- Added first-class Windows support to bless model
- Fixed `LapicKernelPanic` kernel quirk on 10.9
- Added prebuilt version of `CrScreenshotDxe` driver

#### v0.5.8
- Fixed invalid CPU object reference in SSDT-PLUG
Expand Down
17 changes: 16 additions & 1 deletion Include/Acidanthera/Protocol/OcBootstrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
///
/// OC_BOOTSTRAP_PROTOCOL revision
///
#define OC_BOOTSTRAP_PROTOCOL_REVISION 5
#define OC_BOOTSTRAP_PROTOCOL_REVISION 6

///
/// Forward declaration of OC_BOOTSTRAP_PROTOCOL structure.
Expand All @@ -55,6 +55,20 @@ EFI_STATUS
IN EFI_DEVICE_PATH_PROTOCOL *LoadPath OPTIONAL
);

/**
Obtain OpenCore load handle.
@param[in] This This protocol.
@retval load handle on success.
@retval NULL on failure.
**/
typedef
EFI_HANDLE
(EFIAPI *OC_GET_LOAD_HANDLE) (
IN OC_BOOTSTRAP_PROTOCOL *This
);

///
/// The structure exposed by the OC_BOOTSTRAP_PROTOCOL.
///
Expand All @@ -63,6 +77,7 @@ struct OC_BOOTSTRAP_PROTOCOL_ {
UINTN NestedCount;
OC_RSA_PUBLIC_KEY *VaultKey;
OC_BOOTSTRAP_RERUN ReRun;
OC_GET_LOAD_HANDLE GetLoadHandle;
};

extern EFI_GUID gOcBootstrapProtocolGuid;
Expand Down
1 change: 1 addition & 0 deletions OpenCorePkg.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@
OpenCorePkg/Library/OcUnicodeCollationEngLib/OcUnicodeCollationEngLocalLib.inf
OpenCorePkg/Library/OcVirtualFsLib/OcVirtualFsLib.inf
OpenCorePkg/Library/OcXmlLib/OcXmlLib.inf
OpenCorePkg/Platform/CrScreenshotDxe/CrScreenshotDxe.inf
OpenCorePkg/Platform/OpenCanopy/OpenCanopy.inf
OpenCorePkg/Platform/OpenCore/OpenCore.inf
OpenCorePkg/Platform/OpenRuntime/OpenRuntime.inf
Expand Down
Loading

0 comments on commit bef9bfd

Please sign in to comment.