Fix typo and Black screen when waking from sleep on HD5500

checked it on Samsung nt910s5k
This commit is contained in:
Sherlocks 2020-03-07 22:35:01 +09:00
parent a00e148510
commit 3d0d641caa
2 changed files with 2 additions and 2 deletions

View File

@ -2313,7 +2313,7 @@ BOOLEAN setup_gma_devprop(LOADER_ENTRY *Entry, pci_dt_t *gma_dev)
}
if (!SetIg) {
devprop_add_value(device, "AAPL,ig-platform-id", broadwell_ig_vals[6], 4);
DBG(" Found ig-platform-id = 0x16160002\n");
DBG(" Found ig-platform-id = 0x16260006\n");
}
break;
case 0x161E:

View File

@ -723,7 +723,7 @@ BOOLEAN KernelLapicPatch_64(VOID *kernelData)
} else {
if (bytes[patchLocation1 + 8] == 0x3B && bytes[patchLocation1 + 9] == 0x05 &&
bytes[patchLocation1 + 13] == 0x00) {
// 65 8B 04 25 1C 00 00 00 3B XX XX XX XX 00
// 65 8B 04 25 XX 00 00 00 3B 05 XX XX XX 00
// 31 C0 90 90 90 90 90 90 90 90 90 90 90 90
DBG("Patched Lapic panic (10.10 - recent macOS)\n");
bytes[patchLocation1 + 0] = 0x31;