dont produce _SUN for graphics

don attach CsmVideo to Intel
exclude EFIVersion from table 11

Signed-off-by: SergeySlice <isakov-sl@bk.ru>
This commit is contained in:
SergeySlice 2019-12-20 08:49:28 +03:00
parent 070db047fb
commit 43e6e3b3bb
4 changed files with 3574 additions and 3570 deletions

View File

@ -386,7 +386,7 @@
CloverEFI/BiosVideo/BiosVideo.inf
#BiosVideoAuto/BiosVideo.inf
LegacyBios/VideoDxe/VideoDxe.inf
#LegacyBios/VideoDxe/VideoDxe2.inf
LegacyBios/VideoDxe/VideoDxe2.inf
# IDE/AHCI Support
!ifdef USE_BIOS_BLOCKIO

File diff suppressed because it is too large Load Diff

View File

@ -2653,6 +2653,7 @@ UINT32 FIXDisplay (UINT8 *dsdt, UINT32 len, INT32 VCard)
Skip_DSM:
//add _sun
/*
switch (DisplayVendor[VCard]) {
case 0x10DE:
case 0x1002:
@ -2675,6 +2676,7 @@ Skip_DSM:
}
break;
}
*/
if (!NonUsable) {
//now insert video
@ -3042,6 +3044,7 @@ UINT32 FIXNetwork (UINT8 *dsdt, UINT32 len, UINT32 card)
}
}
}
// add Method(_DSM,4,NotSerialized) for network
if (gSettings.FakeLAN || !gSettings.NoDefaultProperties) {
met = aml_add_method(dev, "_DSM", 4);

View File

@ -1084,8 +1084,8 @@ VOID PatchTableType11()
AsciiStrCatS(OEMString, MAX_OEM_STRING, "Apple ROM Version.\n");
AsciiStrCatS(OEMString, MAX_OEM_STRING, " BIOS ID:");
AsciiStrnCatS(OEMString, MAX_OEM_STRING, gSettings.RomVersion, iStrLen(gSettings.RomVersion, 64));
AsciiStrCatS(OEMString, MAX_OEM_STRING, "\n EFI Version:");
AsciiStrnCatS(OEMString, MAX_OEM_STRING, gSettings.EfiVersion, iStrLen(gSettings.EfiVersion, 64));
// AsciiStrCatS(OEMString, MAX_OEM_STRING, "\n EFI Version:");
// AsciiStrnCatS(OEMString, MAX_OEM_STRING, gSettings.EfiVersion, iStrLen(gSettings.EfiVersion, 64));
AsciiStrCatS(OEMString, MAX_OEM_STRING, "\n Board-ID : ");
AsciiStrnCatS(OEMString, MAX_OEM_STRING, gSettings.BoardNumber, iStrLen(gSettings.BoardNumber, 64));
AsciiSPrint(TempRev, MAX_OEM_STRING, "\n⌘ Powered by Clover v2.5k %s\n", gFirmwareRevision);