mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-22 11:25:42 +01:00
prevent wrong patching Field
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
This commit is contained in:
parent
85906d7816
commit
90148880ac
@ -1392,7 +1392,10 @@ UINT32 CorrectOuters (UINT8 *dsdt, UINT32 len, UINT32 adr, INT32 shift)
|
||||
if ((dsdt[i] == 0x5B) && (dsdt[i+1] == 0x82) && !CmpNum(dsdt, i, TRUE)) { //device candidate
|
||||
k = i + 2;
|
||||
} else if ((dsdt[i] == 0x10) && !CmpNum(dsdt, i, TRUE)) { //device scope like Scope (_PCI)
|
||||
k = i + 1;
|
||||
//additional check for Field
|
||||
if (!((dsdt[i - 2] == 0x5B) && (dsdt[i - 1] == 0x81))) {
|
||||
k = i + 1;
|
||||
}
|
||||
}
|
||||
if ( k != 0) {
|
||||
size = get_size(dsdt, k);
|
||||
|
@ -342,7 +342,7 @@ radeon_card_info_t radeon_cards[] = {
|
||||
{ 0x6819, CHIP_FAMILY_PITCAIRN, "AMD Radeon HD 7850 Series", kFutomaki }, //R7 265
|
||||
|
||||
// VERDE
|
||||
{ 0x6820, CHIP_FAMILY_VERDE, "AMD Radeon HD 7700 Series", kBuri }, // Mobile
|
||||
{ 0x6820, CHIP_FAMILY_VERDE, "AMD Radeon R9 m370x", kBuri }, // Mobile
|
||||
{ 0x6821, CHIP_FAMILY_VERDE, "AMD Radeon HD 7700 Series", kBuri }, // Mobile
|
||||
{ 0x6822, CHIP_FAMILY_VERDE, "AMD Radeon E8860", kBuri }, // Mobile
|
||||
{ 0x6823, CHIP_FAMILY_VERDE, "AMD Radeon HD 8800M Series", kBuri }, // Mobile
|
||||
|
Loading…
Reference in New Issue
Block a user