mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-23 11:35:19 +01:00
text formatting
Signed-off-by: SergeySlice <isakov-sl@bk.ru>
This commit is contained in:
parent
86ac98e9b9
commit
9345c5c5ee
@ -527,7 +527,21 @@
|
||||
<key>Replace</key>
|
||||
<data>SEQgNjQ1MA==</data>
|
||||
</dict>
|
||||
</array>
|
||||
<dict>
|
||||
<key>Comment</key>
|
||||
<string>Patch 8 apples</string>
|
||||
<key>Disabled</key>
|
||||
<true/>
|
||||
<key>Find</key>
|
||||
<data>AQAAdSI=</data>
|
||||
<key>MatchOS</key>
|
||||
<string>10.13</string>
|
||||
<key>Name</key>
|
||||
<string>IOGraphicsFamily</string>
|
||||
<key>Replace</key>
|
||||
<data>AQAA6yI=</data>
|
||||
</dict>
|
||||
</array>
|
||||
<key>KernelXCPM</key>
|
||||
<false/>
|
||||
<key>PanicNoKextDump</key>
|
||||
|
@ -642,7 +642,8 @@ typedef struct {
|
||||
#define MKEXT_SIGNATURE 0x58534f4d
|
||||
#define MKEXT_VERSION_1 0x00800001
|
||||
|
||||
int is_mkext_v1(LOADER_ENTRY *Entry, UINT8* drvPtr) {
|
||||
int is_mkext_v1(LOADER_ENTRY *Entry, UINT8* drvPtr)
|
||||
{
|
||||
_DeviceTreeBuffer *dtb = (_DeviceTreeBuffer*) (((UINT8*)drvPtr) + sizeof(DeviceTreeNodeProperty));
|
||||
MKextHeader* mkext_ptr = (MKextHeader*)(UINTN)(dtb->paddr);
|
||||
|
||||
@ -655,7 +656,8 @@ int is_mkext_v1(LOADER_ENTRY *Entry, UINT8* drvPtr) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
void patch_mkext_v1(LOADER_ENTRY *Entry, UINT8 *drvPtr) {
|
||||
void patch_mkext_v1(LOADER_ENTRY *Entry, UINT8 *drvPtr)
|
||||
{
|
||||
_DeviceTreeBuffer *dtb = (_DeviceTreeBuffer*) (((UINT8*)drvPtr) + sizeof(DeviceTreeNodeProperty));
|
||||
MKextHeader* mkext_ptr = (MKextHeader*)(UINTN)dtb->paddr;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user