mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-23 11:35:19 +01:00
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:
parent
070db047fb
commit
43e6e3b3bb
@ -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
|
||||
|
@ -213,7 +213,8 @@ BiosVideoDriverBindingSupported (
|
||||
}
|
||||
|
||||
Status = EFI_UNSUPPORTED;
|
||||
if (Pci.Hdr.ClassCode[2] == 0x03 || (Pci.Hdr.ClassCode[2] == 0x00 && Pci.Hdr.ClassCode[1] == 0x01)) {
|
||||
if ((Pci.Hdr.ClassCode[2] == 0x03 || (Pci.Hdr.ClassCode[2] == 0x00 && Pci.Hdr.ClassCode[1] == 0x01)) &&
|
||||
Pci.Hdr.VendorId != 0x8086) {
|
||||
|
||||
Status = EFI_SUCCESS;
|
||||
//
|
||||
@ -2298,7 +2299,7 @@ BiosVideoGraphicsOutputSetMode (
|
||||
|
||||
//
|
||||
// Boot speedup: Check if RT var "BiosVideoBlockSwitchMode" is set.
|
||||
// If yes, then do not swicth mode.
|
||||
// If yes, then do not switch mode.
|
||||
//
|
||||
DataSize = 0;
|
||||
if (gBiosVideoBlockSwitchMode) {
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user