mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-23 11:35:19 +01:00
Rename MACHINE_TYPES enum to MacModel.
Rename PLATFORMDATA array to ApplePlatformDataArrayClass. Refactor so enum MacModel doesn't have to be in the same order as ApplePlatformDataArrayClass. Create static_assert that guarantee that all model has platform data.
This commit is contained in:
parent
8b14c24c7c
commit
cee098d1e6
@ -13,6 +13,8 @@
|
||||
|
||||
#include "../../../rEFIt_UEFI/cpp_unit_test/all_tests.h"
|
||||
#include "../../../rEFIt_UEFI/cpp_foundation/XToolsCommon.h"
|
||||
#include "../../../rEFIt_UEFI/Platform/platformdata.h"
|
||||
|
||||
//class Boolean
|
||||
//{
|
||||
// bool flag;
|
||||
@ -49,8 +51,11 @@ extern "C" int main(int argc, const char * argv[])
|
||||
// b = (char*)NULL;
|
||||
// b = (float)1.0;
|
||||
// b = i;
|
||||
printf("%d", numeric_limits<int>::min());
|
||||
printf("%d", numeric_limits<int>::min());
|
||||
//printf("%d", numeric_limits<int>::min());
|
||||
//printf("%d", numeric_limits<int>::min());
|
||||
|
||||
|
||||
|
||||
|
||||
return all_tests() ? 0 : -1 ;
|
||||
}
|
||||
|
@ -473,12 +473,12 @@ SetupDataForOSX(XBool Hibernate)
|
||||
UINT64 ARTFrequency;
|
||||
UINTN Revision;
|
||||
UINT16 Zero = 0;
|
||||
XBool isRevLess = (ApplePlatformData[GlobalConfig.CurrentModel].smcRevision[0] == 0 &&
|
||||
ApplePlatformData[GlobalConfig.CurrentModel].smcRevision[1] == 0 &&
|
||||
ApplePlatformData[GlobalConfig.CurrentModel].smcRevision[2] == 0 &&
|
||||
ApplePlatformData[GlobalConfig.CurrentModel].smcRevision[3] == 0 &&
|
||||
ApplePlatformData[GlobalConfig.CurrentModel].smcRevision[4] == 0 &&
|
||||
ApplePlatformData[GlobalConfig.CurrentModel].smcRevision[5] == 0);
|
||||
XBool isRevLess = (ApplePlatformDataArray[GlobalConfig.CurrentModel].smcRevision[0] == 0 &&
|
||||
ApplePlatformDataArray[GlobalConfig.CurrentModel].smcRevision[1] == 0 &&
|
||||
ApplePlatformDataArray[GlobalConfig.CurrentModel].smcRevision[2] == 0 &&
|
||||
ApplePlatformDataArray[GlobalConfig.CurrentModel].smcRevision[3] == 0 &&
|
||||
ApplePlatformDataArray[GlobalConfig.CurrentModel].smcRevision[4] == 0 &&
|
||||
ApplePlatformDataArray[GlobalConfig.CurrentModel].smcRevision[5] == 0);
|
||||
|
||||
Revision = StrDecimalToUintn(gFirmwareRevision);
|
||||
|
||||
@ -561,8 +561,8 @@ SetupDataForOSX(XBool Hibernate)
|
||||
// SMC helper
|
||||
if (!isRevLess) {
|
||||
LogDataHub(&gEfiMiscSubClassGuid, L"RBr", &RBr, 8);
|
||||
LogDataHub(&gEfiMiscSubClassGuid, L"EPCI", &ApplePlatformData[GlobalConfig.CurrentModel].smcConfig, 4);
|
||||
LogDataHub(&gEfiMiscSubClassGuid, L"REV", &ApplePlatformData[GlobalConfig.CurrentModel].smcRevision, 6);
|
||||
LogDataHub(&gEfiMiscSubClassGuid, L"EPCI", &ApplePlatformDataArray[GlobalConfig.CurrentModel].smcConfig, 4);
|
||||
LogDataHub(&gEfiMiscSubClassGuid, L"REV", &ApplePlatformDataArray[GlobalConfig.CurrentModel].smcRevision, 6);
|
||||
}
|
||||
LogDataHub(&gEfiMiscSubClassGuid, L"RPlt", RPlt, 8);
|
||||
LogDataHub(&gEfiMiscSubClassGuid, L"BEMB", &gSettings.Smbios.Mobile, 1);
|
||||
@ -578,8 +578,8 @@ SetupDataForOSX(XBool Hibernate)
|
||||
}
|
||||
if (!isRevLess) {
|
||||
AddSMCkey(SMC_MAKE_KEY('R','B','r',' '), 8, SmcKeyTypeCh8, (SMC_DATA *)&RBr);
|
||||
AddSMCkey(SMC_MAKE_KEY('E','P','C','I'), 4, SmcKeyTypeUint32, (SMC_DATA *)&ApplePlatformData[GlobalConfig.CurrentModel].smcConfig);
|
||||
AddSMCkey(SMC_MAKE_KEY('R','E','V',' '), 6, SmcKeyTypeCh8, (SMC_DATA *)&ApplePlatformData[GlobalConfig.CurrentModel].smcRevision);
|
||||
AddSMCkey(SMC_MAKE_KEY('E','P','C','I'), 4, SmcKeyTypeUint32, (SMC_DATA *)&ApplePlatformDataArray[GlobalConfig.CurrentModel].smcConfig);
|
||||
AddSMCkey(SMC_MAKE_KEY('R','E','V',' '), 6, SmcKeyTypeCh8, (SMC_DATA *)&ApplePlatformDataArray[GlobalConfig.CurrentModel].smcRevision);
|
||||
}
|
||||
AddSMCkey(SMC_MAKE_KEY('R','P','l','t'), 8, SmcKeyTypeCh8, (SMC_DATA *)&RPlt);
|
||||
AddSMCkey(SMC_MAKE_KEY('B','E','M','B'), 1, SmcKeyTypeFlag, (SMC_DATA *)&gSettings.Smbios.Mobile);
|
||||
|
160
rEFIt_UEFI/Platform/PlatformdataModels.h
Normal file
160
rEFIt_UEFI/Platform/PlatformdataModels.h
Normal file
@ -0,0 +1,160 @@
|
||||
/*
|
||||
* PlatformdataModels.h
|
||||
*
|
||||
* Created on: 16 Apr 2020
|
||||
* Author: jief
|
||||
*/
|
||||
|
||||
//#ifndef PLATFORM_PLATFORMDATAMODELS_H_
|
||||
//#define PLATFORM_PLATFORMDATAMODELS_H_
|
||||
|
||||
|
||||
|
||||
//https://webdevdesigner.com/q/is-there-a-simple-way-to-convert-c-enum-to-string-30844/
|
||||
//enum Colours {
|
||||
//# define X(a) a,
|
||||
//# include "colours.def"
|
||||
//# undef X
|
||||
// ColoursCount
|
||||
//};
|
||||
//
|
||||
//char const* const MachineModelName[] = {
|
||||
//# define X(a) #a,
|
||||
//# include "colours.def"
|
||||
//# undef X
|
||||
// 0
|
||||
//};
|
||||
//Cependant, je préfère la méthode suivante, de sorte qu'il est possible de modifier la chaîne un peu.
|
||||
//
|
||||
//#define X(a, b) a,
|
||||
//#define X(a, b) b,
|
||||
//
|
||||
//X(Red, "red")
|
||||
//X(Green, "green")
|
||||
//// etc.
|
||||
|
||||
|
||||
|
||||
DEFINE_ENUM(MacBook11, "MacBook1,1")
|
||||
DEFINE_ENUM(MacBook21, "MacBook2,1")
|
||||
DEFINE_ENUM(MacBook31, "MacBook3,1")
|
||||
DEFINE_ENUM(MacBook41, "MacBook4,1")
|
||||
DEFINE_ENUM(MacBook51, "MacBook5,1")
|
||||
DEFINE_ENUM(MacBook52, "MacBook5,2")
|
||||
DEFINE_ENUM(MacBook61, "MacBook6,1")
|
||||
DEFINE_ENUM(MacBook71, "MacBook7,1")
|
||||
DEFINE_ENUM(MacBook81, "MacBook8,1")
|
||||
DEFINE_ENUM(MacBook91, "MacBook9,1")
|
||||
DEFINE_ENUM(MacBook101, "MacBook10,1")
|
||||
DEFINE_ENUM(MacBookPro11, "MacBookPro1,1")
|
||||
DEFINE_ENUM(MacBookPro12, "MacBookPro1,2")
|
||||
DEFINE_ENUM(MacBookPro21, "MacBookPro2,1")
|
||||
DEFINE_ENUM(MacBookPro22, "MacBookPro2,2")
|
||||
DEFINE_ENUM(MacBookPro31, "MacBookPro3,1")
|
||||
DEFINE_ENUM(MacBookPro41, "MacBookPro4,1")
|
||||
DEFINE_ENUM(MacBookPro51, "MacBookPro5,1")
|
||||
DEFINE_ENUM(MacBookPro52, "MacBookPro5,2")
|
||||
DEFINE_ENUM(MacBookPro53, "MacBookPro5,3")
|
||||
DEFINE_ENUM(MacBookPro54, "MacBookPro5,4")
|
||||
DEFINE_ENUM(MacBookPro55, "MacBookPro5,5")
|
||||
DEFINE_ENUM(MacBookPro61, "MacBookPro6,1")
|
||||
DEFINE_ENUM(MacBookPro62, "MacBookPro6,2")
|
||||
DEFINE_ENUM(MacBookPro71, "MacBookPro7,1")
|
||||
DEFINE_ENUM(MacBookPro81, "MacBookPro8,1")
|
||||
DEFINE_ENUM(MacBookPro82, "MacBookPro8,2")
|
||||
DEFINE_ENUM(MacBookPro83, "MacBookPro8,3")
|
||||
DEFINE_ENUM(MacBookPro91, "MacBookPro9,1")
|
||||
DEFINE_ENUM(MacBookPro92, "MacBookPro9,2")
|
||||
DEFINE_ENUM(MacBookPro101, "MacBookPro10,1")
|
||||
DEFINE_ENUM(MacBookPro102, "MacBookPro10,2")
|
||||
DEFINE_ENUM(MacBookPro111, "MacBookPro11,1")
|
||||
DEFINE_ENUM(MacBookPro112, "MacBookPro11,2")
|
||||
DEFINE_ENUM(MacBookPro113, "MacBookPro11,3")
|
||||
DEFINE_ENUM(MacBookPro114, "MacBookPro11,4")
|
||||
DEFINE_ENUM(MacBookPro115, "MacBookPro11,5")
|
||||
DEFINE_ENUM(MacBookPro121, "MacBookPro12,1")
|
||||
DEFINE_ENUM(MacBookPro131, "MacBookPro13,1")
|
||||
DEFINE_ENUM(MacBookPro132, "MacBookPro13,2")
|
||||
DEFINE_ENUM(MacBookPro133, "MacBookPro13,3")
|
||||
DEFINE_ENUM(MacBookPro141, "MacBookPro14,1")
|
||||
DEFINE_ENUM(MacBookPro142, "MacBookPro14,2")
|
||||
DEFINE_ENUM(MacBookPro143, "MacBookPro14,3")
|
||||
DEFINE_ENUM(MacBookPro151, "MacBookPro15,1")
|
||||
DEFINE_ENUM(MacBookPro152, "MacBookPro15,2")
|
||||
DEFINE_ENUM(MacBookPro153, "MacBookPro15,3")
|
||||
DEFINE_ENUM(MacBookPro154, "MacBookPro15,4")
|
||||
DEFINE_ENUM(MacBookPro161, "MacBookPro16,1")
|
||||
DEFINE_ENUM(MacBookPro162, "MacBookPro16,2")
|
||||
DEFINE_ENUM(MacBookPro163, "MacBookPro16,3")
|
||||
DEFINE_ENUM(MacBookPro164, "MacBookPro16,4")
|
||||
DEFINE_ENUM(MacBookAir11, "MacBookAir1,1")
|
||||
DEFINE_ENUM(MacBookAir21, "MacBookAir2,1")
|
||||
DEFINE_ENUM(MacBookAir31, "MacBookAir3,1")
|
||||
DEFINE_ENUM(MacBookAir32, "MacBookAir3,2")
|
||||
DEFINE_ENUM(MacBookAir41, "MacBookAir4,1")
|
||||
DEFINE_ENUM(MacBookAir42, "MacBookAir4,2")
|
||||
DEFINE_ENUM(MacBookAir51, "MacBookAir5,1")
|
||||
DEFINE_ENUM(MacBookAir52, "MacBookAir5,2")
|
||||
DEFINE_ENUM(MacBookAir61, "MacBookAir6,1")
|
||||
DEFINE_ENUM(MacBookAir62, "MacBookAir6,2")
|
||||
DEFINE_ENUM(MacBookAir71, "MacBookAir7,1")
|
||||
DEFINE_ENUM(MacBookAir72, "MacBookAir7,2")
|
||||
DEFINE_ENUM(MacBookAir81, "MacBookAir8,1")
|
||||
DEFINE_ENUM(MacBookAir82, "MacBookAir8,2")
|
||||
DEFINE_ENUM(MacBookAir91, "MacBookAir9,1")
|
||||
DEFINE_ENUM(MacMini11, "Macmini1,1")
|
||||
DEFINE_ENUM(MacMini21, "Macmini2,1")
|
||||
DEFINE_ENUM(MacMini31, "Macmini3,1")
|
||||
DEFINE_ENUM(MacMini41, "Macmini4,1")
|
||||
DEFINE_ENUM(MacMini51, "Macmini5,1")
|
||||
DEFINE_ENUM(MacMini52, "Macmini5,2")
|
||||
DEFINE_ENUM(MacMini53, "Macmini5,3")
|
||||
DEFINE_ENUM(MacMini61, "Macmini6,1")
|
||||
DEFINE_ENUM(MacMini62, "Macmini6,2")
|
||||
DEFINE_ENUM(MacMini71, "Macmini7,1")
|
||||
DEFINE_ENUM(MacMini81, "Macmini8,1")
|
||||
DEFINE_ENUM(iMac41, "iMac4,1")
|
||||
DEFINE_ENUM(iMac42, "iMac4,2")
|
||||
DEFINE_ENUM(iMac51, "iMac5,1")
|
||||
DEFINE_ENUM(iMac52, "iMac5,2")
|
||||
DEFINE_ENUM(iMac61, "iMac6,1")
|
||||
DEFINE_ENUM(iMac71, "iMac7,1")
|
||||
DEFINE_ENUM(iMac81, "iMac8,1")
|
||||
DEFINE_ENUM(iMac91, "iMac9,1")
|
||||
DEFINE_ENUM(iMac101, "iMac10,1")
|
||||
DEFINE_ENUM(iMac111, "iMac11,1")
|
||||
DEFINE_ENUM(iMac112, "iMac11,2")
|
||||
DEFINE_ENUM(iMac113, "iMac11,3")
|
||||
DEFINE_ENUM(iMac121, "iMac12,1")
|
||||
DEFINE_ENUM(iMac122, "iMac12,2")
|
||||
DEFINE_ENUM(iMac131, "iMac13,1")
|
||||
DEFINE_ENUM(iMac132, "iMac13,2")
|
||||
DEFINE_ENUM(iMac133, "iMac13,3")
|
||||
DEFINE_ENUM(iMac141, "iMac14,1")
|
||||
DEFINE_ENUM(iMac142, "iMac14,2")
|
||||
DEFINE_ENUM(iMac143, "iMac14,3")
|
||||
DEFINE_ENUM(iMac144, "iMac14,4")
|
||||
DEFINE_ENUM(iMac151, "iMac15,1")
|
||||
DEFINE_ENUM(iMac161, "iMac16,1")
|
||||
DEFINE_ENUM(iMac162, "iMac16,2")
|
||||
DEFINE_ENUM(iMac171, "iMac17,1")
|
||||
DEFINE_ENUM(iMac181, "iMac18,1")
|
||||
DEFINE_ENUM(iMac182, "iMac18,2")
|
||||
DEFINE_ENUM(iMac183, "iMac18,3")
|
||||
DEFINE_ENUM(iMac191, "iMac19,1")
|
||||
DEFINE_ENUM(iMac192, "iMac19,2")
|
||||
DEFINE_ENUM(iMac201, "iMac20,1")
|
||||
DEFINE_ENUM(iMac202, "iMac20,2")
|
||||
DEFINE_ENUM(iMacPro11, "iMacPro1,1")
|
||||
DEFINE_ENUM(MacPro11, "MacPro1,1")
|
||||
DEFINE_ENUM(MacPro21, "MacPro2,1")
|
||||
DEFINE_ENUM(MacPro31, "MacPro3,1")
|
||||
DEFINE_ENUM(MacPro41, "MacPro4,1")
|
||||
DEFINE_ENUM(MacPro51, "MacPro5,1")
|
||||
DEFINE_ENUM(MacPro61, "MacPro6,1")
|
||||
DEFINE_ENUM(MacPro71, "MacPro7,1")
|
||||
DEFINE_ENUM(Xserve11, "Xserve1,1")
|
||||
DEFINE_ENUM(Xserve21, "Xserve2,1")
|
||||
DEFINE_ENUM(Xserve31, "Xserve3,1")
|
||||
|
||||
//#endif
|
@ -2870,7 +2870,7 @@ public:
|
||||
XString8 ReleaseDateUsed = XString8();
|
||||
|
||||
UINT8 flagstate[32] = {0};
|
||||
MACHINE_TYPES CurrentModel = MaxMachineType;
|
||||
MacModel CurrentModel = MaxMachineType;
|
||||
|
||||
UINT32 IgPlatform = UINT32(); //could also be snb-platform-id
|
||||
|
||||
|
@ -1434,9 +1434,9 @@ UINT16 GetAdvancedCpuType()
|
||||
return GetStandardCpuType();
|
||||
}
|
||||
|
||||
MACHINE_TYPES GetDefaultModel()
|
||||
MacModel GetDefaultModel()
|
||||
{
|
||||
MACHINE_TYPES DefaultType = iMac132;
|
||||
MacModel DefaultType = iMac132;
|
||||
if (gCPUStructure.Vendor != CPU_VENDOR_INTEL) {
|
||||
return MacPro61;
|
||||
}
|
||||
|
@ -401,7 +401,7 @@ extern CPU_STRUCTURE gCPUStructure;
|
||||
void
|
||||
GetCPUProperties (void);
|
||||
|
||||
MACHINE_TYPES
|
||||
MacModel
|
||||
GetDefaultModel ();
|
||||
|
||||
UINT16
|
||||
|
@ -977,7 +977,7 @@ XBool setup_gma_devprop(const MacOsVersion& macOSVersion, const XString8& BuildV
|
||||
XBool SetSnb = false;
|
||||
XBool SetIg = false;
|
||||
|
||||
MACHINE_TYPES MacModel = GetModelFromString(gSettings.Smbios.ProductName);
|
||||
MacModel MacModel = GetModelFromString(gSettings.Smbios.ProductName);
|
||||
|
||||
devicepath = get_pci_dev_path(gma_dev);
|
||||
|
||||
|
@ -68,509 +68,49 @@
|
||||
*/
|
||||
//--------------------------
|
||||
|
||||
PLATFORMDATA ApplePlatformData[] =
|
||||
|
||||
constexpr PLATFORMDATA ApplePlatformDataArrayClass::m_ApplePlatformDataArrayClass[];
|
||||
|
||||
// this methods does nothing. It's a trick so static_assert can access private members
|
||||
constexpr bool ApplePlatformDataArrayClass::asserts()
|
||||
{
|
||||
//MacBook1,1 / MacBook (13-inch)
|
||||
{ "MacBook1,1"_XS8, "MB11.88Z.0061.B03.0610121324"_XS8, ""_XS8, "Mac-F4208CC8"_XS8, // Intel Core Duo T2500 @ 2.00 GHz
|
||||
"MacBook"_XS8, "1.1"_XS8, "4H625HACVTH"_XS8, "MacBook-White"_XS8,
|
||||
0x01, 0x04, 0x0f, 0, 0, 0x12, "branch"_XS8, "m70"_XS8, 0x71001 },
|
||||
//MacBook2,1 / MacBook (13-inch Late 2006)
|
||||
{ "MacBook2,1"_XS8, "MB21.88Z.00A5.B07.0706270922"_XS8, ""_XS8, "Mac-F4208CA9"_XS8, // Intel Core 2 Duo T7200 @ 2.00 GHz
|
||||
"MacBook"_XS8, "1.2"_XS8, "W8713HACWGL"_XS8, "MacBook-White"_XS8,
|
||||
0x01, 0x13, 0x0f, 0, 0, 0x03, "branch"_XS8, "m75"_XS8, 0x72001 },
|
||||
//MacBook3,1 / MacBook (13-inch Late 2007)
|
||||
{ "MacBook3,1"_XS8, "MB31.88Z.008E.B02.0803051832"_XS8, ""_XS8, "Mac-F22788C8"_XS8, // Intel Core 2 Duo T7500 @ 2.20 GHz
|
||||
"MacBook"_XS8, "1.3"_XS8, "W8747HACZ63"_XS8, "MacBook-White"_XS8,
|
||||
0x01, 0x24, 0x0f, 0, 0, 0x03, "branch"_XS8, "k36"_XS8, 0x72001 }, // need EPCI
|
||||
//MacBook4,1 / MacBook (13-inch, Early 2008)
|
||||
{ "MacBook4,1"_XS8, "MB41.88Z.00C1.B00.0802091535"_XS8, ""_XS8, "Mac-F22788A9"_XS8, // Intel Core 2 Duo T8300 @ 2.40 GHz
|
||||
"MacBook"_XS8, "1.3"_XS8, "W88A041A0P0"_XS8, "MacBook-Black"_XS8,
|
||||
0x01, 0x31, 0x0f, 0, 0, 0x01, "branch"_XS8, "m82"_XS8, 0x74001 },
|
||||
//MacBook5,1 / MacBook (13-inch, Aluminum, Late 2008)
|
||||
{ "MacBook5,1"_XS8, "MB51.88Z.007D.B03.0904271443"_XS8, ""_XS8, "Mac-F42D89C8"_XS8, // Intel Core 2 Duo P7350 @ 2.00 GHz
|
||||
"MacBook"_XS8, "1.3"_XS8, "W8944T1S1AQ"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x32, 0x0f, 0, 0, 0x08, "branch"_XS8, "m97"_XS8, 0x7a002 }, // need EPCI
|
||||
//MacBook5,2 / MacBook (13-inch, Early 2009)
|
||||
{ "MacBook5,2"_XS8, "MB52.88Z.0088.B05.0904162222"_XS8, ""_XS8, "Mac-F22788AA"_XS8, // Intel Core 2 Duo P7450 @ 2.13 GHz
|
||||
"MacBook"_XS8, "1.3"_XS8, "W8913HAC4R1"_XS8, "MacBook-Black"_XS8,
|
||||
0x01, 0x38, 0x0f, 0, 0, 0x05, "branch"_XS8, "k36b"_XS8, 0x7a002 },
|
||||
//MacBook6,1 / MacBook (13-inch, Late 2009)
|
||||
{ "MacBook6,1"_XS8, "MB61.88Z.F000.B00.1906140014"_XS8, "209.0.0.0.0"_XS8, "Mac-F22C8AC8"_XS8, // Intel Core 2 Duo P7550 @ 2.26 GHz
|
||||
"MacBook"_XS8, "1.0"_XS8, "451131JCGAY"_XS8, "MacBook-White"_XS8,
|
||||
0x01, 0x51, 0x0f, 0, 0, 0x53, "k84"_XS8, "k84"_XS8, 0x72004 },
|
||||
//MacBook7,1 / MacBook (13-inch, Mid 2010)
|
||||
{ "MacBook7,1"_XS8, "MB71.88Z.F000.B00.1906140026"_XS8, "68.0.0.0.0"_XS8, "Mac-F22C89C8"_XS8, // Intel Core 2 Duo P8600 @ 2.40 GHz
|
||||
"MacBook"_XS8, "1.0"_XS8, "451211MEF5X"_XS8, "MacBook-White"_XS8,
|
||||
0x01, 0x60, 0x0f, 0, 0, 0x06, "k87"_XS8, "k87"_XS8, 0x72005 },
|
||||
//MacBook8,1 / MacBook (Retina, 12-inch, Early 2015)
|
||||
{ "MacBook8,1"_XS8, "MB81.88Z.F000.B00.2106131842"_XS8, "427.140.8.0.0"_XS8, "Mac-BE0E8AC46FE800CC"_XS8, // Intel Core M-5Y51 @ 1.20 GHz
|
||||
"MacBook"_XS8, "1.0"_XS8, "C02RCE58GCN3"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x25, 0x0f, 0, 0, 0x87, "j92"_XS8, "j92"_XS8, 0xf0e007 },
|
||||
//MacBook9,1 / MacBook (Retina, 12-inch, Early 2016)
|
||||
{ "MacBook9,1"_XS8, "MB91.88Z.F000.B00.2106131743"_XS8, "429.140.8.0.0"_XS8, "Mac-9AE82516C7C6B903"_XS8, // Intel Core m5-6Y54 @ 1.20 GHz
|
||||
"MacBook"_XS8, "1.0"_XS8, "C02RM408HDNK"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x35, 0x0f, 0, 1, 0x06, "j93"_XS8, "j93"_XS8, 0xf0e007 }, // need EPCI
|
||||
//MacBook10,1 / MacBook (Retina, 12-inch, 2017)
|
||||
{ "MacBook10,1"_XS8, "MB101.88Z.F000.B00.2106131834"_XS8, "429.140.8.0.0"_XS8, "Mac-EE2EBD4B90B839A8"_XS8, // Intel Core i5-7Y54 @ 1.30 GHz
|
||||
"MacBook"_XS8, "1.0"_XS8, "C02TQHACHH27"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x42, 0x0f, 0, 0, 0x12, "j122"_XS8, "j122"_XS8, 0xf08009 }, // need EPCI
|
||||
//MacBookPro1,1 / MacBook Pro (15-inch Glossy)
|
||||
{ "MacBookPro1,1"_XS8, "MBP11.88Z.0055.B08.0610121325"_XS8, ""_XS8, "Mac-F425BEC8"_XS8, // Intel Core Duo T2500 @ 2.00 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "W8634HACVWZ"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x02, 0x0f, 0, 0, 0x10, "m1"_XS8, "m1"_XS8, 0x7b002 }, // need EPCI
|
||||
//MacBookPro1,2 / MacBook Pro (17-inch)
|
||||
{ "MacBookPro1,2"_XS8, "MBP12.88Z.0061.B03.0610121334"_XS8, ""_XS8, "Mac-F42DBEC8"_XS8, // Intel Core Duo T2600 @ 2.17 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "W8629HACTHY"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x05, 0x0f, 0, 0, 0x10, "NA"_XS8, "NA"_XS8, 0x7b002 }, // need rBR RPlt EPCI
|
||||
//MacBookPro2,1 / MacBook Pro (17-inch Core 2 Duo)
|
||||
{ "MacBookPro2,1"_XS8, "MBP21.88Z.00A5.B08.0708131242"_XS8, ""_XS8, "Mac-F42189C8"_XS8, // Intel Core 2 Duo T7600 @ 2.33 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "W8715HACW0J"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x14, 0x0f, 0, 0, 0x05, "NA"_XS8, "NA"_XS8, 0x7b002 }, // need rBR RPlt EPCI
|
||||
//MacBookPro2,2 / MacBook Pro (15-inch Core 2 Duo)
|
||||
{ "MacBookPro2,2"_XS8, "MBP22.88Z.00A5.B07.0708131242"_XS8, ""_XS8, "Mac-F42187C8"_XS8, // Intel Core 2 Duo T7400 @ 2.16 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "W8827B4CW0L"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x13, 0x0f, 0, 0, 0x03, "NA"_XS8, "NA"_XS8, 0x7b002 }, // need rBR RPlt EPCI
|
||||
//MacBookPro3,1 / MacBook Pro (17-inch 2.4GHZ) - not exists in server
|
||||
{ "MacBookPro3,1"_XS8, "MBP31.88Z.0070.B07.0803051658"_XS8, ""_XS8, "Mac-F4238BC8"_XS8, // Intel Core 2 Duo T7700 @ 2.40 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "W8841OHZX91"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x16, 0x0f, 0, 0, 0x11, "NA"_XS8, "NA"_XS8, 0x7b002 }, // need rBR RPlt EPCI
|
||||
//MacBookPro4,1 / MacBook Pro (17-inch, Early 2008)
|
||||
{ "MacBookPro4,1"_XS8, "MBP41.88Z.00C1.B03.0802271651"_XS8, ""_XS8, "Mac-F42C89C8"_XS8, // Intel Core 2 Duo T9500 @ 2.60 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "W88484F2YP4"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x27, 0x0f, 0, 0, 0x03, "m87"_XS8, "m87"_XS8, 0x7b002 }, // need EPCI
|
||||
//MacBookPro5,1 / MacBook Pro (15-inch, Late 2008)
|
||||
{ "MacBookPro5,1"_XS8, "MBP51.88Z.007E.B06.1202061253"_XS8, ""_XS8, "Mac-F42D86C8"_XS8, // Intel Core 2 Duo P8600 @ 2.40 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "W88439FE1G0"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x33, 0x0f, 0, 0, 0x08, "m98"_XS8, "m98"_XS8, 0x7b002 },
|
||||
//MacBookPro5,2 / MacBook Pro (17-inch, Early 2009)
|
||||
{ "MacBookPro5,2"_XS8, "MBP52.88Z.008E.B05.0905042202"_XS8, ""_XS8, "Mac-F2268EC8"_XS8, // Intel Core 2 Duo T9600 @ 2.80 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "W8908HAC2QP"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x42, 0x0f, 0, 0, 0x04, "NA"_XS8, "NA"_XS8, 0x7b002 }, // need rBR RPlt EPCI
|
||||
//MacBookPro5,3 / MacBook Pro (15-inch, Mid 2009)
|
||||
{ "MacBookPro5,3"_XS8, "MBP53.88Z.00AC.B03.0906151647"_XS8, ""_XS8, "Mac-F22587C8"_XS8, // Intel Core 2 Duo P8800 @ 2.66 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "W89E6HAC64C"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x48, 0x0f, 0, 0, 0x02, "NA"_XS8, "NA"_XS8, 0x7b002 }, // need rBR RPlt EPCI
|
||||
//MacBookPro5,4 / MacBook Pro (15-inch, 2.53GHz, Mid 2009)
|
||||
{ "MacBookPro5,4"_XS8, "MBP53.88Z.00AC.B03.0906151647"_XS8, ""_XS8, "Mac-F22587A1"_XS8, // Intel Core 2 Duo P8700 @ 2.53 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "W8948HAC7XJ"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x49, 0x0f, 0, 0, 0x02, "NA"_XS8, "NA"_XS8, 0x7b002 }, // need rBR RPlt EPCI
|
||||
//MacBookPro5,5 / MacBook Pro (13-inch, Mid 2009)
|
||||
{ "MacBookPro5,5"_XS8, "MBP55.88Z.00AC.B03.0906151708"_XS8, ""_XS8, "Mac-F2268AC8"_XS8, // Intel Core 2 Duo P7550 @ 2.26 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "W8951HAC66E"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x47, 0x0f, 0, 0, 0x02, "branch"_XS8, "k24"_XS8, 0x7a003 },
|
||||
//MacBookPro6,1 / MacBook Pro (17-inch, Mid 2010)
|
||||
{ "MacBookPro6,1"_XS8, "MBP61.88Z.F000.B00.1906132235"_XS8, "99.0.0.0.0"_XS8, "Mac-F22589C8"_XS8, // Intel Core i5-540M @ 2.53 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02G5834DC79"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x57, 0x0f, 0, 0, 0x18, "k17"_XS8, "k17"_XS8, 0x7a004 }, // need EPCI
|
||||
//MacBookPro6,2 / MacBook Pro (15-inch, Mid 2010)
|
||||
{ "MacBookPro6,2"_XS8, "MBP61.88Z.F000.B00.1906132235"_XS8, "99.0.0.0.0"_XS8, "Mac-F22586C8"_XS8, // Intel Core i7-620M @ 2.66 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "CK132A91AGW"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x58, 0x0f, 0, 0, 0x17, "k74"_XS8, "k74"_XS8, 0x7a004 },
|
||||
//MacBookPro7,1 / MacBook Pro (13-inch, Mid 2010)
|
||||
{ "MacBookPro7,1"_XS8, "MBP71.88Z.F000.B00.1906132329"_XS8, "68.0.0.0.0"_XS8, "Mac-F222BEC8"_XS8, // Intel Core 2 Duo P8600 @ 2.40 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "CK145C7NATM"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x62, 0x0f, 0, 0, 0x07, "branch"_XS8, "k6"_XS8, 0x7a004 }, // need EPCI
|
||||
//MacBookPro8,1 / MacBook Pro (13-inch, Early 2011)
|
||||
{ "MacBookPro8,1"_XS8, "MBP81.88Z.F000.B00.1906132217"_XS8, "87.0.0.0.0"_XS8, "Mac-94245B3640C91C81"_XS8, // Intel Core i5-2415M @ 2.30 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "W89F9196DH2G"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x68, 0x0f, 0, 0, 0x99, "k90i"_XS8, "k90i"_XS8, 0x7b005 },
|
||||
//MacBookPro8,2 / MacBook Pro (15-inch, Early 2011)
|
||||
{ "MacBookPro8,2"_XS8, "MBP81.88Z.0050.B00.1906132217"_XS8, "87.0.0.0.0"_XS8, "Mac-94245A3940C91C80"_XS8, // Intel Core i7-2675QM @ 2.20 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02HL0FGDF8X"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x69, 0x0f, 0, 0, 0x04, "trunk"_XS8, "k91f"_XS8, 0x7b005 }, // need EPCI
|
||||
//MacBookPro8,3 / MacBook Pro (17-inch, Early 2011)
|
||||
{ "MacBookPro8,3"_XS8, "MBP81.88Z.0050.B00.1906132217"_XS8, "87.0.0.0.0"_XS8, "Mac-942459F5819B171B"_XS8, // Intel Core i7-2860QM @ 2.49 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "W88F9CDEDF93"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x70, 0x0f, 0, 0, 0x06, "k92"_XS8, "k92"_XS8, 0x7c005 },
|
||||
//MacBookPro9,1 / MacBook Pro (15-inch, Mid 2012)
|
||||
{ "MacBookPro9,1"_XS8, "MBP91.88Z.F000.B00.2106041716"_XS8, "422.0.0.0.0"_XS8, "Mac-4B7AC7E43945597E"_XS8, // Intel Core i7-3720QM @ 2.60 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02LW984F1G4"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x01, 0x0f, 0, 1, 0x75, "j31"_XS8, "j31"_XS8, 0x76006 }, // need EPCI
|
||||
//MacBookPro9,2 / MacBook Pro (13-inch, Mid 2012)
|
||||
{ "MacBookPro9,2"_XS8, "MBP91.88Z.F000.B00.2106041716"_XS8, "422.0.0.0.0"_XS8, "Mac-6F01561E16C75D06"_XS8, // Intel Core i5-3210M @ 2.50 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02HA041DTY3"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x02, 0x0f, 0, 0, 0x44, "branch"_XS8, "j30"_XS8, 0x76006 },
|
||||
//MacBookPro10,1 / MacBook Pro (Retina, 15-inch, Early 2013)
|
||||
{ "MacBookPro10,1"_XS8, "MBP101.88Z.F000.B00.2106041718"_XS8, "422.0.0.0.0"_XS8, "Mac-C3EC7CD22292981F"_XS8, // Intel Core i7-3740QM @ 2.70 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02LHHACFFT4"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x03, 0x0f, 0, 0, 0x36, "d2"_XS8, "d2"_XS8, 0x74006 },
|
||||
//MacBookPro10,2 / MacBook Pro (Retina, 13-inch, Early 2013)
|
||||
{ "MacBookPro10,2"_XS8, "MBP102.88Z.F000.B00.2106041717"_XS8, "422.0.0.0.0"_XS8, "Mac-AFD8A9D944EA4843"_XS8, // Intel Core i5-3230M @ 2.60 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02K4HACFFRP"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x06, 0x0f, 0, 0, 0x59, "branch"_XS8, "d1"_XS8, 0x73007 },
|
||||
//MacBookPro11,1 / MacBook Pro (Retina, 13-inch, Mid 2014)
|
||||
{ "MacBookPro11,1"_XS8, "MBP111.88Z.F000.B00.2106131844"_XS8, "431.140.6.0.0"_XS8, "Mac-189A3D4F975D5FFC"_XS8, // Intel Core i7-4558U @ 2.80 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C17N4HACG3QJ"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x16, 0x0f, 0, 0, 0x68, "j44"_XS8, "j44"_XS8, 0xf0b007 },
|
||||
//MacBookPro11,2 / MacBook Pro (Retina, 15-inch, Mid 2014)
|
||||
{ "MacBookPro11,2"_XS8, "MBP112.88Z.F000.B00.2106131836"_XS8, "431.140.6.0.0"_XS8, "Mac-3CBD00234E554E41"_XS8, // Intel Core i7-4750HQ @ 2.00 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02P9HACG9FT"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x18, 0x0f, 0, 0, 0x15, "j45"_XS8, "j45"_XS8, 0xf0b007 }, // need EPCI
|
||||
//MacBookPro11,3 / MacBook Pro (Retina, 15-inch, Mid 2014)
|
||||
{ "MacBookPro11,3"_XS8, "MBP112.88Z.F000.B00.2106131836"_XS8, "431.140.6.0.0"_XS8, "Mac-2BD1B31983FE1663"_XS8, // Intel Core i7-4870HQ @ 2.50 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02NNHACG3QP"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x19, 0x0f, 0, 0, 0x12, "j45g"_XS8, "j45g"_XS8, 0xf0d007 },
|
||||
//MacBookPro11,4 / MacBook Pro (Retina, 15-inch, Mid 2015)
|
||||
{ "MacBookPro11,4"_XS8, "MBP114.88Z.F000.B00.2106131816"_XS8, "427.140.8.0.0"_XS8, "Mac-06F11FD93F0323C5"_XS8, // Intel Core i7-4770HQ @ 2.20 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02Q7HACG8WL"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x29, 0x0f, 0, 0, 0x23, "j145"_XS8, "j145"_XS8, 0xf07008 },
|
||||
//MacBookPro11,5 / MacBook Pro (Retina, 15-inch, Mid 2015)
|
||||
{ "MacBookPro11,5"_XS8, "MBP114.88Z.F000.B00.2106131816"_XS8, "427.140.8.0.0"_XS8, "Mac-06F11F11946D27C5"_XS8, // Intel Core i7-4870HQ @ 2.50 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02Q3HACG8WM"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x30, 0x0f, 0, 0, 0x02, "NA"_XS8, "NA"_XS8, 0xf0b007 }, // need rBR RPlt EPCI
|
||||
//MacBookPro12,1 / MacBook Pro (Retina, 13-inch, Early 2015)
|
||||
{ "MacBookPro12,1"_XS8, "MBP121.88Z.F000.B00.2106131845"_XS8, "427.140.8.0.0"_XS8, "Mac-E43C1C25D4880AD6"_XS8, // Intel Core i5-5257U @ 2.70 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02Q51OSH1DP"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x28, 0x0f, 0, 0, 0x07, "j52"_XS8, "j52"_XS8, 0xf01008 },
|
||||
//MacBookPro13,1 / MacBook Pro (13-inch, 2016, Two Thunderbolt 3 ports)
|
||||
{ "MacBookPro13,1"_XS8, "MBP131.88Z.F000.B00.2106131757"_XS8, "429.140.8.0.0"_XS8, "Mac-473D31EABEB93F9B"_XS8, // Intel Core i5-6360U @ 2.00 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02SLHACGVC1"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x36, 0x0f, 0, 1, 0x02, "2016mb"_XS8, "j130"_XS8, 0xf02009 }, // need EPCI
|
||||
//MacBookPro13,2 / MacBook Pro (13-inch, 2016, Four Thunderbolt 3 Ports)
|
||||
{ "MacBookPro13,2"_XS8, "MBP132.88Z.F000.B00.2106131817"_XS8, "429.140.8.0.0"_XS8, "Mac-66E35819EE2D0D05"_XS8, // Intel Core i5-6287U @ 3.10 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02SLHACGYFH"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x37, 0x0f, 0, 0, 0x21, "2016mb"_XS8, "j79"_XS8, 0xf02009 },
|
||||
//MacBookPro13,3 / MacBook Pro (15-inch, 2016)
|
||||
{ "MacBookPro13,3"_XS8, "MBP133.88Z.F000.B00.2106131759"_XS8, "429.140.8.0.0"_XS8, "Mac-A5C67F76ED83108C"_XS8, // Intel Core i7-6920HQ @ 2.90 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02SLHACGTFN"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x38, 0x0f, 0, 0, 0x08, "2016mb"_XS8, "j80g"_XS8, 0xf04009 },
|
||||
//MacBookPro14,1 / MacBook Pro (13-inch, 2017, Two Thunderbolt 3 ports)
|
||||
{ "MacBookPro14,1"_XS8, "MBP141.88Z.F000.B00.2106131822"_XS8, "429.140.8.0.0"_XS8, "Mac-B4831CEBD52A0C4C"_XS8, // Intel Core i5-7360U @ 2.30 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02TNHACHV29"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x43, 0x0f, 0, 0, 0x07, "2017mbp"_XS8, "j130a"_XS8, 0xf0b009 },
|
||||
//MacBookPro14,2 / MacBook Pro (13-inch, 2017, Four Thunderbolt 3 Ports)
|
||||
{ "MacBookPro14,2"_XS8, "MBP142.88Z.F000.B00.2106131822"_XS8, "429.140.8.0.0"_XS8, "Mac-CAD6701F7CEA0921"_XS8, // Intel Core i5-7267U @ 3.09 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02TQHACHV2N"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x44, 0x0f, 0, 0, 0x02, "2017mbp"_XS8, "j79a"_XS8, 0xf09009 },
|
||||
//MacBookPro14,3 / MacBook Pro (15-inch, 2017)
|
||||
{ "MacBookPro14,3"_XS8, "MBP143.88Z.F000.B00.2106131834"_XS8, "429.140.8.0.0"_XS8, "Mac-551B86E5744E2388"_XS8, // Intel Core i7-7700HQ @ 2.80 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02TQHACHTD5"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x45, 0x0f, 0, 0, 0x01, "2017mbp"_XS8, "j80ga"_XS8, 0xf0a009 },
|
||||
//MacBookPro15,1 / MacBook Pro (15-inch, 2018)
|
||||
{ "MacBookPro15,1"_XS8, "MBP151.88Z.F000.B00.2107050205"_XS8, "715.0.57.0.0"_XS8, "Mac-937A206F2EE63C01"_XS8, // Intel Core i9-8950HK @ 2.90 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02X1HACKGYG"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0, 0, 0, 0, 0, 0, ""_XS8, "j680"_XS8, 0 },
|
||||
//MacBookPro15,2 / MacBook Pro (13-inch, 2018, Four Thunderbolt 3 Ports)
|
||||
{ "MacBookPro15,2"_XS8, "MBP152.88Z.F000.B00.2107050204"_XS8, "1715.0.57.0.0"_XS8, "Mac-827FB448E656EC26"_XS8, // Intel Core i5-8259U @ 2.30 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02X1HACJHCD"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0, 0, 0, 0, 0, 0, ""_XS8, "j132"_XS8, 0 },
|
||||
//MacBookPro15,3 / MacBook Pro (15-inch, 2019)
|
||||
{ "MacBookPro15,3"_XS8, "MBP153.88Z.F000.B00.2107050204"_XS8, "1715.0.57.0.0"_XS8, "Mac-1E7E29AD0135F9BC"_XS8, // Intel Core i9-9980HK @ 2.40 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02X1HACLVCG"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0, 0, 0, 0, 0, 0, ""_XS8, "j780"_XS8, 0 },
|
||||
//MacBookPro15,4 / MacBook Pro (13-inch, 2019, Two Thunderbolt 3 ports)
|
||||
{ "MacBookPro15,4"_XS8, "MBP154.88Z.F000.B00.2107050236"_XS8, "1715.0.57.0.0"_XS8, "Mac-53FDB3D8DB8CA971"_XS8, // Intel Core i7-8557U @ 1.70 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "FVFYXHACL411"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0, 0, 0, 0, 0, 0, ""_XS8, "j213"_XS8, 0 },
|
||||
//MacBookPro16,1 / MacBook Pro (16-inch, 2019)
|
||||
{ "MacBookPro16,1"_XS8, "MBP161.88Z.F000.B00.2107050239"_XS8, "1715.0.57.0.0"_XS8, "Mac-E1008331FDC96864"_XS8, // Intel Core i9-9980HK @ 2.40 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02ZPHACPG8W"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0, 0, 0, 0, 0, 0, ""_XS8, "j152f"_XS8, 0 },
|
||||
//MacBookPro16,2 / MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports)
|
||||
//IceLake, Intel Iris Plus Graphics
|
||||
{ "MacBookPro16,2"_XS8, "MBP162.88Z.F000.B00.2107050225"_XS8, "1715.0.57.0.0"_XS8, "Mac-5F9802EFE386AA28"_XS8, // Intel Core i7-1068NG7 @ 2.30 GHz type=0x060b
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02CLHACML7H"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0, 0, 0, 0, 0, 0, ""_XS8, "j214k"_XS8, 0 },
|
||||
//MacBookPro16,3 / MacBook Pro (13-inch, 2020, Two Thunderbolt 3 ports)
|
||||
//Intel Core i5 or Core i7 (8257U, 8557U) ("Coffee Lake"), Intel Iris Plus Graphics 645
|
||||
{ "MacBookPro16,3"_XS8, "MBP163.88Z.F000.B00.2107050231"_XS8, "1715.0.57.0.0"_XS8, "Mac-E7203C0F68AA0004"_XS8, // Intel Core i7-8557U @ 1.70 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02CJHACP3XY"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0, 0, 0, 0, 0, 0, ""_XS8, "j223"_XS8, 0 },
|
||||
//MacBookPro16,4 / MacBook Pro (16-inch, 2019) AMD Radeon Pro 5600M
|
||||
{ "MacBookPro16,4"_XS8, "MBP164.88Z.F000.B00.2107050237"_XS8, "1715.0.57.0.0"_XS8, "Mac-A61BADE1FDAD7B05"_XS8, // Intel Core i9-9880H @ 2.30 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02CWHACMD6T"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0, 0, 0, 0, 0, 0, ""_XS8, "j215"_XS8, 0 },
|
||||
//MacBookAir1,1 / MacBook Air (Original)
|
||||
{ "MacBookAir1,1"_XS8, "MBA11.88Z.00BB.B03.0803171226"_XS8, ""_XS8, "Mac-F42C8CC8"_XS8, // Intel Core 2 Duo P7500 @ 1.60 GHz
|
||||
"MacBook Air"_XS8, "1.0"_XS8, "W864947A18X"_XS8, "Air-Enclosure"_XS8,
|
||||
0x01, 0x23, 0x0f, 0, 0, 0x20, "NA"_XS8, "NA"_XS8, 0x76005 }, // need rBR RPlt EPCI
|
||||
//MacBookAir2,1 / MacBook Air (Mid 2009)
|
||||
{ "MacBookAir2,1"_XS8, "MBA21.88Z.0075.B05.1003051506"_XS8, ""_XS8, "Mac-F42D88C8"_XS8, // Intel Core 2 Duo L9600 @ 2.13 GHz
|
||||
"MacBook Air"_XS8, "1.0"_XS8, "W86494769A7"_XS8, "Air-Enclosure"_XS8,
|
||||
0x01, 0x34, 0x0f, 0, 0, 0x08, "NA"_XS8, "NA"_XS8, 0x76005 }, // need rBR RPlt EPCI
|
||||
//MacBookAir3,1 / MacBook Air (11-inch, Late 2010)
|
||||
{ "MacBookAir3,1"_XS8, "MBA31.88Z.F000.B00.1906132254"_XS8, "110.0.0.0.0"_XS8, "Mac-942452F5819B1C1B"_XS8, // Intel Core 2 Duo U9600 @ 1.60 GHz
|
||||
"MacBook Air"_XS8, "1.0"_XS8, "C02DNHACDDR0"_XS8, "Air-Enclosure"_XS8,
|
||||
0x01, 0x67, 0x0f, 0, 0, 0x10, "k16k99"_XS8, "k99"_XS8, 0x76005 },
|
||||
//MacBookAir3,2 / MacBook Air (13-inch, Late 2010)
|
||||
{ "MacBookAir3,2"_XS8, "MBA31.88Z.F000.B00.1906132254"_XS8, "110.0.0.0.0"_XS8, "Mac-942C5DF58193131B"_XS8, // Intel Core 2 Duo L9600 @ 2.13 GHz
|
||||
"MacBook Air"_XS8, "1.0"_XS8, "C02DRHACDDR3"_XS8, "Air-Enclosure"_XS8,
|
||||
0x01, 0x66, 0x0f, 0, 0, 0x61, "NA"_XS8, "NA"_XS8, 0x76005 }, // need rBR RPlt EPCI
|
||||
//MacBookAir4,1 / MacBook Air (11-inch, Mid 2011)
|
||||
{ "MacBookAir4,1"_XS8, "MBA41.88Z.F000.B00.1906140715"_XS8, "135.0.0.0.0"_XS8, "Mac-C08A6BB70A942AC2"_XS8, // Intel Core i7-2677M @ 1.80 GHz
|
||||
"MacBook Air"_XS8, "1.0"_XS8, "C02HVHACDJYC"_XS8, "Air-Enclosure"_XS8,
|
||||
0x01, 0x74, 0x0f, 0, 0, 0x04, "k21k78"_XS8, "k78"_XS8, 0x76005 }, // need EPCI
|
||||
//MacBookAir4,2 / MacBook Air (13-inch, Mid 2011)
|
||||
{ "MacBookAir4,2"_XS8, "MBA41.88Z.F000.B00.1906140715"_XS8, "135.0.0.0.0"_XS8, "Mac-742912EFDBEE19B3"_XS8, // Intel Core i5-2557M @ 1.70 GHz
|
||||
"MacBook Air"_XS8, "1.0"_XS8, "C02GLHACDJWT"_XS8, "Air-Enclosure"_XS8,
|
||||
0x01, 0x73, 0x0f, 0, 0, 0x66, "k21k78"_XS8, "k21"_XS8, 0x76005 }, // need EPCI
|
||||
//MacBookAir5,1 / MacBook Air (11-inch, Mid 2012)
|
||||
{ "MacBookAir5,1"_XS8, "MBA51.88Z.F000.B00.2106041717"_XS8, "422.0.0.0.0"_XS8, "Mac-66F35F19FE2A0D05"_XS8, // Intel Core i7-3667U @ 2.00 GHz
|
||||
"MacBook Air"_XS8, "1.0"_XS8, "C02J6HACDRV6"_XS8, "Air-Enclosure"_XS8,
|
||||
0x02, 0x04, 0x0f, 0, 0, 0x19, "j11j13"_XS8, "j11"_XS8, 0x7b006 }, // need EPCI
|
||||
//MacBookAir5,2 / MacBook Air (13-inch, Mid 2012)
|
||||
{ "MacBookAir5,2"_XS8, "MBA51.88Z.F000.B00.2106041717"_XS8, "422.0.0.0.0"_XS8, "Mac-2E6FAB96566FE58C"_XS8, // Intel Core i5-3427U @ 1.80 GHz
|
||||
"MacBook Air"_XS8, "1.0"_XS8, "C02HA041DRVC"_XS8, "Air-Enclosure"_XS8,
|
||||
0x02, 0x05, 0x0f, 0, 0, 0x09, "j11j13"_XS8, "j13"_XS8, 0x7b006 },
|
||||
//MacBookAir6,1 / MacBook Air (11-inch, Mid 2013)
|
||||
{ "MacBookAir6,1"_XS8, "MBA61.88Z.F000.B00.2106131852"_XS8, "431.140.6.0.0"_XS8, "Mac-35C1E88140C3E6CF"_XS8, // Intel Core i7-4650U @ 1.70 GHz
|
||||
"MacBook Air"_XS8, "1.0"_XS8, "C2QM6HACFKYN"_XS8, "Air-Enclosure"_XS8,
|
||||
0x02, 0x12, 0x0f, 0, 1, 0x43, "j41j43"_XS8, "j41"_XS8, 0x7b007 }, // need EPCI
|
||||
//MacBookAir6,2 / MacBook Air (13-inch, Mid 2013)
|
||||
{ "MacBookAir6,2"_XS8, "MBA61.88Z.F000.B00.2106131852"_XS8, "431.140.6.0.0"_XS8, "Mac-7DF21CB3ED6977E5"_XS8, // Intel Core i5-4250U @ 1.30 GHz
|
||||
"MacBook Air"_XS8, "1.0"_XS8, "C02L9HACF5V7"_XS8, "Air-Enclosure"_XS8,
|
||||
0x02, 0x13, 0x0f, 0, 0, 0x15, "j41j43"_XS8, "j43"_XS8, 0x7b007 },
|
||||
//MacBookAir7,1 / MacBook Air (11-inch, Early 2015)
|
||||
{ "MacBookAir7,1"_XS8, "MBA71.88Z.F000.B00.2106131820"_XS8, "427.140.8.0.0"_XS8, "Mac-9F18E312C5C2BF0B"_XS8, // Intel Core i5-5250U @ 1.60 GHz
|
||||
"MacBook Air"_XS8, "1.0"_XS8, "C02PVHACGFWL"_XS8, "Air-Enclosure"_XS8,
|
||||
0x02, 0x26, 0x0f, 0, 0, 0x02, "j110"_XS8, "j110"_XS8, 0x7b007 },
|
||||
//MacBookAir7,2 / MacBook Air (13-inch, Early 2015)
|
||||
{ "MacBookAir7,2"_XS8, "MBA71.88Z.F000.B00.2106131820"_XS8, "427.140.8.0.0"_XS8, "Mac-937CB26E2E02BB01"_XS8, // Intel Core i7-5650U @ 2.20 GHz, i5-5250U CPU @ 1.60GHz
|
||||
"MacBook Air"_XS8, "1.0"_XS8, "C02Q1HACG940"_XS8, "Air-Enclosure"_XS8,
|
||||
0x02, 0x27, 0x0f, 0, 0, 0x02, "j113"_XS8, "j113"_XS8, 0xf0a008 },
|
||||
//MacBookAir8,1 / MacBook Air (Retina, 13-inch, 2018)
|
||||
{ "MacBookAir8,1"_XS8, "MBA81.88Z.F000.B00.2107050205"_XS8, "1715.0.57.0.0"_XS8, "Mac-827FAC58A8FDFA22"_XS8, // Intel Core i5-8210Y @ 1.60 GHz
|
||||
"MacBook Air"_XS8, "1.0"_XS8, "FVFXJHACJK77"_XS8, "Air-Enclosure"_XS8,
|
||||
0, 0, 0, 0, 0, 0, ""_XS8, "j140k"_XS8, 0 },
|
||||
//MacBookAir8,2 / MacBook Air (Retina, 13-inch, 2019)
|
||||
{ "MacBookAir8,2"_XS8, "MBA82.88Z.F000.B00.2107050207"_XS8, "1715.0.57.0.0"_XS8, "Mac-226CB3C6A851A671"_XS8, // Intel Core i5-8210Y @ 1.60 GHz
|
||||
"MacBook Air"_XS8, "1.0"_XS8, "FVFXJHACLYWM"_XS8, "Air-Enclosure"_XS8,
|
||||
0, 0, 0, 0, 0, 0, ""_XS8, "j140a"_XS8, 0 },
|
||||
//MacBookAir9,1 / MacBook Air (Retina, 13-inch, 2020)
|
||||
// Intel Core i3, i5, or i7 (1000NG4, 1030NG7, 1060NG7) ("Ice Lake")
|
||||
{ "MacBookAir9,1"_XS8, "MBA91.88Z.F000.B00.2107050235"_XS8, "1715.0.57.0.0"_XS8, "Mac-0CFF9C7C2B63DF8D"_XS8, // Intel Core i5-1030NG7 @ 1.10 GHz
|
||||
"MacBook Air"_XS8, "1.0"_XS8, "FVFCCHACMNHP"_XS8, "Air-Enclosure"_XS8,
|
||||
0, 0, 0, 0, 0, 0, ""_XS8, "j230k"_XS8, 0 },
|
||||
//Macmini1,1 / Mac mini (Early 2006)
|
||||
{ "Macmini1,1"_XS8, "MM11.88Z.0055.B08.0610121326"_XS8, ""_XS8, "Mac-F4208EC8"_XS8, // Intel Core 2 Duo T2300 @ 1.67 GHz
|
||||
"Mac mini"_XS8, "1.0"_XS8, "W8702N1JU35"_XS8, "Mini-Aluminum"_XS8,
|
||||
0x01, 0x03, 0x0f, 0, 0, 0x04, "m40"_XS8, "m40"_XS8, 0x78002 }, // need EPCI
|
||||
//Macmini2,1 / Mac mini (Mid 2007)
|
||||
{ "Macmini2,1"_XS8, "MM21.88Z.009A.B00.0706281359"_XS8, ""_XS8, "Mac-F4208EAA"_XS8, // Intel Core 2 Duo T7200 @ 2.00 GHz
|
||||
"Mac mini"_XS8, "1.1"_XS8, "W8705W9LYL2"_XS8, "Mini-Aluminum"_XS8,
|
||||
0x01, 0x19, 0x0f, 0, 0, 0x02, "NA"_XS8, "NA"_XS8, 0x78002 }, // need rBR EPCI
|
||||
//Macmini3,1 / Mac mini (Late 2009)
|
||||
{ "Macmini3,1"_XS8, "MM31.88Z.0081.B06.0904271717"_XS8, ""_XS8, "Mac-F22C86C8"_XS8, // Intel Core 2 Duo P8700 @ 2.53 GHz
|
||||
"Mac mini"_XS8, "1.0"_XS8, "YM003HAC9G6"_XS8, "Mini-Aluminum"_XS8,
|
||||
0x01, 0x35, 0x0f, 0, 0, 0x01, "NA"_XS8, "NA"_XS8, 0x78002 }, // need rBR RPlt EPCI
|
||||
//Macmini4,1 / Mac mini (Mid 2010)
|
||||
{ "Macmini4,1"_XS8, "MM41.88Z.F000.B00.1906132344"_XS8, "76.0.0.0.0"_XS8, "Mac-F2208EC8"_XS8, // Intel Core 2 Duo P8800 @ 2.66 GHz
|
||||
"Mac mini"_XS8, "1.0"_XS8, "C02FHBBEDD6H"_XS8, "Mini-Aluminum"_XS8,
|
||||
0x01, 0x65, 0x0f, 0, 0, 0x02, "NA"_XS8, "NA"_XS8, 0x78002 }, // need rBR RPlt EPCI
|
||||
//Macmini5,1 / Mac mini (Mid 2011)
|
||||
{ "Macmini5,1"_XS8, "MM51.88Z.F000.B00.1906131918"_XS8, "135.0.0.0.0"_XS8, "Mac-8ED6AF5B48C039E1"_XS8, // Intel Core i5-2415M @ 2.30 GHz
|
||||
"Mac mini"_XS8, "1.0"_XS8, "C07GA041DJD0"_XS8, "Mini-Aluminum"_XS8,
|
||||
0x01, 0x30, 0x0f, 0, 0, 0x03, "NA"_XS8, "NA"_XS8, 0x7d005 }, // need rBR EPCI
|
||||
//Macmini5,2 / Mac mini (Mid 2011)
|
||||
{ "Macmini5,2"_XS8, "MM51.88Z.F000.B00.1906131918"_XS8, "135.0.0.0.0"_XS8, "Mac-4BC72D62AD45599E"_XS8, // Intel Core i7-2620M @ 2.70 GHz
|
||||
"Mac mini"_XS8, "1.0"_XS8, "C07HVHACDJD1"_XS8, "Mini-Aluminum"_XS8,
|
||||
0x01, 0x75, 0x0f, 0, 0, 0x00, "NA"_XS8, "NA"_XS8, 0x7d005 }, // need rBR RPlt EPCI
|
||||
//Macmini5,3 / Mac mini Server (Mid 2011)
|
||||
{ "Macmini5,3"_XS8, "MM51.88Z.F000.B00.1906131918"_XS8, "135.0.0.0.0"_XS8, "Mac-7BA5B2794B2CDB12"_XS8, // Intel Core i7-2635QM @ 2.00 GHz
|
||||
"Mac mini"_XS8, "1.0"_XS8, "C07GWHACDKDJ"_XS8, "Mini-Aluminum"_XS8,
|
||||
0x01, 0x77, 0x0f, 0, 0, 0x00, "NA"_XS8, "NA"_XS8, 0x7d005 }, // need rBR RPlt EPCI
|
||||
//Macmini6,1 / Mac mini (Late 2012)
|
||||
{ "Macmini6,1"_XS8, "MM61.88Z.F000.B00.2106041717"_XS8, "422.0.0.0.0"_XS8, "Mac-031AEE4D24BFF0B1"_XS8, // Intel Core i5-3210M @ 2.50 GHz
|
||||
"Mac mini"_XS8, "1.0"_XS8, "C07JNHACDY3H"_XS8, "Mini-Aluminum"_XS8,
|
||||
0x02, 0x07, 0x0f, 0, 0, 0x00, "NA"_XS8, "NA"_XS8, 0x7d006 }, // need rBR RPlt EPCI
|
||||
//Macmini6,2 / Mac mini Server (Late 2012)
|
||||
{ "Macmini6,2"_XS8, "MM61.88Z.F000.B00.2106041717"_XS8, "422.0.0.0.0"_XS8, "Mac-F65AE981FFA204ED"_XS8, // Intel Core i7-3615QM @ 2.30 GHz
|
||||
"Mac mini"_XS8, "1.0"_XS8, "C07JD041DWYN"_XS8, "Mini-Aluminum"_XS8,
|
||||
0x02, 0x08, 0x0f, 0, 0, 0x01, "j50s"_XS8, "j50s"_XS8, 0x7d006 },
|
||||
//Macmini7,1 / Mac mini (Late 2014)
|
||||
{ "Macmini7,1"_XS8, "MM71.88Z.F000.B00.2106131851"_XS8, "431.140.6.0.0"_XS8, "Mac-35C5E08120C7EEAF"_XS8, // Intel Core i5-4278U @ 2.60 GHz
|
||||
"Mac mini"_XS8, "1.0"_XS8, "C02NN7NHG1J0"_XS8, "Mini-Aluminum"_XS8,
|
||||
0x02, 0x24, 0x0f, 0, 0, 0x32, "j64"_XS8, "j64"_XS8, 0xf04008 },
|
||||
//Macmini8,1 / Mac mini (2018)
|
||||
{ "Macmini8,1"_XS8, "MM81.88Z.F000.B00.2107050205"_XS8, "1715.0.57.0.0"_XS8, "Mac-7BA5B2DFE22DDD8C"_XS8, // Intel Core i7-8700B @ 3.20 GHz
|
||||
"Mac mini"_XS8, "1.0"_XS8, "C07XL9WEJYVX"_XS8, "Mini-Aluminum"_XS8,
|
||||
0, 0, 0, 0, 0, 0, ""_XS8, "j174"_XS8, 0 },
|
||||
//iMac4,1 / iMac (20-inch, Early 2006)
|
||||
{ "iMac4,1"_XS8, "IM41.88Z.0055.B08.0609061538"_XS8, ""_XS8, "Mac-F42786C8"_XS8, // Intel Core 2 Duo T2500 @ 2.00 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "W8610HACVGM"_XS8, "iMac"_XS8,
|
||||
0x01, 0x01, 0x0f, 0, 0, 0x05, "m38m39"_XS8, "m38"_XS8, 0x73002 }, // need EPCI
|
||||
//iMac4,2 / iMac (17-inch, Late 2006 CD)
|
||||
{ "iMac4,2"_XS8, "IM42.88Z.0071.B03.0610121320"_XS8, ""_XS8, "Mac-F4218EC8"_XS8, // Intel Core 2 Duo T2400 @ 1.83 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "W8727HACWH5"_XS8, "iMac"_XS8,
|
||||
0x01, 0x06, 0x0f, 0, 0, 0x00, "NA"_XS8, "NA"_XS8, 0x73002 }, // need rBR RPlt EPCI
|
||||
//iMac5,1 / iMac (20-inch, Late 2006)
|
||||
{ "iMac5,1"_XS8, "IM51.88Z.0090.B09.0706270921"_XS8, ""_XS8, "Mac-F4228EC8"_XS8, // Intel Core 2 Duo T7400 @ 2.16 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "CK708HACVUW"_XS8, "iMac"_XS8,
|
||||
0x01, 0x08, 0x0f, 0, 0, 0x02, "NA"_XS8, "NA"_XS8, 0x73002 }, // need rBR RPlt EPCI
|
||||
//iMac5,2 / iMac (17-inch, Late 2006 CD)
|
||||
{ "iMac5,2"_XS8, "IM52.88Z.0090.B09.0706270913"_XS8, ""_XS8, "Mac-F4218EC8"_XS8, // Intel Core 2 Duo T5600 @ 1.83 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "QP702HACWH4"_XS8, "iMac"_XS8,
|
||||
0x01, 0x06, 0x0f, 0, 0, 0x00, "NA"_XS8, "NA"_XS8, 0x73002 }, // need rBR RPlt EPCI
|
||||
//iMac6,1 / iMac (24-inch, Late 2006)
|
||||
{ "iMac6,1"_XS8, "IM61.88Z.0093.B07.0804281538"_XS8, ""_XS8, "Mac-F4218FC8"_XS8, // Intel Core 2 Duo T7600 @ 2.33 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "QP708HACXA6"_XS8, "iMac"_XS8,
|
||||
0x01, 0x08, 0x0f, 0, 0, 0x02, "NA"_XS8, "NA"_XS8, 0x73002 }, // need rBR RPlt EPCI
|
||||
//iMac7,1 / iMac (20-inch, Mid 2007)
|
||||
{ "iMac7,1"_XS8, "IM71.88Z.007A.B03.0803051705"_XS8, ""_XS8, "Mac-F42386C8"_XS8, // Intel Core 2 Extreme X7900 @ 2.80 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "W8739HACX85"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x01, 0x20, 0x0f, 0, 0, 0x04, "NA"_XS8, "NA"_XS8, 0x73002 }, // need rBR RPlt EPCI
|
||||
//iMac8,1 / iMac (24-inch, Early 2008)
|
||||
{ "iMac8,1"_XS8, "IM81.88Z.00C1.B00.0802091538"_XS8, ""_XS8, "Mac-F227BEC8"_XS8, // Intel Core 2 Duo E8235 @ 2.80 GHz
|
||||
"iMac"_XS8, "1.3"_XS8, "QP849HACZE7"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x01, 0x29, 0x0f, 0, 0, 0x01, "k3"_XS8, "k3"_XS8, 0x73002 },
|
||||
//iMac9,1 / iMac (24-inch, Early 2009)
|
||||
{ "iMac9,1"_XS8, "IM91.88Z.008D.B08.0904271717"_XS8, ""_XS8, "Mac-F2218FA9"_XS8, // Intel Core 2 Duo E8435 @ 3.06 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "W8919HAC0TG"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x01, 0x36, 0x0f, 0, 0, 0x03, "NA"_XS8, "NA"_XS8, 0x73002 }, // need rBR RPlt EPCI
|
||||
//iMac10,1 / iMac (27-inch, Late 2009)
|
||||
{ "iMac10,1"_XS8, "IM101.88Z.F000.B00.1906141458"_XS8, "215.0.0.0.0"_XS8, "Mac-F2268CC8"_XS8, // Intel Core 2 Duo E7600 @ 3.06 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "W80AA98A5PE"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x01, 0x53, 0x0f, 0, 0, 0x13, "k22k23"_XS8, "k23"_XS8, 0x7b002 },
|
||||
//iMac11,1 / iMac (27-inch, Late 2009)
|
||||
{ "iMac11,1"_XS8, "IM111.88Z.F000.B00.1906132358"_XS8, "63.0.0.0.0"_XS8, "Mac-F2268DAE"_XS8, // Intel Core i7-860 @ 2.80 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "G8942B1V5PJ"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x01, 0x54, 0x0f, 0, 0, 0x36, "k23f"_XS8, "k23f"_XS8, 0x7b004 },
|
||||
//iMac11,2 / iMac (21.5-inch, Mid 2010)
|
||||
{ "iMac11,2"_XS8, "IM112.88Z.F000.B00.1906132310"_XS8, "99.0.0.0.0"_XS8, "Mac-F2238AC8"_XS8, // Intel Core i3-540 @ 3.06 GHz
|
||||
"iMac"_XS8, "1.2"_XS8, "W8034342DB7"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x01, 0x64, 0x0f, 0, 0, 0x05, "k74"_XS8, "k74"_XS8, 0x7c004 },
|
||||
//iMac11,3 / iMac (27-inch, Mid 2010)
|
||||
{ "iMac11,3"_XS8, "IM112.88Z.F000.B00.1906132310"_XS8, "99.0.0.0.0"_XS8, "Mac-F2238BAE"_XS8, // Intel Core i5-760 @ 2.80 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "QP0312PBDNR"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x01, 0x59, 0x0f, 0, 0, 0x02, "k74"_XS8, "k74"_XS8, 0x7d004 },
|
||||
//iMac12,1 / iMac (21.5-inch, Mid 2011)
|
||||
{ "iMac12,1"_XS8, "IM121.88Z.F000.B00.1906140041"_XS8, "87.0.0.0.0"_XS8, "Mac-942B5BF58194151B"_XS8, // Intel Core i7-2600S @ 2.80 GHz
|
||||
"iMac"_XS8, "1.9"_XS8, "W80CF65ADHJF"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x01, 0x71, 0x0f, 0, 0, 0x22, "k60"_XS8, "k60"_XS8, 0x73005 },
|
||||
//iMac12,2 / iMac (27-inch, Mid 2011)
|
||||
{ "iMac12,2"_XS8, "IM121.88Z.F000.B00.1906140041"_XS8, "87.0.0.0.0"_XS8, "Mac-942B59F58194171B"_XS8, // Intel Core i5-2500S @ 2.70 GHz
|
||||
"iMac"_XS8, "1.9"_XS8, "W88GG136DHJQ"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x01, 0x72, 0x0f, 0, 0, 0x02, "k62"_XS8, "k62"_XS8, 0x75005 },
|
||||
//iMac13,1 / iMac (21.5-inch, Late 2012)
|
||||
{ "iMac13,1"_XS8, "IM131.88Z.F000.B00.2106041716"_XS8, "422.0.0.0.0"_XS8, "Mac-00BE6ED71E35EB86"_XS8, // Intel Core i7-3770S @ 3.10 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "C02JA041DNCT"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x02, 0x09, 0x0f, 0, 0, 0x05, "d8"_XS8, "d8"_XS8, 0x78006 },
|
||||
//iMac13,2 / iMac (27-inch, Late 2012)
|
||||
{ "iMac13,2"_XS8, "IM131.88Z.F000.B00.2106041716"_XS8, "422.0.0.0.0"_XS8, "Mac-FC02E91DDD3FA6A4"_XS8, // Intel Core i5-3470 @ 3.20 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "C02JB041DNCW"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x02, 0x11, 0x0f, 0, 0, 0x16, "d8"_XS8, "d8"_XS8, 0x79006 },
|
||||
//iMac13,3 / iMac (21.5-inch, Early 2013) - not exists in server
|
||||
{ "iMac13,3"_XS8, "IM131.88Z.F000.B00.2106041716"_XS8, "422.0.0.0.0"_XS8, "Mac-7DF2A3B5E5D671ED"_XS8, // Intel Core i3-3225 @ 3.30 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "C02KVHACFFYV"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x02, 0x13, 0x0f, 0, 0, 0x15, "d8"_XS8, "d8"_XS8, 0x79006 }, // need EPCI
|
||||
//iMac14,1 / iMac (21.5-inch, Late 2013)
|
||||
{ "iMac14,1"_XS8, "IM141.88Z.F000.B00.2106131845"_XS8, "431.140.6.0.0"_XS8, "Mac-031B6874CF7F642A"_XS8, // Intel Core i5-4570R @ 2.70 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "D25LHACKF8J2"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x02, 0x14, 0x0f, 0, 0, 0x24, "j16j17"_XS8, "j16"_XS8, 0x79007 },
|
||||
//iMac14,2 / iMac (27-inch, Late 2013)
|
||||
{ "iMac14,2"_XS8, "IM142.88Z.F000.B00.2106131851"_XS8, "431.140.6.0.0"_XS8, "Mac-27ADBB7B4CEE8E61"_XS8, // Intel Core i5-4570 @ 3.20 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "D25LHACKF8JC"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x02, 0x15, 0x0f, 0, 0, 0x07, "j16j17"_XS8, "j17"_XS8, 0x7a007 },
|
||||
//iMac14,3 / iMac (21.5-inch, Late 2013)
|
||||
{ "iMac14,3"_XS8, "IM143.88Z.F000.B00.2106131845"_XS8, "431.140.6.0.0"_XS8, "Mac-77EB7D7DAF985301"_XS8, // Intel Core i5-4570S @ 2.90 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "D25LHACKF8J3"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x02, 0x17, 0x0f, 0, 0, 0x07, "j16g"_XS8, "j16g"_XS8, 0x7a007 }, // need EPCI
|
||||
//iMac14,4 / iMac (21.5-inch, Mid 2014)
|
||||
{ "iMac14,4"_XS8, "IM144.88Z.F000.B00.2106131820"_XS8, "431.140.6.0.0"_XS8, "Mac-81E3E92DD6088272"_XS8, // Intel Core i5-4260U @ 1.40 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "D25LHACKFY0T"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x02, 0x21, 0x0f, 0, 0, 0x92, "j70"_XS8, "j70"_XS8, 0x7a007 }, // need EPCI
|
||||
//iMac15,1 / iMac (Retina 5K, 27-inch, Mid 2015)
|
||||
{ "iMac15,1"_XS8, "IM151.88Z.F000.B00.2106131818"_XS8, "431.140.6.0.0"_XS8, "Mac-42FD25EABCABB274"_XS8, // Intel Core i5-4690 @ 3.50 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "C02Q6HACFY10"_XS8, "iMac-Aluminum"_XS8, // i5: Mac-42FD25EABCABB274, i7: Mac-FA842E06C61E91C5
|
||||
0x02, 0x22, 0x0f, 0, 0, 0x16, "j78j78am"_XS8, "j78"_XS8, 0xf00008 }, // i5: 2.22f16, i7: 2.23f11
|
||||
//iMac16,1 / iMac (21.5-inch, Late 2015)
|
||||
{ "iMac16,1"_XS8, "IM161.88Z.F000.B00.2106131802"_XS8, "427.140.8.0.0"_XS8, "Mac-A369DDC4E67F1C45"_XS8, // Intel Core i5-5250U @ 1.60 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "C02QQHACGF1J"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x02, 0x31, 0x0f, 0, 0, 0x37, "j117"_XS8, "j117"_XS8, 0xf00008 }, // need EPCI
|
||||
//iMac16,2 / iMac (Retina 4K, 21.5-inch, Late 2015)
|
||||
{ "iMac16,2"_XS8, "IM162.88Z.F000.B00.2106131845"_XS8, "427.140.8.0.0"_XS8, "Mac-FFE5EF870D7BA81A"_XS8, // Intel Core i5-5575R @ 2.80 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "C02PNHACGG78"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x02, 0x32, 0x0f, 0, 0, 0x21, "j94"_XS8, "j94"_XS8, 0xf00008 }, // need EPCI
|
||||
//iMac17,1 / iMac (Retina 5K, 27-inch, Late 2015)
|
||||
{ "iMac17,1"_XS8, "IM171.88Z.F000.B00.2106131747"_XS8, "429.140.8.0.0"_XS8, "Mac-B809C3757DA9BB8D"_XS8, // Intel Core i7-6700K @ 4.00 GHz
|
||||
"iMac17,1"_XS8, "1.0"_XS8, "C02QFHACGG7L"_XS8, "iMac-Aluminum"_XS8, // i5: Mac-65CE76090165799A/Mac-DB15BD556843C820, i7: Mac-B809C3757DA9BB8D
|
||||
0x02, 0x34, 0x0f, 0, 0, 0x03, "j95j95am"_XS8, "j95"_XS8, 0xf0c008 }, //Note: why? i5: 2.33f12 but for i7: 2.34f3
|
||||
//iMac18,1 / iMac (21.5-inch, 2017)
|
||||
{ "iMac18,1"_XS8, "IM181.88Z.F000.B00.2106131817"_XS8, "429.140.8.0.0"_XS8, "Mac-4B682C642B45593E"_XS8, // Intel Core i5-7360U @ 2.30 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "C02TDHACH7JY"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x02, 0x39, 0x0f, 0, 0, 0x40, "j133_4_5"_XS8, "j135"_XS8, 0xf07009 }, // need RPlt EPCI
|
||||
//iMac18,2 / iMac (Retina 4K, 21.5-inch, 2017)
|
||||
{ "iMac18,2"_XS8, "IM183.88Z.F000.B00.2106131835"_XS8, "429.140.8.0.0"_XS8, "Mac-77F17D7DA9285301"_XS8, // Intel Core i5-7500 @ 3.40 GHz/i5-7400 @ 3.00GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "C02TDHACJ1G5"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x02, 0x40, 0x0f, 0, 0, 0x01, "j133_4_5"_XS8, "j134"_XS8, 0xf06009 },
|
||||
//iMac18,3 / iMac (Retina 5K, 27-inch, 2017)
|
||||
{ "iMac18,3"_XS8, "IM183.88Z.F000.B00.2106131835"_XS8, "429.140.8.0.0"_XS8, "Mac-BE088AF8C5EB4FA2"_XS8, // Intel Core i7-7700K @ 4.20 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "C02TDHACJ1GJ"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x02, 0x41, 0x0f, 0, 0, 0x02, "j133_4_5"_XS8, "j135"_XS8, 0xf07009 },
|
||||
//iMac19,1 / iMac (Retina 5K, 27-inch, 2019)
|
||||
//AMD Radeon Pro 570X, Radeon Pro 575X, Radeon Pro 580X, or Radeon Pro Vega 48
|
||||
{ "iMac19,1"_XS8, "IM191.88Z.F000.B00.2106222356"_XS8, "1554.140.20.0.0"_XS8, "Mac-AA95B1DDAB278B95"_XS8, // Intel Core i9-9900K @ 3.60 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "C02Y9HACJV3P"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x02, 0x46, 0x0f, 0, 0, 0x12, "j138_9"_XS8, "j138"_XS8, 0xf0d009 },
|
||||
//iMac19,2 / iMac (Retina 4K, 21.5-inch, 2019)
|
||||
{ "iMac19,2"_XS8, "IM191.88Z.F000.B00.2106222356"_XS8, "1554.140.20.0.0"_XS8, "Mac-63001698E7A34814"_XS8, // Intel Core i7-8700B @ 3.20 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "C02Y9HACJWDW"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x02, 0x47, 0x0f, 0, 0, 0x03, "j138_9"_XS8, "j138"_XS8, 0xf0d009 },
|
||||
//iMac20,1 / iMac (Retina 5K, 27-inch, 2020) Intel Core i5-10500 @ 3.10 GHz
|
||||
//AMD Radeon Pro 5300, Radeon Pro 5500 XT, Radeon Pro 5700, or Radeon Pro 5700 XT
|
||||
{ "iMac20,1"_XS8, "IM201.88Z.F000.B00.2107050239"_XS8, "1715.0.57.0.0"_XS8, "Mac-CFF7D910A743CAAF"_XS8,
|
||||
"iMac"_XS8, "1.0"_XS8, "C02D3HACPN5T"_XS8, "iMac-Aluminum"_XS8,
|
||||
0,0,0,0,0,0,""_XS8, "j185"_XS8, 0},
|
||||
// 0x02, 0x46, 0x0f, 0, 0, 0x12, "j185"_XS8, "j185"_XS8, 0xf0d009 },
|
||||
//iMac20,2 / iMac (Retina 5K, 27-inch, 2020) Intel Core i9-10910 @ 3.60 GHz
|
||||
//AMD Radeon Pro 5300, Radeon Pro 5500 XT, Radeon Pro 5700, or Radeon Pro 5700 XT
|
||||
{ "iMac20,2"_XS8, "IM201.88Z.F000.B00.2107050239"_XS8, "1715.0.57.0.0"_XS8, "Mac-AF89B6D9451A490B"_XS8,
|
||||
"iMac"_XS8, "1.0"_XS8, "C02D2HAC046M"_XS8, "iMac-Aluminum"_XS8,
|
||||
0,0,0,0,0,0,""_XS8, "j185"_XS8, 0},
|
||||
// 0x02, 0x47, 0x0f, 0, 0, 0x03, "j185f"_XS8, "j185f"_XS8, 0xf0d009 },
|
||||
//iMacPro1,1 /iMac Pro (2017)
|
||||
{ "iMacPro1,1"_XS8, "IMP11.88Z.F000.B00.2107050205"_XS8, "1715.0.57.0.0"_XS8, "Mac-7BA5B2D9E42DDD94"_XS8, // Intel Xeon W-2140B CPU @ 3.20 GHz
|
||||
"iMac Pro"_XS8, "1.0"_XS8, "C02VVHACHX87"_XS8, "iMacPro-Aluminum"_XS8,
|
||||
0, 0, 0, 0, 0, 0, ""_XS8, "j137"_XS8, 0 },
|
||||
//MacPro1,1 / Mac Pro
|
||||
{ "MacPro1,1"_XS8, "MP11.88Z.005C.B08.0707021221"_XS8, ""_XS8, "Mac-F4208DC8"_XS8, // Intel Xeon X5355 @ 2.66 GHz x2
|
||||
"MacPro"_XS8, "1.0"_XS8, "W88A7HACUQ2"_XS8, "Pro-Enclosure"_XS8,
|
||||
0x01, 0x07, 0x0f, 0, 0, 0x10, "m43"_XS8, "m43"_XS8, 0x79001 }, // need EPCI
|
||||
//MacPro2,1 / Mac Pro
|
||||
{ "MacPro2,1"_XS8, "MP21.88Z.007F.B06.0707021348"_XS8, ""_XS8, "Mac-F4208DA9"_XS8, // Intel Xeon X5365 @ 2.99 GHz x2
|
||||
"MacPro"_XS8, "1.0"_XS8, "W8930518UPZ"_XS8, "Pro-Enclosure"_XS8,
|
||||
0x01, 0x15, 0x0f, 0, 0, 0x03, "m43a"_XS8, "m43a"_XS8, 0x79001 }, // need EPCI
|
||||
//MacPro3,1 / Mac Pro (Early 2008)
|
||||
{ "MacPro3,1"_XS8, "MP31.88Z.006C.B05.0802291410"_XS8, ""_XS8, "Mac-F42C88C8"_XS8, // Intel Xeon E5462 @ 2.80 GHz x2
|
||||
"MacPro"_XS8, "1.3"_XS8, "W88A77AA5J4"_XS8, "Pro-Enclosure"_XS8,
|
||||
0x01, 0x30, 0x0f, 0, 0, 0x03, "m86"_XS8, "m86"_XS8, 0x79001 },
|
||||
//MacPro4,1 / Mac Pro (Early 2009)
|
||||
{ "MacPro4,1"_XS8, "MP41.88Z.0081.B08.1001221313"_XS8, ""_XS8, "Mac-F221BEC8"_XS8, // Intel Xeon X5670 @ 2.93 GHz x2
|
||||
"MacPro"_XS8, "1.4"_XS8, "CT930HAC4PD"_XS8, "Pro-Enclosure"_XS8,
|
||||
0x01, 0x39, 0x0f, 0, 0, 0x05, "NA"_XS8, "NA"_XS8, 0x7c002 }, // need rBR RPlt
|
||||
//MacPro5,1 / Mac Pro (Mid 2012)
|
||||
{ "MacPro5,1"_XS8, "MP51.88Z.F000.B00.1904121248"_XS8, "144.0.0.0.0"_XS8, "Mac-F221BEC8"_XS8, // Intel Xeon X5675 @ 3.06 GHz x2
|
||||
"MacPro"_XS8, "1.2"_XS8, "C07J77F7F4MC"_XS8, "Pro-Enclosure"_XS8, // Note: C07J50F7F4MC CK04000AHFC CG154TB9WU3
|
||||
0x01, 0x39, 0x0f, 0, 0, 0x11, "k5"_XS8, "k5"_XS8, 0x7c002 },
|
||||
//MacPro6,1 / Mac Pro (Late 2013)
|
||||
{ "MacPro6,1"_XS8, "MP61.88Z.F000.B00.2106101804"_XS8, "428.140.7.0.0"_XS8, "Mac-F60DEB81FF30ACF6"_XS8, // Intel Xeon E5-1650 v2 @ 3.50 GHz
|
||||
"MacPro"_XS8, "1.0"_XS8, "F5KLA770F9VM"_XS8, "Pro-Enclosure"_XS8,
|
||||
0x02, 0x20, 0x0f, 0, 0, 0x18, "j90"_XS8, "j90"_XS8, 0xf0f006 },
|
||||
//MacPro7,1 / Mac Pro (2019)
|
||||
{ "MacPro7,1"_XS8, "MP71.88Z.F000.B00.2107050205"_XS8, "1715.0.57.0.0"_XS8, "Mac-27AD2F918AE68F61"_XS8, // Intel Xeon W-3245M CPU @ 3.20 GHz
|
||||
"MacPro"_XS8, "1.0"_XS8, "F5KZNHACP7QM"_XS8, "Pro-Enclosure"_XS8,
|
||||
0, 0, 0, 0, 0, 0, ""_XS8, "j16O"_XS8, 0 },
|
||||
//Xserve1,1 / Xserve (Late 2006)
|
||||
{ "Xserve1,1"_XS8, "XS11.88Z.0080.B01.0706271533"_XS8, ""_XS8, "Mac-F4208AC8"_XS8, // Intel Xeon E5345 @ 2.33 GHz x2
|
||||
"Xserve"_XS8, "1.0"_XS8, "CK703E1EV2Q"_XS8, "Xserve"_XS8,
|
||||
0x01, 0x11, 0x0f, 0, 0, 0x05, "NA"_XS8, "NA"_XS8, 0x79001 }, // need rBR RPlt EPCI
|
||||
//Xserve2,1 / Xserve (Early 2008)
|
||||
{ "Xserve2,1"_XS8, "XS21.88Z.006C.B06.0804011317"_XS8, ""_XS8, "Mac-F42289C8"_XS8, // Intel Xeon E5472 @ 3.00 GHz x2
|
||||
"Xserve"_XS8, "1.0"_XS8, "CK830DLQX8S"_XS8, "Xserve"_XS8,
|
||||
0x01, 0x26, 0x0f, 0, 0, 0x03, "NA"_XS8, "NA"_XS8, 0x79001 }, // need rBR RPlt EPCI
|
||||
//Xserve3,1 / Xserve (Early 2009)
|
||||
{ "Xserve3,1"_XS8, "XS31.88Z.0081.B06.0908061300"_XS8, ""_XS8, "Mac-F223BEC8"_XS8, // Intel Xeon E5520 @ 2.26 GHz
|
||||
"Xserve"_XS8, "1.0"_XS8, "CK933YJ16HS"_XS8, "Xserve"_XS8,
|
||||
0x01, 0x43, 0x0f, 0, 0, 0x04, "NA"_XS8, "NA"_XS8, 0x79001 }, // need rBR RPlt EPCI
|
||||
//MaxMachineType : default to iMac132
|
||||
{ "iMac13,2"_XS8, "IM131.88Z.F000.B00.2004121616"_XS8, "291.0.0.0.0"_XS8, "Mac-FC02E91DDD3FA6A4"_XS8, // Intel Core i5-3470 @ 3.20 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "C02JB041DNCW"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x02, 0x11, 0x0f, 0, 0, 0x16, "d8"_XS8, "d8"_XS8, 0x79006 },
|
||||
};
|
||||
// Check at compile time that all model in MacModel enum has a platformdata entry in m_ApplePlatformDataArrayClass
|
||||
#define DEFINE_ENUM(a, b) static_assert(ApplePlatformDataArrayClass::hasPlatformData(0, a), "Mac model '" b "' doesn't have platformdata");
|
||||
#include "PlatformdataModels.h"
|
||||
#undef DEFINE_ENUM
|
||||
return true; // we don't care about return value.
|
||||
}
|
||||
|
||||
const PLATFORMDATA& ApplePlatformDataArrayClass::operator [] (MacModel m)
|
||||
{
|
||||
if ( m >= MaxMachineType ) {
|
||||
log_technical_bug("ApplePlatformDataArrayClass : m >= MaxMachineType");
|
||||
return ApplePlatformDataArrayClass::m_ApplePlatformDataArrayClass[getDefaultModel()];
|
||||
}
|
||||
for ( size_t idx = 0 ; idx < sizeof(m_ApplePlatformDataArrayClass)/sizeof(m_ApplePlatformDataArrayClass[0]) ; idx++ ) {
|
||||
if ( m_ApplePlatformDataArrayClass[idx].model == m ) return m_ApplePlatformDataArrayClass[idx];
|
||||
}
|
||||
// The static asserts make sure at compile time that all MacModel has a platformdata entry.
|
||||
// Therefore, this cannot happen if static asserts were not removed.
|
||||
log_technical_bug("ApplePlatformDataArrayClass : Mac model '%s' doesn't have platformdata entry", MachineModelName[m].c_str());
|
||||
return m_ApplePlatformDataArrayClass[getDefaultModel()];
|
||||
}
|
||||
|
||||
ApplePlatformDataArrayClass ApplePlatformDataArray;
|
||||
|
||||
|
||||
//const PLATFORMDATA& ApplePlatformDataArrayClass::operator [] (size_t idx)
|
||||
//{
|
||||
// if ( idx >= sizeof(m_ApplePlatformDataArrayClass)/sizeof(m_ApplePlatformDataArrayClass[0]) ) {
|
||||
// panic("(int)m >= sizeof(m_ApplePlatformDataArrayClass)/sizeof(m_ApplePlatformDataArrayClass[0])");
|
||||
// }
|
||||
// return m_ApplePlatformDataArrayClass[idx];
|
||||
//}
|
||||
|
||||
|
||||
// Firmware info for 10.13+
|
||||
// by Sherlocks
|
||||
uint32_t GetFwFeatures(MACHINE_TYPES Model)
|
||||
uint32_t GetFwFeatures(MacModel Model)
|
||||
{
|
||||
// Firmware info for 10.13+
|
||||
// by Sherlocks
|
||||
@ -716,7 +256,7 @@ uint32_t GetFwFeatures(MACHINE_TYPES Model)
|
||||
}
|
||||
|
||||
|
||||
uint64_t GetExtFwFeatures(MACHINE_TYPES Model)
|
||||
uint64_t GetExtFwFeatures(MacModel Model)
|
||||
{
|
||||
// FirmwareFeatures for 12+
|
||||
switch ( Model )
|
||||
@ -760,12 +300,12 @@ uint64_t GetExtFwFeatures(MACHINE_TYPES Model)
|
||||
}
|
||||
}
|
||||
|
||||
uint64_t GetExtFwFeaturesMask(MACHINE_TYPES Model)
|
||||
uint64_t GetExtFwFeaturesMask(MacModel Model)
|
||||
{
|
||||
return (uint64_t)GetFwFeaturesMaskFromModel(Model) + 0xFF00000000ull;
|
||||
}
|
||||
|
||||
XBool GetMobile(MACHINE_TYPES Model)
|
||||
XBool GetMobile(MacModel Model)
|
||||
{
|
||||
// Mobile: the battery tab in Energy Saver
|
||||
switch ( Model )
|
||||
@ -907,7 +447,7 @@ XBool GetMobile(MACHINE_TYPES Model)
|
||||
// PlatformFeature
|
||||
// the memory tab in About This Mac
|
||||
// by TheRacerMaster
|
||||
UINT64 GetPlatformFeature(MACHINE_TYPES Model)
|
||||
UINT64 GetPlatformFeature(MacModel Model)
|
||||
{
|
||||
switch ( Model )
|
||||
{
|
||||
@ -996,12 +536,12 @@ UINT64 GetPlatformFeature(MACHINE_TYPES Model)
|
||||
}
|
||||
}
|
||||
|
||||
void getRBr(MACHINE_TYPES Model, UINT32 CPUModel, XBool isMobile, char RBr[8])
|
||||
void getRBr(MacModel Model, UINT32 CPUModel, XBool isMobile, char RBr[8])
|
||||
{
|
||||
memset(RBr, 0, 8);
|
||||
if (ApplePlatformData[Model].smcBranch[0] != 'N') {
|
||||
if (ApplePlatformDataArray[Model].smcBranch[0] != 'N') {
|
||||
// snprintf(RBr, 8, "%s", ApplePlatformData[Model].smcBranch.c_str());
|
||||
memcpy(RBr, ApplePlatformData[Model].smcBranch.c_str(), MIN(8, ApplePlatformData[Model].smcBranch.sizeInBytesIncludingTerminator()));
|
||||
memcpy(RBr, ApplePlatformDataArray[Model].smcBranch.c_str(), MIN(8, ApplePlatformDataArray[Model].smcBranch.sizeInBytesIncludingTerminator()));
|
||||
} else {
|
||||
switch (CPUModel) {
|
||||
case CPU_MODEL_PENTIUM_M:
|
||||
@ -1074,11 +614,11 @@ void getRBr(MACHINE_TYPES Model, UINT32 CPUModel, XBool isMobile, char RBr[8])
|
||||
}
|
||||
}
|
||||
|
||||
void getRPlt(MACHINE_TYPES Model, UINT32 CPUModel, XBool isMobile, char RPlt[8])
|
||||
void getRPlt(MacModel Model, UINT32 CPUModel, XBool isMobile, char RPlt[8])
|
||||
{
|
||||
memset(RPlt, 0, 8);
|
||||
if (ApplePlatformData[Model].smcPlatform[0] != 'N') {
|
||||
snprintf(RPlt, 8, "%s", ApplePlatformData[Model].smcPlatform.c_str());
|
||||
if (ApplePlatformDataArray[Model].smcPlatform[0] != 'N') {
|
||||
snprintf(RPlt, 8, "%s", ApplePlatformDataArray[Model].smcPlatform.c_str());
|
||||
// memcpy(RPlt, ApplePlatformData[Model].smcPlatform.c_str(), 8);
|
||||
} else {
|
||||
switch (CPUModel) {
|
||||
@ -1150,7 +690,7 @@ void getRPlt(MACHINE_TYPES Model, UINT32 CPUModel, XBool isMobile, char RPlt[8])
|
||||
}
|
||||
}
|
||||
|
||||
XBool isReleaseDateWithYear20(MACHINE_TYPES Model)
|
||||
XBool isReleaseDateWithYear20(MacModel Model)
|
||||
{
|
||||
switch ( Model )
|
||||
{
|
||||
@ -1218,11 +758,11 @@ XBool isReleaseDateWithYear20(MACHINE_TYPES Model)
|
||||
}
|
||||
|
||||
// AppleReleaseDate
|
||||
XString8 GetReleaseDate(MACHINE_TYPES Model)
|
||||
XString8 GetReleaseDate(MacModel Model)
|
||||
{
|
||||
XString8 returnValue;
|
||||
|
||||
const char* i = ApplePlatformData[Model].firmwareVersion.c_str();
|
||||
const char* i = ApplePlatformDataArray[Model].firmwareVersion.c_str();
|
||||
i += strlen(i);
|
||||
while ( *i != '.' ) i--;
|
||||
if ( isReleaseDateWithYear20(Model) ) {
|
||||
@ -1233,25 +773,25 @@ XString8 GetReleaseDate(MACHINE_TYPES Model)
|
||||
return returnValue;
|
||||
}
|
||||
|
||||
void SetDMISettingsForModel(MACHINE_TYPES Model, SETTINGS_DATA* settingsData, REFIT_CONFIG* liveConfig)
|
||||
void SetDMISettingsForModel(MacModel Model, SETTINGS_DATA* settingsData, REFIT_CONFIG* liveConfig)
|
||||
{
|
||||
liveConfig->BiosVersionUsed = ApplePlatformData[Model].firmwareVersion;
|
||||
liveConfig->BiosVersionUsed = ApplePlatformDataArray[Model].firmwareVersion;
|
||||
liveConfig->ReleaseDateUsed = GetReleaseDate(Model); // AppleReleaseDate
|
||||
liveConfig->EfiVersionUsed.takeValueFrom(ApplePlatformData[Model].efiversion);
|
||||
liveConfig->EfiVersionUsed.takeValueFrom(ApplePlatformDataArray[Model].efiversion);
|
||||
|
||||
settingsData->Smbios.BiosVendor = AppleBiosVendor;
|
||||
settingsData->Smbios.ManufactureName = settingsData->Smbios.BiosVendor;
|
||||
settingsData->Smbios.ProductName = ApplePlatformData[Model].productName;
|
||||
settingsData->Smbios.SystemVersion = ApplePlatformData[Model].systemVersion;
|
||||
settingsData->Smbios.SerialNr = ApplePlatformData[Model].serialNumber;
|
||||
settingsData->Smbios.FamilyName = ApplePlatformData[Model].productFamily;
|
||||
settingsData->Smbios.ProductName = MachineModelName[Model];
|
||||
settingsData->Smbios.SystemVersion = ApplePlatformDataArray[Model].systemVersion;
|
||||
settingsData->Smbios.SerialNr = ApplePlatformDataArray[Model].serialNumber;
|
||||
settingsData->Smbios.FamilyName = ApplePlatformDataArray[Model].productFamily;
|
||||
settingsData->Smbios.BoardManufactureName = settingsData->Smbios.BiosVendor;
|
||||
settingsData->Smbios.BoardSerialNumber = AppleBoardSN;
|
||||
settingsData->Smbios.BoardNumber = ApplePlatformData[Model].boardID;
|
||||
settingsData->Smbios.BoardVersion = ApplePlatformData[Model].productName;
|
||||
settingsData->Smbios.BoardNumber = ApplePlatformDataArray[Model].boardID;
|
||||
settingsData->Smbios.BoardVersion = MachineModelName[Model];
|
||||
settingsData->Smbios.LocationInChassis = AppleBoardLocation;
|
||||
settingsData->Smbios.ChassisManufacturer = settingsData->Smbios.BiosVendor;
|
||||
settingsData->Smbios.ChassisAssetTag = ApplePlatformData[Model].chassisAsset;
|
||||
settingsData->Smbios.ChassisAssetTag = ApplePlatformDataArray[Model].chassisAsset;
|
||||
settingsData->Smbios.FirmwareFeatures = GetFwFeatures(Model);
|
||||
settingsData->Smbios.FirmwareFeaturesMask = GetFwFeaturesMaskFromModel(Model);
|
||||
settingsData->Smbios.ExtendedFirmwareFeatures = GetExtFwFeatures(Model);
|
||||
@ -1266,12 +806,12 @@ void SetDMISettingsForModel(MACHINE_TYPES Model, SETTINGS_DATA* settingsData, RE
|
||||
settingsData->Smbios.Mobile = GetMobile(Model); // Mobile: the battery tab in Energy Saver
|
||||
}
|
||||
|
||||
MACHINE_TYPES GetModelFromString(const XString8& ProductName)
|
||||
MacModel GetModelFromString(const XString8& ProductName)
|
||||
{
|
||||
MACHINE_TYPES i;
|
||||
MacModel i;
|
||||
|
||||
for (i = (MACHINE_TYPES)(0); i < MaxMachineType; i = (MACHINE_TYPES)(i + 1)) {
|
||||
if ( ProductName == ApplePlatformData[i].productName ) {
|
||||
for (i = (MacModel)(0); i < MaxMachineType; i = (MacModel)(i + 1)) {
|
||||
if ( ProductName == MachineModelName[i] ) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
@ -1279,7 +819,7 @@ MACHINE_TYPES GetModelFromString(const XString8& ProductName)
|
||||
return MaxMachineType;
|
||||
}
|
||||
|
||||
uint8_t GetChassisTypeFromModel(MACHINE_TYPES Model)
|
||||
uint8_t GetChassisTypeFromModel(MacModel Model)
|
||||
{
|
||||
|
||||
// MiscChassisType
|
||||
@ -1442,7 +982,7 @@ uint8_t GetChassisTypeFromModel(MACHINE_TYPES Model)
|
||||
//gFwFeaturesMask
|
||||
|
||||
|
||||
uint32_t GetFwFeaturesMaskFromModel(MACHINE_TYPES Model)
|
||||
uint32_t GetFwFeaturesMaskFromModel(MacModel Model)
|
||||
{
|
||||
|
||||
// FirmwareFeaturesMask
|
||||
|
@ -15,134 +15,25 @@
|
||||
class SETTINGS_DATA;
|
||||
class REFIT_CONFIG;
|
||||
|
||||
//https://webdevdesigner.com/q/is-there-a-simple-way-to-convert-c-enum-to-string-30844/
|
||||
|
||||
|
||||
typedef enum {
|
||||
|
||||
MacBook11,
|
||||
MacBook21,
|
||||
MacBook31,
|
||||
MacBook41,
|
||||
MacBook51,
|
||||
MacBook52,
|
||||
MacBook61,
|
||||
MacBook71,
|
||||
MacBook81,
|
||||
MacBook91,
|
||||
MacBook101,
|
||||
MacBookPro11,
|
||||
MacBookPro12,
|
||||
MacBookPro21,
|
||||
MacBookPro22,
|
||||
MacBookPro31,
|
||||
MacBookPro41,
|
||||
MacBookPro51,
|
||||
MacBookPro52,
|
||||
MacBookPro53,
|
||||
MacBookPro54,
|
||||
MacBookPro55,
|
||||
MacBookPro61,
|
||||
MacBookPro62,
|
||||
MacBookPro71,
|
||||
MacBookPro81,
|
||||
MacBookPro82,
|
||||
MacBookPro83,
|
||||
MacBookPro91,
|
||||
MacBookPro92,
|
||||
MacBookPro101,
|
||||
MacBookPro102,
|
||||
MacBookPro111,
|
||||
MacBookPro112,
|
||||
MacBookPro113,
|
||||
MacBookPro114,
|
||||
MacBookPro115,
|
||||
MacBookPro121,
|
||||
MacBookPro131,
|
||||
MacBookPro132,
|
||||
MacBookPro133,
|
||||
MacBookPro141,
|
||||
MacBookPro142,
|
||||
MacBookPro143,
|
||||
MacBookPro151,
|
||||
MacBookPro152,
|
||||
MacBookPro153,
|
||||
MacBookPro154,
|
||||
MacBookPro161,
|
||||
MacBookPro162,
|
||||
MacBookPro163,
|
||||
MacBookPro164,
|
||||
MacBookAir11,
|
||||
MacBookAir21,
|
||||
MacBookAir31,
|
||||
MacBookAir32,
|
||||
MacBookAir41,
|
||||
MacBookAir42,
|
||||
MacBookAir51,
|
||||
MacBookAir52,
|
||||
MacBookAir61,
|
||||
MacBookAir62,
|
||||
MacBookAir71,
|
||||
MacBookAir72,
|
||||
MacBookAir81,
|
||||
MacBookAir82,
|
||||
MacBookAir91,
|
||||
MacMini11,
|
||||
MacMini21,
|
||||
MacMini31,
|
||||
MacMini41,
|
||||
MacMini51,
|
||||
MacMini52,
|
||||
MacMini53,
|
||||
MacMini61,
|
||||
MacMini62,
|
||||
MacMini71,
|
||||
MacMini81,
|
||||
iMac41,
|
||||
iMac42,
|
||||
iMac51,
|
||||
iMac52,
|
||||
iMac61,
|
||||
iMac71,
|
||||
iMac81,
|
||||
iMac91,
|
||||
iMac101,
|
||||
iMac111,
|
||||
iMac112,
|
||||
iMac113,
|
||||
iMac121,
|
||||
iMac122,
|
||||
iMac131,
|
||||
iMac132,
|
||||
iMac133,
|
||||
iMac141,
|
||||
iMac142,
|
||||
iMac143,
|
||||
iMac144,
|
||||
iMac151,
|
||||
iMac161,
|
||||
iMac162,
|
||||
iMac171,
|
||||
iMac181,
|
||||
iMac182,
|
||||
iMac183,
|
||||
iMac191,
|
||||
iMac192,
|
||||
iMac201,
|
||||
iMac202,
|
||||
iMacPro11,
|
||||
MacPro11,
|
||||
MacPro21,
|
||||
MacPro31,
|
||||
MacPro41,
|
||||
MacPro51,
|
||||
MacPro61,
|
||||
MacPro71,
|
||||
Xserve11,
|
||||
Xserve21,
|
||||
Xserve31,
|
||||
#define DEFINE_ENUM(a, b) a,
|
||||
#include "PlatformdataModels.h"
|
||||
#undef DEFINE_ENUM
|
||||
|
||||
MaxMachineType
|
||||
|
||||
} MACHINE_TYPES;
|
||||
} MacModel;
|
||||
|
||||
const LString8 MachineModelName[] = {
|
||||
#define DEFINE_ENUM(a, b) b,
|
||||
#include "PlatformdataModels.h"
|
||||
#undef DEFINE_ENUM
|
||||
0
|
||||
};
|
||||
|
||||
constexpr LString8 DefaultMemEntry = "N/A"_XS8;
|
||||
constexpr LString8 DefaultSerial = "CT288GT9VT6"_XS8;
|
||||
@ -155,34 +46,46 @@ constexpr LString8 AppleBoardLocation = "Part Component"_XS8;
|
||||
class PLATFORMDATA
|
||||
{
|
||||
public:
|
||||
const LString8 productName;
|
||||
const MacModel model;
|
||||
const LString8 firmwareVersion;
|
||||
const LString8 efiversion;
|
||||
const LString8 boardID;
|
||||
const LString8 productFamily;
|
||||
const LString8 systemVersion;
|
||||
const XString8 serialNumber;
|
||||
const LString8 serialNumber;
|
||||
const LString8 chassisAsset;
|
||||
UINT8 smcRevision[6];
|
||||
const LString8 smcBranch;
|
||||
const LString8 smcPlatform;
|
||||
UINT32 smcConfig;
|
||||
|
||||
//PLATFORMDATA() : productName(), firmwareVersion(), efiversion(), boardID(), productFamily(), systemVersion(), serialNumber(), chassisAsset(), smcRevision{0,0,0,0,0,0}, smcBranch(), smcPlatform(), smcConfig() { }
|
||||
PLATFORMDATA(const LString8& _productName, const LString8& _firmwareVersion, const LString8& _efiversion, const LString8& _boardID, const LString8& _productFamily,
|
||||
const LString8& _systemVersion, const LString8& _serialNumber, const LString8& _chassisAsset,
|
||||
constexpr PLATFORMDATA(
|
||||
const MacModel _model,
|
||||
const LString8& _firmwareVersion,
|
||||
const LString8& _efiversion,
|
||||
const LString8& _boardID,
|
||||
const LString8& _productFamily,
|
||||
const LString8& _systemVersion,
|
||||
const LString8& _serialNumber,
|
||||
const LString8& _chassisAsset,
|
||||
UINT8 _smcRevision0, UINT8 _smcRevision1, UINT8 _smcRevision2, UINT8 _smcRevision3, UINT8 _smcRevision4, UINT8 _smcRevision5,
|
||||
const LString8& _smcBranch, const LString8& _smcPlatform, UINT32 _smcConfig)
|
||||
: productName(_productName), firmwareVersion(_firmwareVersion), efiversion(_efiversion), boardID(_boardID), productFamily(_productFamily),
|
||||
systemVersion(_systemVersion), serialNumber(_serialNumber), chassisAsset(_chassisAsset), smcRevision{0},
|
||||
smcBranch(_smcBranch), smcPlatform(_smcPlatform), smcConfig(_smcConfig)
|
||||
const LString8& _smcBranch,
|
||||
const LString8& _smcPlatform,
|
||||
UINT32 _smcConfig
|
||||
)
|
||||
: model(_model),
|
||||
firmwareVersion(_firmwareVersion),
|
||||
efiversion(_efiversion),
|
||||
boardID(_boardID),
|
||||
productFamily(_productFamily),
|
||||
systemVersion(_systemVersion),
|
||||
serialNumber(_serialNumber),
|
||||
chassisAsset(_chassisAsset),
|
||||
smcRevision{_smcRevision0, _smcRevision1, _smcRevision2, _smcRevision3, _smcRevision4, _smcRevision5},
|
||||
smcBranch(_smcBranch),
|
||||
smcPlatform(_smcPlatform),
|
||||
smcConfig(_smcConfig)
|
||||
{
|
||||
smcRevision[0] = _smcRevision0;
|
||||
smcRevision[1] = _smcRevision1;
|
||||
smcRevision[2] = _smcRevision2;
|
||||
smcRevision[3] = _smcRevision3;
|
||||
smcRevision[4] = _smcRevision4;
|
||||
smcRevision[5] = _smcRevision5;
|
||||
}
|
||||
|
||||
// Not sure if default are valid. Delete them. If needed, proper ones can be created
|
||||
@ -191,22 +94,539 @@ public:
|
||||
} ;
|
||||
|
||||
|
||||
extern PLATFORMDATA ApplePlatformData[];
|
||||
class ApplePlatformDataArrayClass
|
||||
{
|
||||
|
||||
void SetDMISettingsForModel(MACHINE_TYPES Model, SETTINGS_DATA* settingsData, REFIT_CONFIG* liveConfig);
|
||||
MACHINE_TYPES GetModelFromString (const XString8& ProductName);
|
||||
static constexpr PLATFORMDATA m_ApplePlatformDataArrayClass[] =
|
||||
{
|
||||
//MacBook1,1 / MacBook (13-inch)
|
||||
{ MacBook11, "MB11.88Z.0061.B03.0610121324"_XS8, ""_XS8, "Mac-F4208CC8"_XS8, // Intel Core Duo T2500 @ 2.00 GHz
|
||||
"MacBook"_XS8, "1.1"_XS8, "4H625HACVTH"_XS8, "MacBook-White"_XS8,
|
||||
0x01, 0x04, 0x0f, 0, 0, 0x12, "branch"_XS8, "m70"_XS8, 0x71001 },
|
||||
//MacBook2,1 / MacBook (13-inch Late 2006)
|
||||
{ MacBook21, "MB21.88Z.00A5.B07.0706270922"_XS8, ""_XS8, "Mac-F4208CA9"_XS8, // Intel Core 2 Duo T7200 @ 2.00 GHz
|
||||
"MacBook"_XS8, "1.2"_XS8, "W8713HACWGL"_XS8, "MacBook-White"_XS8,
|
||||
0x01, 0x13, 0x0f, 0, 0, 0x03, "branch"_XS8, "m75"_XS8, 0x72001 },
|
||||
//MacBook3,1 / MacBook (13-inch Late 2007)
|
||||
{ MacBook31, "MB31.88Z.008E.B02.0803051832"_XS8, ""_XS8, "Mac-F22788C8"_XS8, // Intel Core 2 Duo T7500 @ 2.20 GHz
|
||||
"MacBook"_XS8, "1.3"_XS8, "W8747HACZ63"_XS8, "MacBook-White"_XS8,
|
||||
0x01, 0x24, 0x0f, 0, 0, 0x03, "branch"_XS8, "k36"_XS8, 0x72001 }, // need EPCI
|
||||
//MacBook4,1 / MacBook (13-inch, Early 2008)
|
||||
{ MacBook41, "MB41.88Z.00C1.B00.0802091535"_XS8, ""_XS8, "Mac-F22788A9"_XS8, // Intel Core 2 Duo T8300 @ 2.40 GHz
|
||||
"MacBook"_XS8, "1.3"_XS8, "W88A041A0P0"_XS8, "MacBook-Black"_XS8,
|
||||
0x01, 0x31, 0x0f, 0, 0, 0x01, "branch"_XS8, "m82"_XS8, 0x74001 },
|
||||
//MacBook5,1 / MacBook (13-inch, Aluminum, Late 2008)
|
||||
{ MacBook51, "MB51.88Z.007D.B03.0904271443"_XS8, ""_XS8, "Mac-F42D89C8"_XS8, // Intel Core 2 Duo P7350 @ 2.00 GHz
|
||||
"MacBook"_XS8, "1.3"_XS8, "W8944T1S1AQ"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x32, 0x0f, 0, 0, 0x08, "branch"_XS8, "m97"_XS8, 0x7a002 }, // need EPCI
|
||||
//MacBook5,2 / MacBook (13-inch, Early 2009)
|
||||
{ MacBook52, "MB52.88Z.0088.B05.0904162222"_XS8, ""_XS8, "Mac-F22788AA"_XS8, // Intel Core 2 Duo P7450 @ 2.13 GHz
|
||||
"MacBook"_XS8, "1.3"_XS8, "W8913HAC4R1"_XS8, "MacBook-Black"_XS8,
|
||||
0x01, 0x38, 0x0f, 0, 0, 0x05, "branch"_XS8, "k36b"_XS8, 0x7a002 },
|
||||
//MacBook6,1 / MacBook (13-inch, Late 2009)
|
||||
{ MacBook61, "MB61.88Z.F000.B00.1906140014"_XS8, "209.0.0.0.0"_XS8, "Mac-F22C8AC8"_XS8, // Intel Core 2 Duo P7550 @ 2.26 GHz
|
||||
"MacBook"_XS8, "1.0"_XS8, "451131JCGAY"_XS8, "MacBook-White"_XS8,
|
||||
0x01, 0x51, 0x0f, 0, 0, 0x53, "k84"_XS8, "k84"_XS8, 0x72004 },
|
||||
//MacBook7,1 / MacBook (13-inch, Mid 2010)
|
||||
{ MacBook71, "MB71.88Z.F000.B00.1906140026"_XS8, "68.0.0.0.0"_XS8, "Mac-F22C89C8"_XS8, // Intel Core 2 Duo P8600 @ 2.40 GHz
|
||||
"MacBook"_XS8, "1.0"_XS8, "451211MEF5X"_XS8, "MacBook-White"_XS8,
|
||||
0x01, 0x60, 0x0f, 0, 0, 0x06, "k87"_XS8, "k87"_XS8, 0x72005 },
|
||||
//MacBook8,1 / MacBook (Retina, 12-inch, Early 2015)
|
||||
{ MacBook81, "MB81.88Z.F000.B00.2106131842"_XS8, "427.140.8.0.0"_XS8, "Mac-BE0E8AC46FE800CC"_XS8, // Intel Core M-5Y51 @ 1.20 GHz
|
||||
"MacBook"_XS8, "1.0"_XS8, "C02RCE58GCN3"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x25, 0x0f, 0, 0, 0x87, "j92"_XS8, "j92"_XS8, 0xf0e007 },
|
||||
//MacBook9,1 / MacBook (Retina, 12-inch, Early 2016)
|
||||
{ MacBook91, "MB91.88Z.F000.B00.2106131743"_XS8, "429.140.8.0.0"_XS8, "Mac-9AE82516C7C6B903"_XS8, // Intel Core m5-6Y54 @ 1.20 GHz
|
||||
"MacBook"_XS8, "1.0"_XS8, "C02RM408HDNK"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x35, 0x0f, 0, 1, 0x06, "j93"_XS8, "j93"_XS8, 0xf0e007 }, // need EPCI
|
||||
//MacBook10,1 / MacBook (Retina, 12-inch, 2017)
|
||||
{ MacBook101, "MB101.88Z.F000.B00.2106131834"_XS8, "429.140.8.0.0"_XS8, "Mac-EE2EBD4B90B839A8"_XS8, // Intel Core i5-7Y54 @ 1.30 GHz
|
||||
"MacBook"_XS8, "1.0"_XS8, "C02TQHACHH27"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x42, 0x0f, 0, 0, 0x12, "j122"_XS8, "j122"_XS8, 0xf08009 }, // need EPCI
|
||||
//MacBookPro1,1 / MacBook Pro (15-inch Glossy)
|
||||
{ MacBookPro11, "MBP11.88Z.0055.B08.0610121325"_XS8, ""_XS8, "Mac-F425BEC8"_XS8, // Intel Core Duo T2500 @ 2.00 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "W8634HACVWZ"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x02, 0x0f, 0, 0, 0x10, "m1"_XS8, "m1"_XS8, 0x7b002 }, // need EPCI
|
||||
//MacBookPro1,2 / MacBook Pro (17-inch)
|
||||
{ MacBookPro12, "MBP12.88Z.0061.B03.0610121334"_XS8, ""_XS8, "Mac-F42DBEC8"_XS8, // Intel Core Duo T2600 @ 2.17 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "W8629HACTHY"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x05, 0x0f, 0, 0, 0x10, "NA"_XS8, "NA"_XS8, 0x7b002 }, // need rBR RPlt EPCI
|
||||
//MacBookPro2,1 / MacBook Pro (17-inch Core 2 Duo)
|
||||
{ MacBookPro21, "MBP21.88Z.00A5.B08.0708131242"_XS8, ""_XS8, "Mac-F42189C8"_XS8, // Intel Core 2 Duo T7600 @ 2.33 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "W8715HACW0J"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x14, 0x0f, 0, 0, 0x05, "NA"_XS8, "NA"_XS8, 0x7b002 }, // need rBR RPlt EPCI
|
||||
//MacBookPro2,2 / MacBook Pro (15-inch Core 2 Duo)
|
||||
{ MacBookPro22, "MBP22.88Z.00A5.B07.0708131242"_XS8, ""_XS8, "Mac-F42187C8"_XS8, // Intel Core 2 Duo T7400 @ 2.16 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "W8827B4CW0L"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x13, 0x0f, 0, 0, 0x03, "NA"_XS8, "NA"_XS8, 0x7b002 }, // need rBR RPlt EPCI
|
||||
//MacBookPro3,1 / MacBook Pro (17-inch 2.4GHZ) - not exists in server
|
||||
{ MacBookPro31, "MBP31.88Z.0070.B07.0803051658"_XS8, ""_XS8, "Mac-F4238BC8"_XS8, // Intel Core 2 Duo T7700 @ 2.40 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "W8841OHZX91"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x16, 0x0f, 0, 0, 0x11, "NA"_XS8, "NA"_XS8, 0x7b002 }, // need rBR RPlt EPCI
|
||||
//MacBookPro4,1 / MacBook Pro (17-inch, Early 2008)
|
||||
{ MacBookPro41, "MBP41.88Z.00C1.B03.0802271651"_XS8, ""_XS8, "Mac-F42C89C8"_XS8, // Intel Core 2 Duo T9500 @ 2.60 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "W88484F2YP4"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x27, 0x0f, 0, 0, 0x03, "m87"_XS8, "m87"_XS8, 0x7b002 }, // need EPCI
|
||||
//MacBookPro5,1 / MacBook Pro (15-inch, Late 2008)
|
||||
{ MacBookPro51, "MBP51.88Z.007E.B06.1202061253"_XS8, ""_XS8, "Mac-F42D86C8"_XS8, // Intel Core 2 Duo P8600 @ 2.40 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "W88439FE1G0"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x33, 0x0f, 0, 0, 0x08, "m98"_XS8, "m98"_XS8, 0x7b002 },
|
||||
//MacBookPro5,2 / MacBook Pro (17-inch, Early 2009)
|
||||
{ MacBookPro52, "MBP52.88Z.008E.B05.0905042202"_XS8, ""_XS8, "Mac-F2268EC8"_XS8, // Intel Core 2 Duo T9600 @ 2.80 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "W8908HAC2QP"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x42, 0x0f, 0, 0, 0x04, "NA"_XS8, "NA"_XS8, 0x7b002 }, // need rBR RPlt EPCI
|
||||
//MacBookPro5,3 / MacBook Pro (15-inch, Mid 2009)
|
||||
{ MacBookPro53, "MBP53.88Z.00AC.B03.0906151647"_XS8, ""_XS8, "Mac-F22587C8"_XS8, // Intel Core 2 Duo P8800 @ 2.66 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "W89E6HAC64C"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x48, 0x0f, 0, 0, 0x02, "NA"_XS8, "NA"_XS8, 0x7b002 }, // need rBR RPlt EPCI
|
||||
//MacBookPro5,4 / MacBook Pro (15-inch, 2.53GHz, Mid 2009)
|
||||
{ MacBookPro54, "MBP53.88Z.00AC.B03.0906151647"_XS8, ""_XS8, "Mac-F22587A1"_XS8, // Intel Core 2 Duo P8700 @ 2.53 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "W8948HAC7XJ"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x49, 0x0f, 0, 0, 0x02, "NA"_XS8, "NA"_XS8, 0x7b002 }, // need rBR RPlt EPCI
|
||||
//MacBookPro5,5 / MacBook Pro (13-inch, Mid 2009)
|
||||
{ MacBookPro55, "MBP55.88Z.00AC.B03.0906151708"_XS8, ""_XS8, "Mac-F2268AC8"_XS8, // Intel Core 2 Duo P7550 @ 2.26 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "W8951HAC66E"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x47, 0x0f, 0, 0, 0x02, "branch"_XS8, "k24"_XS8, 0x7a003 },
|
||||
//MacBookPro6,1 / MacBook Pro (17-inch, Mid 2010)
|
||||
{ MacBookPro61, "MBP61.88Z.F000.B00.1906132235"_XS8, "99.0.0.0.0"_XS8, "Mac-F22589C8"_XS8, // Intel Core i5-540M @ 2.53 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02G5834DC79"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x57, 0x0f, 0, 0, 0x18, "k17"_XS8, "k17"_XS8, 0x7a004 }, // need EPCI
|
||||
//MacBookPro6,2 / MacBook Pro (15-inch, Mid 2010)
|
||||
{ MacBookPro62, "MBP61.88Z.F000.B00.1906132235"_XS8, "99.0.0.0.0"_XS8, "Mac-F22586C8"_XS8, // Intel Core i7-620M @ 2.66 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "CK132A91AGW"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x58, 0x0f, 0, 0, 0x17, "k74"_XS8, "k74"_XS8, 0x7a004 },
|
||||
//MacBookPro7,1 / MacBook Pro (13-inch, Mid 2010)
|
||||
{ MacBookPro71, "MBP71.88Z.F000.B00.1906132329"_XS8, "68.0.0.0.0"_XS8, "Mac-F222BEC8"_XS8, // Intel Core 2 Duo P8600 @ 2.40 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "CK145C7NATM"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x62, 0x0f, 0, 0, 0x07, "branch"_XS8, "k6"_XS8, 0x7a004 }, // need EPCI
|
||||
//MacBookPro8,1 / MacBook Pro (13-inch, Early 2011)
|
||||
{ MacBookPro81, "MBP81.88Z.F000.B00.1906132217"_XS8, "87.0.0.0.0"_XS8, "Mac-94245B3640C91C81"_XS8, // Intel Core i5-2415M @ 2.30 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "W89F9196DH2G"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x68, 0x0f, 0, 0, 0x99, "k90i"_XS8, "k90i"_XS8, 0x7b005 },
|
||||
//MacBookPro8,2 / MacBook Pro (15-inch, Early 2011)
|
||||
{ MacBookPro82, "MBP81.88Z.0050.B00.1906132217"_XS8, "87.0.0.0.0"_XS8, "Mac-94245A3940C91C80"_XS8, // Intel Core i7-2675QM @ 2.20 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02HL0FGDF8X"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x69, 0x0f, 0, 0, 0x04, "trunk"_XS8, "k91f"_XS8, 0x7b005 }, // need EPCI
|
||||
//MacBookPro8,3 / MacBook Pro (17-inch, Early 2011)
|
||||
{ MacBookPro83, "MBP81.88Z.0050.B00.1906132217"_XS8, "87.0.0.0.0"_XS8, "Mac-942459F5819B171B"_XS8, // Intel Core i7-2860QM @ 2.49 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "W88F9CDEDF93"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x01, 0x70, 0x0f, 0, 0, 0x06, "k92"_XS8, "k92"_XS8, 0x7c005 },
|
||||
//MacBookPro9,1 / MacBook Pro (15-inch, Mid 2012)
|
||||
{ MacBookPro91, "MBP91.88Z.F000.B00.2106041716"_XS8, "422.0.0.0.0"_XS8, "Mac-4B7AC7E43945597E"_XS8, // Intel Core i7-3720QM @ 2.60 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02LW984F1G4"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x01, 0x0f, 0, 1, 0x75, "j31"_XS8, "j31"_XS8, 0x76006 }, // need EPCI
|
||||
//MacBookPro9,2 / MacBook Pro (13-inch, Mid 2012)
|
||||
{ MacBookPro92, "MBP91.88Z.F000.B00.2106041716"_XS8, "422.0.0.0.0"_XS8, "Mac-6F01561E16C75D06"_XS8, // Intel Core i5-3210M @ 2.50 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02HA041DTY3"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x02, 0x0f, 0, 0, 0x44, "branch"_XS8, "j30"_XS8, 0x76006 },
|
||||
//MacBookPro10,1 / MacBook Pro (Retina, 15-inch, Early 2013)
|
||||
{ MacBookPro101, "MBP101.88Z.F000.B00.2106041718"_XS8, "422.0.0.0.0"_XS8, "Mac-C3EC7CD22292981F"_XS8, // Intel Core i7-3740QM @ 2.70 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02LHHACFFT4"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x03, 0x0f, 0, 0, 0x36, "d2"_XS8, "d2"_XS8, 0x74006 },
|
||||
//MacBookPro10,2 / MacBook Pro (Retina, 13-inch, Early 2013)
|
||||
{ MacBookPro102, "MBP102.88Z.F000.B00.2106041717"_XS8, "422.0.0.0.0"_XS8, "Mac-AFD8A9D944EA4843"_XS8, // Intel Core i5-3230M @ 2.60 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02K4HACFFRP"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x06, 0x0f, 0, 0, 0x59, "branch"_XS8, "d1"_XS8, 0x73007 },
|
||||
//MacBookPro11,1 / MacBook Pro (Retina, 13-inch, Mid 2014)
|
||||
{ MacBookPro111, "MBP111.88Z.F000.B00.2106131844"_XS8, "431.140.6.0.0"_XS8, "Mac-189A3D4F975D5FFC"_XS8, // Intel Core i7-4558U @ 2.80 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C17N4HACG3QJ"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x16, 0x0f, 0, 0, 0x68, "j44"_XS8, "j44"_XS8, 0xf0b007 },
|
||||
//MacBookPro11,2 / MacBook Pro (Retina, 15-inch, Mid 2014)
|
||||
{ MacBookPro112, "MBP112.88Z.F000.B00.2106131836"_XS8, "431.140.6.0.0"_XS8, "Mac-3CBD00234E554E41"_XS8, // Intel Core i7-4750HQ @ 2.00 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02P9HACG9FT"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x18, 0x0f, 0, 0, 0x15, "j45"_XS8, "j45"_XS8, 0xf0b007 }, // need EPCI
|
||||
//MacBookPro11,3 / MacBook Pro (Retina, 15-inch, Mid 2014)
|
||||
{ MacBookPro113, "MBP112.88Z.F000.B00.2106131836"_XS8, "431.140.6.0.0"_XS8, "Mac-2BD1B31983FE1663"_XS8, // Intel Core i7-4870HQ @ 2.50 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02NNHACG3QP"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x19, 0x0f, 0, 0, 0x12, "j45g"_XS8, "j45g"_XS8, 0xf0d007 },
|
||||
//MacBookPro11,4 / MacBook Pro (Retina, 15-inch, Mid 2015)
|
||||
{ MacBookPro114, "MBP114.88Z.F000.B00.2106131816"_XS8, "427.140.8.0.0"_XS8, "Mac-06F11FD93F0323C5"_XS8, // Intel Core i7-4770HQ @ 2.20 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02Q7HACG8WL"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x29, 0x0f, 0, 0, 0x23, "j145"_XS8, "j145"_XS8, 0xf07008 },
|
||||
//MacBookPro11,5 / MacBook Pro (Retina, 15-inch, Mid 2015)
|
||||
{ MacBookPro115, "MBP114.88Z.F000.B00.2106131816"_XS8, "427.140.8.0.0"_XS8, "Mac-06F11F11946D27C5"_XS8, // Intel Core i7-4870HQ @ 2.50 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02Q3HACG8WM"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x30, 0x0f, 0, 0, 0x02, "NA"_XS8, "NA"_XS8, 0xf0b007 }, // need rBR RPlt EPCI
|
||||
//MacBookPro12,1 / MacBook Pro (Retina, 13-inch, Early 2015)
|
||||
{ MacBookPro121, "MBP121.88Z.F000.B00.2106131845"_XS8, "427.140.8.0.0"_XS8, "Mac-E43C1C25D4880AD6"_XS8, // Intel Core i5-5257U @ 2.70 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02Q51OSH1DP"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x28, 0x0f, 0, 0, 0x07, "j52"_XS8, "j52"_XS8, 0xf01008 },
|
||||
//MacBookPro13,1 / MacBook Pro (13-inch, 2016, Two Thunderbolt 3 ports)
|
||||
{ MacBookPro131, "MBP131.88Z.F000.B00.2106131757"_XS8, "429.140.8.0.0"_XS8, "Mac-473D31EABEB93F9B"_XS8, // Intel Core i5-6360U @ 2.00 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02SLHACGVC1"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x36, 0x0f, 0, 1, 0x02, "2016mb"_XS8, "j130"_XS8, 0xf02009 }, // need EPCI
|
||||
//MacBookPro13,2 / MacBook Pro (13-inch, 2016, Four Thunderbolt 3 Ports)
|
||||
{ MacBookPro132, "MBP132.88Z.F000.B00.2106131817"_XS8, "429.140.8.0.0"_XS8, "Mac-66E35819EE2D0D05"_XS8, // Intel Core i5-6287U @ 3.10 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02SLHACGYFH"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x37, 0x0f, 0, 0, 0x21, "2016mb"_XS8, "j79"_XS8, 0xf02009 },
|
||||
//MacBookPro13,3 / MacBook Pro (15-inch, 2016)
|
||||
{ MacBookPro133, "MBP133.88Z.F000.B00.2106131759"_XS8, "429.140.8.0.0"_XS8, "Mac-A5C67F76ED83108C"_XS8, // Intel Core i7-6920HQ @ 2.90 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02SLHACGTFN"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x38, 0x0f, 0, 0, 0x08, "2016mb"_XS8, "j80g"_XS8, 0xf04009 },
|
||||
//MacBookPro14,1 / MacBook Pro (13-inch, 2017, Two Thunderbolt 3 ports)
|
||||
{ MacBookPro141, "MBP141.88Z.F000.B00.2106131822"_XS8, "429.140.8.0.0"_XS8, "Mac-B4831CEBD52A0C4C"_XS8, // Intel Core i5-7360U @ 2.30 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02TNHACHV29"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x43, 0x0f, 0, 0, 0x07, "2017mbp"_XS8, "j130a"_XS8, 0xf0b009 },
|
||||
//MacBookPro14,2 / MacBook Pro (13-inch, 2017, Four Thunderbolt 3 Ports)
|
||||
{ MacBookPro142, "MBP142.88Z.F000.B00.2106131822"_XS8, "429.140.8.0.0"_XS8, "Mac-CAD6701F7CEA0921"_XS8, // Intel Core i5-7267U @ 3.09 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02TQHACHV2N"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x44, 0x0f, 0, 0, 0x02, "2017mbp"_XS8, "j79a"_XS8, 0xf09009 },
|
||||
//MacBookPro14,3 / MacBook Pro (15-inch, 2017)
|
||||
{ MacBookPro143, "MBP143.88Z.F000.B00.2106131834"_XS8, "429.140.8.0.0"_XS8, "Mac-551B86E5744E2388"_XS8, // Intel Core i7-7700HQ @ 2.80 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02TQHACHTD5"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0x02, 0x45, 0x0f, 0, 0, 0x01, "2017mbp"_XS8, "j80ga"_XS8, 0xf0a009 },
|
||||
//MacBookPro15,1 / MacBook Pro (15-inch, 2018)
|
||||
{ MacBookPro151, "MBP151.88Z.F000.B00.2107050205"_XS8, "715.0.57.0.0"_XS8, "Mac-937A206F2EE63C01"_XS8, // Intel Core i9-8950HK @ 2.90 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02X1HACKGYG"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0, 0, 0, 0, 0, 0, ""_XS8, "j680"_XS8, 0 },
|
||||
//MacBookPro15,2 / MacBook Pro (13-inch, 2018, Four Thunderbolt 3 Ports)
|
||||
{ MacBookPro152, "MBP152.88Z.F000.B00.2107050204"_XS8, "1715.0.57.0.0"_XS8, "Mac-827FB448E656EC26"_XS8, // Intel Core i5-8259U @ 2.30 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02X1HACJHCD"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0, 0, 0, 0, 0, 0, ""_XS8, "j132"_XS8, 0 },
|
||||
//MacBookPro15,3 / MacBook Pro (15-inch, 2019)
|
||||
{ MacBookPro153, "MBP153.88Z.F000.B00.2107050204"_XS8, "1715.0.57.0.0"_XS8, "Mac-1E7E29AD0135F9BC"_XS8, // Intel Core i9-9980HK @ 2.40 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02X1HACLVCG"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0, 0, 0, 0, 0, 0, ""_XS8, "j780"_XS8, 0 },
|
||||
//MacBookPro15,4 / MacBook Pro (13-inch, 2019, Two Thunderbolt 3 ports)
|
||||
{ MacBookPro154, "MBP154.88Z.F000.B00.2107050236"_XS8, "1715.0.57.0.0"_XS8, "Mac-53FDB3D8DB8CA971"_XS8, // Intel Core i7-8557U @ 1.70 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "FVFYXHACL411"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0, 0, 0, 0, 0, 0, ""_XS8, "j213"_XS8, 0 },
|
||||
//MacBookPro16,1 / MacBook Pro (16-inch, 2019)
|
||||
{ MacBookPro161, "MBP161.88Z.F000.B00.2107050239"_XS8, "1715.0.57.0.0"_XS8, "Mac-E1008331FDC96864"_XS8, // Intel Core i9-9980HK @ 2.40 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02ZPHACPG8W"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0, 0, 0, 0, 0, 0, ""_XS8, "j152f"_XS8, 0 },
|
||||
//MacBookPro16,2 / MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports)
|
||||
//IceLake, Intel Iris Plus Graphics
|
||||
{ MacBookPro162, "MBP162.88Z.F000.B00.2107050225"_XS8, "1715.0.57.0.0"_XS8, "Mac-5F9802EFE386AA28"_XS8, // Intel Core i7-1068NG7 @ 2.30 GHz type=0x060b
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02CLHACML7H"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0, 0, 0, 0, 0, 0, ""_XS8, "j214k"_XS8, 0 },
|
||||
//MacBookPro16,3 / MacBook Pro (13-inch, 2020, Two Thunderbolt 3 ports)
|
||||
//Intel Core i5 or Core i7 (8257U, 8557U) ("Coffee Lake"), Intel Iris Plus Graphics 645
|
||||
{ MacBookPro163, "MBP163.88Z.F000.B00.2107050231"_XS8, "1715.0.57.0.0"_XS8, "Mac-E7203C0F68AA0004"_XS8, // Intel Core i7-8557U @ 1.70 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02CJHACP3XY"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0, 0, 0, 0, 0, 0, ""_XS8, "j223"_XS8, 0 },
|
||||
//MacBookPro16,4 / MacBook Pro (16-inch, 2019) AMD Radeon Pro 5600M
|
||||
{ MacBookPro164, "MBP164.88Z.F000.B00.2107050237"_XS8, "1715.0.57.0.0"_XS8, "Mac-A61BADE1FDAD7B05"_XS8, // Intel Core i9-9880H @ 2.30 GHz
|
||||
"MacBook Pro"_XS8, "1.0"_XS8, "C02CWHACMD6T"_XS8, "MacBook-Aluminum"_XS8,
|
||||
0, 0, 0, 0, 0, 0, ""_XS8, "j215"_XS8, 0 },
|
||||
//MacBookAir1,1 / MacBook Air (Original)
|
||||
{ MacBookAir11, "MBA11.88Z.00BB.B03.0803171226"_XS8, ""_XS8, "Mac-F42C8CC8"_XS8, // Intel Core 2 Duo P7500 @ 1.60 GHz
|
||||
"MacBook Air"_XS8, "1.0"_XS8, "W864947A18X"_XS8, "Air-Enclosure"_XS8,
|
||||
0x01, 0x23, 0x0f, 0, 0, 0x20, "NA"_XS8, "NA"_XS8, 0x76005 }, // need rBR RPlt EPCI
|
||||
//MacBookAir2,1 / MacBook Air (Mid 2009)
|
||||
{ MacBookAir21, "MBA21.88Z.0075.B05.1003051506"_XS8, ""_XS8, "Mac-F42D88C8"_XS8, // Intel Core 2 Duo L9600 @ 2.13 GHz
|
||||
"MacBook Air"_XS8, "1.0"_XS8, "W86494769A7"_XS8, "Air-Enclosure"_XS8,
|
||||
0x01, 0x34, 0x0f, 0, 0, 0x08, "NA"_XS8, "NA"_XS8, 0x76005 }, // need rBR RPlt EPCI
|
||||
//MacBookAir3,1 / MacBook Air (11-inch, Late 2010)
|
||||
{ MacBookAir31, "MBA31.88Z.F000.B00.1906132254"_XS8, "110.0.0.0.0"_XS8, "Mac-942452F5819B1C1B"_XS8, // Intel Core 2 Duo U9600 @ 1.60 GHz
|
||||
"MacBook Air"_XS8, "1.0"_XS8, "C02DNHACDDR0"_XS8, "Air-Enclosure"_XS8,
|
||||
0x01, 0x67, 0x0f, 0, 0, 0x10, "k16k99"_XS8, "k99"_XS8, 0x76005 },
|
||||
//MacBookAir3,2 / MacBook Air (13-inch, Late 2010)
|
||||
{ MacBookAir32, "MBA31.88Z.F000.B00.1906132254"_XS8, "110.0.0.0.0"_XS8, "Mac-942C5DF58193131B"_XS8, // Intel Core 2 Duo L9600 @ 2.13 GHz
|
||||
"MacBook Air"_XS8, "1.0"_XS8, "C02DRHACDDR3"_XS8, "Air-Enclosure"_XS8,
|
||||
0x01, 0x66, 0x0f, 0, 0, 0x61, "NA"_XS8, "NA"_XS8, 0x76005 }, // need rBR RPlt EPCI
|
||||
//MacBookAir4,1 / MacBook Air (11-inch, Mid 2011)
|
||||
{ MacBookAir41, "MBA41.88Z.F000.B00.1906140715"_XS8, "135.0.0.0.0"_XS8, "Mac-C08A6BB70A942AC2"_XS8, // Intel Core i7-2677M @ 1.80 GHz
|
||||
"MacBook Air"_XS8, "1.0"_XS8, "C02HVHACDJYC"_XS8, "Air-Enclosure"_XS8,
|
||||
0x01, 0x74, 0x0f, 0, 0, 0x04, "k21k78"_XS8, "k78"_XS8, 0x76005 }, // need EPCI
|
||||
//MacBookAir4,2 / MacBook Air (13-inch, Mid 2011)
|
||||
{ MacBookAir42, "MBA41.88Z.F000.B00.1906140715"_XS8, "135.0.0.0.0"_XS8, "Mac-742912EFDBEE19B3"_XS8, // Intel Core i5-2557M @ 1.70 GHz
|
||||
"MacBook Air"_XS8, "1.0"_XS8, "C02GLHACDJWT"_XS8, "Air-Enclosure"_XS8,
|
||||
0x01, 0x73, 0x0f, 0, 0, 0x66, "k21k78"_XS8, "k21"_XS8, 0x76005 }, // need EPCI
|
||||
//MacBookAir5,1 / MacBook Air (11-inch, Mid 2012)
|
||||
{ MacBookAir51, "MBA51.88Z.F000.B00.2106041717"_XS8, "422.0.0.0.0"_XS8, "Mac-66F35F19FE2A0D05"_XS8, // Intel Core i7-3667U @ 2.00 GHz
|
||||
"MacBook Air"_XS8, "1.0"_XS8, "C02J6HACDRV6"_XS8, "Air-Enclosure"_XS8,
|
||||
0x02, 0x04, 0x0f, 0, 0, 0x19, "j11j13"_XS8, "j11"_XS8, 0x7b006 }, // need EPCI
|
||||
//MacBookAir5,2 / MacBook Air (13-inch, Mid 2012)
|
||||
{ MacBookAir52, "MBA51.88Z.F000.B00.2106041717"_XS8, "422.0.0.0.0"_XS8, "Mac-2E6FAB96566FE58C"_XS8, // Intel Core i5-3427U @ 1.80 GHz
|
||||
"MacBook Air"_XS8, "1.0"_XS8, "C02HA041DRVC"_XS8, "Air-Enclosure"_XS8,
|
||||
0x02, 0x05, 0x0f, 0, 0, 0x09, "j11j13"_XS8, "j13"_XS8, 0x7b006 },
|
||||
//MacBookAir6,1 / MacBook Air (11-inch, Mid 2013)
|
||||
{ MacBookAir61, "MBA61.88Z.F000.B00.2106131852"_XS8, "431.140.6.0.0"_XS8, "Mac-35C1E88140C3E6CF"_XS8, // Intel Core i7-4650U @ 1.70 GHz
|
||||
"MacBook Air"_XS8, "1.0"_XS8, "C2QM6HACFKYN"_XS8, "Air-Enclosure"_XS8,
|
||||
0x02, 0x12, 0x0f, 0, 1, 0x43, "j41j43"_XS8, "j41"_XS8, 0x7b007 }, // need EPCI
|
||||
//MacBookAir6,2 / MacBook Air (13-inch, Mid 2013)
|
||||
{ MacBookAir62, "MBA61.88Z.F000.B00.2106131852"_XS8, "431.140.6.0.0"_XS8, "Mac-7DF21CB3ED6977E5"_XS8, // Intel Core i5-4250U @ 1.30 GHz
|
||||
"MacBook Air"_XS8, "1.0"_XS8, "C02L9HACF5V7"_XS8, "Air-Enclosure"_XS8,
|
||||
0x02, 0x13, 0x0f, 0, 0, 0x15, "j41j43"_XS8, "j43"_XS8, 0x7b007 },
|
||||
//MacBookAir7,1 / MacBook Air (11-inch, Early 2015)
|
||||
{ MacBookAir71, "MBA71.88Z.F000.B00.2106131820"_XS8, "427.140.8.0.0"_XS8, "Mac-9F18E312C5C2BF0B"_XS8, // Intel Core i5-5250U @ 1.60 GHz
|
||||
"MacBook Air"_XS8, "1.0"_XS8, "C02PVHACGFWL"_XS8, "Air-Enclosure"_XS8,
|
||||
0x02, 0x26, 0x0f, 0, 0, 0x02, "j110"_XS8, "j110"_XS8, 0x7b007 },
|
||||
//MacBookAir7,2 / MacBook Air (13-inch, Early 2015)
|
||||
{ MacBookAir72, "MBA71.88Z.F000.B00.2106131820"_XS8, "427.140.8.0.0"_XS8, "Mac-937CB26E2E02BB01"_XS8, // Intel Core i7-5650U @ 2.20 GHz, i5-5250U CPU @ 1.60GHz
|
||||
"MacBook Air"_XS8, "1.0"_XS8, "C02Q1HACG940"_XS8, "Air-Enclosure"_XS8,
|
||||
0x02, 0x27, 0x0f, 0, 0, 0x02, "j113"_XS8, "j113"_XS8, 0xf0a008 },
|
||||
//MacBookAir8,1 / MacBook Air (Retina, 13-inch, 2018)
|
||||
{ MacBookAir81, "MBA81.88Z.F000.B00.2107050205"_XS8, "1715.0.57.0.0"_XS8, "Mac-827FAC58A8FDFA22"_XS8, // Intel Core i5-8210Y @ 1.60 GHz
|
||||
"MacBook Air"_XS8, "1.0"_XS8, "FVFXJHACJK77"_XS8, "Air-Enclosure"_XS8,
|
||||
0, 0, 0, 0, 0, 0, ""_XS8, "j140k"_XS8, 0 },
|
||||
//MacBookAir8,2 / MacBook Air (Retina, 13-inch, 2019)
|
||||
{ MacBookAir82, "MBA82.88Z.F000.B00.2107050207"_XS8, "1715.0.57.0.0"_XS8, "Mac-226CB3C6A851A671"_XS8, // Intel Core i5-8210Y @ 1.60 GHz
|
||||
"MacBook Air"_XS8, "1.0"_XS8, "FVFXJHACLYWM"_XS8, "Air-Enclosure"_XS8,
|
||||
0, 0, 0, 0, 0, 0, ""_XS8, "j140a"_XS8, 0 },
|
||||
//MacBookAir9,1 / MacBook Air (Retina, 13-inch, 2020)
|
||||
// Intel Core i3, i5, or i7 (1000NG4, 1030NG7, 1060NG7) ("Ice Lake")
|
||||
{ MacBookAir91, "MBA91.88Z.F000.B00.2107050235"_XS8, "1715.0.57.0.0"_XS8, "Mac-0CFF9C7C2B63DF8D"_XS8, // Intel Core i5-1030NG7 @ 1.10 GHz
|
||||
"MacBook Air"_XS8, "1.0"_XS8, "FVFCCHACMNHP"_XS8, "Air-Enclosure"_XS8,
|
||||
0, 0, 0, 0, 0, 0, ""_XS8, "j230k"_XS8, 0 },
|
||||
//Macmini1,1 / Mac mini (Early 2006)
|
||||
{ MacMini11, "MM11.88Z.0055.B08.0610121326"_XS8, ""_XS8, "Mac-F4208EC8"_XS8, // Intel Core 2 Duo T2300 @ 1.67 GHz
|
||||
"Mac mini"_XS8, "1.0"_XS8, "W8702N1JU35"_XS8, "Mini-Aluminum"_XS8,
|
||||
0x01, 0x03, 0x0f, 0, 0, 0x04, "m40"_XS8, "m40"_XS8, 0x78002 }, // need EPCI
|
||||
//Macmini2,1 / Mac mini (Mid 2007)
|
||||
{ MacMini21, "MM21.88Z.009A.B00.0706281359"_XS8, ""_XS8, "Mac-F4208EAA"_XS8, // Intel Core 2 Duo T7200 @ 2.00 GHz
|
||||
"Mac mini"_XS8, "1.1"_XS8, "W8705W9LYL2"_XS8, "Mini-Aluminum"_XS8,
|
||||
0x01, 0x19, 0x0f, 0, 0, 0x02, "NA"_XS8, "NA"_XS8, 0x78002 }, // need rBR EPCI
|
||||
//Macmini3,1 / Mac mini (Late 2009)
|
||||
{ MacMini31, "MM31.88Z.0081.B06.0904271717"_XS8, ""_XS8, "Mac-F22C86C8"_XS8, // Intel Core 2 Duo P8700 @ 2.53 GHz
|
||||
"Mac mini"_XS8, "1.0"_XS8, "YM003HAC9G6"_XS8, "Mini-Aluminum"_XS8,
|
||||
0x01, 0x35, 0x0f, 0, 0, 0x01, "NA"_XS8, "NA"_XS8, 0x78002 }, // need rBR RPlt EPCI
|
||||
//Macmini4,1 / Mac mini (Mid 2010)
|
||||
{ MacMini41, "MM41.88Z.F000.B00.1906132344"_XS8, "76.0.0.0.0"_XS8, "Mac-F2208EC8"_XS8, // Intel Core 2 Duo P8800 @ 2.66 GHz
|
||||
"Mac mini"_XS8, "1.0"_XS8, "C02FHBBEDD6H"_XS8, "Mini-Aluminum"_XS8,
|
||||
0x01, 0x65, 0x0f, 0, 0, 0x02, "NA"_XS8, "NA"_XS8, 0x78002 }, // need rBR RPlt EPCI
|
||||
//Macmini5,1 / Mac mini (Mid 2011)
|
||||
{ MacMini51, "MM51.88Z.F000.B00.1906131918"_XS8, "135.0.0.0.0"_XS8, "Mac-8ED6AF5B48C039E1"_XS8, // Intel Core i5-2415M @ 2.30 GHz
|
||||
"Mac mini"_XS8, "1.0"_XS8, "C07GA041DJD0"_XS8, "Mini-Aluminum"_XS8,
|
||||
0x01, 0x30, 0x0f, 0, 0, 0x03, "NA"_XS8, "NA"_XS8, 0x7d005 }, // need rBR EPCI
|
||||
//Macmini5,2 / Mac mini (Mid 2011)
|
||||
{ MacMini52, "MM51.88Z.F000.B00.1906131918"_XS8, "135.0.0.0.0"_XS8, "Mac-4BC72D62AD45599E"_XS8, // Intel Core i7-2620M @ 2.70 GHz
|
||||
"Mac mini"_XS8, "1.0"_XS8, "C07HVHACDJD1"_XS8, "Mini-Aluminum"_XS8,
|
||||
0x01, 0x75, 0x0f, 0, 0, 0x00, "NA"_XS8, "NA"_XS8, 0x7d005 }, // need rBR RPlt EPCI
|
||||
//Macmini5,3 / Mac mini Server (Mid 2011)
|
||||
{ MacMini53, "MM51.88Z.F000.B00.1906131918"_XS8, "135.0.0.0.0"_XS8, "Mac-7BA5B2794B2CDB12"_XS8, // Intel Core i7-2635QM @ 2.00 GHz
|
||||
"Mac mini"_XS8, "1.0"_XS8, "C07GWHACDKDJ"_XS8, "Mini-Aluminum"_XS8,
|
||||
0x01, 0x77, 0x0f, 0, 0, 0x00, "NA"_XS8, "NA"_XS8, 0x7d005 }, // need rBR RPlt EPCI
|
||||
//Macmini6,1 / Mac mini (Late 2012)
|
||||
{ MacMini61, "MM61.88Z.F000.B00.2106041717"_XS8, "422.0.0.0.0"_XS8, "Mac-031AEE4D24BFF0B1"_XS8, // Intel Core i5-3210M @ 2.50 GHz
|
||||
"Mac mini"_XS8, "1.0"_XS8, "C07JNHACDY3H"_XS8, "Mini-Aluminum"_XS8,
|
||||
0x02, 0x07, 0x0f, 0, 0, 0x00, "NA"_XS8, "NA"_XS8, 0x7d006 }, // need rBR RPlt EPCI
|
||||
//Macmini6,2 / Mac mini Server (Late 2012)
|
||||
{ MacMini62, "MM61.88Z.F000.B00.2106041717"_XS8, "422.0.0.0.0"_XS8, "Mac-F65AE981FFA204ED"_XS8, // Intel Core i7-3615QM @ 2.30 GHz
|
||||
"Mac mini"_XS8, "1.0"_XS8, "C07JD041DWYN"_XS8, "Mini-Aluminum"_XS8,
|
||||
0x02, 0x08, 0x0f, 0, 0, 0x01, "j50s"_XS8, "j50s"_XS8, 0x7d006 },
|
||||
//Macmini7,1 / Mac mini (Late 2014)
|
||||
{ MacMini71, "MM71.88Z.F000.B00.2106131851"_XS8, "431.140.6.0.0"_XS8, "Mac-35C5E08120C7EEAF"_XS8, // Intel Core i5-4278U @ 2.60 GHz
|
||||
"Mac mini"_XS8, "1.0"_XS8, "C02NN7NHG1J0"_XS8, "Mini-Aluminum"_XS8,
|
||||
0x02, 0x24, 0x0f, 0, 0, 0x32, "j64"_XS8, "j64"_XS8, 0xf04008 },
|
||||
//Macmini8,1 / Mac mini (2018)
|
||||
{ MacMini81, "MM81.88Z.F000.B00.2107050205"_XS8, "1715.0.57.0.0"_XS8, "Mac-7BA5B2DFE22DDD8C"_XS8, // Intel Core i7-8700B @ 3.20 GHz
|
||||
"Mac mini"_XS8, "1.0"_XS8, "C07XL9WEJYVX"_XS8, "Mini-Aluminum"_XS8,
|
||||
0, 0, 0, 0, 0, 0, ""_XS8, "j174"_XS8, 0 },
|
||||
//iMac4,1 / iMac (20-inch, Early 2006)
|
||||
{ iMac41, "IM41.88Z.0055.B08.0609061538"_XS8, ""_XS8, "Mac-F42786C8"_XS8, // Intel Core 2 Duo T2500 @ 2.00 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "W8610HACVGM"_XS8, "iMac"_XS8,
|
||||
0x01, 0x01, 0x0f, 0, 0, 0x05, "m38m39"_XS8, "m38"_XS8, 0x73002 }, // need EPCI
|
||||
//iMac4,2 / iMac (17-inch, Late 2006 CD)
|
||||
{ iMac42, "IM42.88Z.0071.B03.0610121320"_XS8, ""_XS8, "Mac-F4218EC8"_XS8, // Intel Core 2 Duo T2400 @ 1.83 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "W8727HACWH5"_XS8, "iMac"_XS8,
|
||||
0x01, 0x06, 0x0f, 0, 0, 0x00, "NA"_XS8, "NA"_XS8, 0x73002 }, // need rBR RPlt EPCI
|
||||
//iMac5,1 / iMac (20-inch, Late 2006)
|
||||
{ iMac51, "IM51.88Z.0090.B09.0706270921"_XS8, ""_XS8, "Mac-F4228EC8"_XS8, // Intel Core 2 Duo T7400 @ 2.16 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "CK708HACVUW"_XS8, "iMac"_XS8,
|
||||
0x01, 0x08, 0x0f, 0, 0, 0x02, "NA"_XS8, "NA"_XS8, 0x73002 }, // need rBR RPlt EPCI
|
||||
//iMac5,2 / iMac (17-inch, Late 2006 CD)
|
||||
{ iMac52, "IM52.88Z.0090.B09.0706270913"_XS8, ""_XS8, "Mac-F4218EC8"_XS8, // Intel Core 2 Duo T5600 @ 1.83 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "QP702HACWH4"_XS8, "iMac"_XS8,
|
||||
0x01, 0x06, 0x0f, 0, 0, 0x00, "NA"_XS8, "NA"_XS8, 0x73002 }, // need rBR RPlt EPCI
|
||||
//iMac6,1 / iMac (24-inch, Late 2006)
|
||||
{ iMac61, "IM61.88Z.0093.B07.0804281538"_XS8, ""_XS8, "Mac-F4218FC8"_XS8, // Intel Core 2 Duo T7600 @ 2.33 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "QP708HACXA6"_XS8, "iMac"_XS8,
|
||||
0x01, 0x08, 0x0f, 0, 0, 0x02, "NA"_XS8, "NA"_XS8, 0x73002 }, // need rBR RPlt EPCI
|
||||
//iMac7,1 / iMac (20-inch, Mid 2007)
|
||||
{ iMac71, "IM71.88Z.007A.B03.0803051705"_XS8, ""_XS8, "Mac-F42386C8"_XS8, // Intel Core 2 Extreme X7900 @ 2.80 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "W8739HACX85"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x01, 0x20, 0x0f, 0, 0, 0x04, "NA"_XS8, "NA"_XS8, 0x73002 }, // need rBR RPlt EPCI
|
||||
//iMac8,1 / iMac (24-inch, Early 2008)
|
||||
{ iMac81, "IM81.88Z.00C1.B00.0802091538"_XS8, ""_XS8, "Mac-F227BEC8"_XS8, // Intel Core 2 Duo E8235 @ 2.80 GHz
|
||||
"iMac"_XS8, "1.3"_XS8, "QP849HACZE7"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x01, 0x29, 0x0f, 0, 0, 0x01, "k3"_XS8, "k3"_XS8, 0x73002 },
|
||||
//iMac9,1 / iMac (24-inch, Early 2009)
|
||||
{ iMac91, "IM91.88Z.008D.B08.0904271717"_XS8, ""_XS8, "Mac-F2218FA9"_XS8, // Intel Core 2 Duo E8435 @ 3.06 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "W8919HAC0TG"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x01, 0x36, 0x0f, 0, 0, 0x03, "NA"_XS8, "NA"_XS8, 0x73002 }, // need rBR RPlt EPCI
|
||||
//iMac10,1 / iMac (27-inch, Late 2009)
|
||||
{ iMac101, "IM101.88Z.F000.B00.1906141458"_XS8, "215.0.0.0.0"_XS8, "Mac-F2268CC8"_XS8, // Intel Core 2 Duo E7600 @ 3.06 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "W80AA98A5PE"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x01, 0x53, 0x0f, 0, 0, 0x13, "k22k23"_XS8, "k23"_XS8, 0x7b002 },
|
||||
//iMac11,1 / iMac (27-inch, Late 2009)
|
||||
{ iMac111, "IM111.88Z.F000.B00.1906132358"_XS8, "63.0.0.0.0"_XS8, "Mac-F2268DAE"_XS8, // Intel Core i7-860 @ 2.80 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "G8942B1V5PJ"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x01, 0x54, 0x0f, 0, 0, 0x36, "k23f"_XS8, "k23f"_XS8, 0x7b004 },
|
||||
//iMac11,2 / iMac (21.5-inch, Mid 2010)
|
||||
{ iMac112, "IM112.88Z.F000.B00.1906132310"_XS8, "99.0.0.0.0"_XS8, "Mac-F2238AC8"_XS8, // Intel Core i3-540 @ 3.06 GHz
|
||||
"iMac"_XS8, "1.2"_XS8, "W8034342DB7"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x01, 0x64, 0x0f, 0, 0, 0x05, "k74"_XS8, "k74"_XS8, 0x7c004 },
|
||||
//iMac11,3 / iMac (27-inch, Mid 2010)
|
||||
{ iMac113, "IM112.88Z.F000.B00.1906132310"_XS8, "99.0.0.0.0"_XS8, "Mac-F2238BAE"_XS8, // Intel Core i5-760 @ 2.80 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "QP0312PBDNR"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x01, 0x59, 0x0f, 0, 0, 0x02, "k74"_XS8, "k74"_XS8, 0x7d004 },
|
||||
//iMac12,1 / iMac (21.5-inch, Mid 2011)
|
||||
{ iMac121, "IM121.88Z.F000.B00.1906140041"_XS8, "87.0.0.0.0"_XS8, "Mac-942B5BF58194151B"_XS8, // Intel Core i7-2600S @ 2.80 GHz
|
||||
"iMac"_XS8, "1.9"_XS8, "W80CF65ADHJF"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x01, 0x71, 0x0f, 0, 0, 0x22, "k60"_XS8, "k60"_XS8, 0x73005 },
|
||||
//iMac12,2 / iMac (27-inch, Mid 2011)
|
||||
{ iMac122, "IM121.88Z.F000.B00.1906140041"_XS8, "87.0.0.0.0"_XS8, "Mac-942B59F58194171B"_XS8, // Intel Core i5-2500S @ 2.70 GHz
|
||||
"iMac"_XS8, "1.9"_XS8, "W88GG136DHJQ"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x01, 0x72, 0x0f, 0, 0, 0x02, "k62"_XS8, "k62"_XS8, 0x75005 },
|
||||
//iMac13,1 / iMac (21.5-inch, Late 2012)
|
||||
{ iMac131, "IM131.88Z.F000.B00.2106041716"_XS8, "422.0.0.0.0"_XS8, "Mac-00BE6ED71E35EB86"_XS8, // Intel Core i7-3770S @ 3.10 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "C02JA041DNCT"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x02, 0x09, 0x0f, 0, 0, 0x05, "d8"_XS8, "d8"_XS8, 0x78006 },
|
||||
//iMac13,2 / iMac (27-inch, Late 2012)
|
||||
{ iMac132, "IM131.88Z.F000.B00.2106041716"_XS8, "422.0.0.0.0"_XS8, "Mac-FC02E91DDD3FA6A4"_XS8, // Intel Core i5-3470 @ 3.20 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "C02JB041DNCW"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x02, 0x11, 0x0f, 0, 0, 0x16, "d8"_XS8, "d8"_XS8, 0x79006 },
|
||||
//iMac13,3 / iMac (21.5-inch, Early 2013) - not exists in server
|
||||
{ iMac133, "IM131.88Z.F000.B00.2106041716"_XS8, "422.0.0.0.0"_XS8, "Mac-7DF2A3B5E5D671ED"_XS8, // Intel Core i3-3225 @ 3.30 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "C02KVHACFFYV"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x02, 0x13, 0x0f, 0, 0, 0x15, "d8"_XS8, "d8"_XS8, 0x79006 }, // need EPCI
|
||||
//iMac14,1 / iMac (21.5-inch, Late 2013)
|
||||
{ iMac141, "IM141.88Z.F000.B00.2106131845"_XS8, "431.140.6.0.0"_XS8, "Mac-031B6874CF7F642A"_XS8, // Intel Core i5-4570R @ 2.70 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "D25LHACKF8J2"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x02, 0x14, 0x0f, 0, 0, 0x24, "j16j17"_XS8, "j16"_XS8, 0x79007 },
|
||||
//iMac14,2 / iMac (27-inch, Late 2013)
|
||||
{ iMac142, "IM142.88Z.F000.B00.2106131851"_XS8, "431.140.6.0.0"_XS8, "Mac-27ADBB7B4CEE8E61"_XS8, // Intel Core i5-4570 @ 3.20 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "D25LHACKF8JC"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x02, 0x15, 0x0f, 0, 0, 0x07, "j16j17"_XS8, "j17"_XS8, 0x7a007 },
|
||||
//iMac14,3 / iMac (21.5-inch, Late 2013)
|
||||
{ iMac143, "IM143.88Z.F000.B00.2106131845"_XS8, "431.140.6.0.0"_XS8, "Mac-77EB7D7DAF985301"_XS8, // Intel Core i5-4570S @ 2.90 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "D25LHACKF8J3"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x02, 0x17, 0x0f, 0, 0, 0x07, "j16g"_XS8, "j16g"_XS8, 0x7a007 }, // need EPCI
|
||||
//iMac14,4 / iMac (21.5-inch, Mid 2014)
|
||||
{ iMac144, "IM144.88Z.F000.B00.2106131820"_XS8, "431.140.6.0.0"_XS8, "Mac-81E3E92DD6088272"_XS8, // Intel Core i5-4260U @ 1.40 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "D25LHACKFY0T"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x02, 0x21, 0x0f, 0, 0, 0x92, "j70"_XS8, "j70"_XS8, 0x7a007 }, // need EPCI
|
||||
//iMac15,1 / iMac (Retina 5K, 27-inch, Mid 2015)
|
||||
{ iMac151, "IM151.88Z.F000.B00.2106131818"_XS8, "431.140.6.0.0"_XS8, "Mac-42FD25EABCABB274"_XS8, // Intel Core i5-4690 @ 3.50 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "C02Q6HACFY10"_XS8, "iMac-Aluminum"_XS8, // i5: Mac-42FD25EABCABB274, i7: Mac-FA842E06C61E91C5
|
||||
0x02, 0x22, 0x0f, 0, 0, 0x16, "j78j78am"_XS8, "j78"_XS8, 0xf00008 }, // i5: 2.22f16, i7: 2.23f11
|
||||
//iMac16,1 / iMac (21.5-inch, Late 2015)
|
||||
{ iMac161, "IM161.88Z.F000.B00.2106131802"_XS8, "427.140.8.0.0"_XS8, "Mac-A369DDC4E67F1C45"_XS8, // Intel Core i5-5250U @ 1.60 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "C02QQHACGF1J"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x02, 0x31, 0x0f, 0, 0, 0x37, "j117"_XS8, "j117"_XS8, 0xf00008 }, // need EPCI
|
||||
//iMac16,2 / iMac (Retina 4K, 21.5-inch, Late 2015)
|
||||
{ iMac162, "IM162.88Z.F000.B00.2106131845"_XS8, "427.140.8.0.0"_XS8, "Mac-FFE5EF870D7BA81A"_XS8, // Intel Core i5-5575R @ 2.80 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "C02PNHACGG78"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x02, 0x32, 0x0f, 0, 0, 0x21, "j94"_XS8, "j94"_XS8, 0xf00008 }, // need EPCI
|
||||
//iMac17,1 / iMac (Retina 5K, 27-inch, Late 2015)
|
||||
{ iMac171, "IM171.88Z.F000.B00.2106131747"_XS8, "429.140.8.0.0"_XS8, "Mac-B809C3757DA9BB8D"_XS8, // Intel Core i7-6700K @ 4.00 GHz
|
||||
"iMac17,1"_XS8, "1.0"_XS8, "C02QFHACGG7L"_XS8, "iMac-Aluminum"_XS8, // i5: Mac-65CE76090165799A/Mac-DB15BD556843C820, i7: Mac-B809C3757DA9BB8D
|
||||
0x02, 0x34, 0x0f, 0, 0, 0x03, "j95j95am"_XS8, "j95"_XS8, 0xf0c008 }, //Note: why? i5: 2.33f12 but for i7: 2.34f3
|
||||
//iMac18,1 / iMac (21.5-inch, 2017)
|
||||
{ iMac181, "IM181.88Z.F000.B00.2106131817"_XS8, "429.140.8.0.0"_XS8, "Mac-4B682C642B45593E"_XS8, // Intel Core i5-7360U @ 2.30 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "C02TDHACH7JY"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x02, 0x39, 0x0f, 0, 0, 0x40, "j133_4_5"_XS8, "j135"_XS8, 0xf07009 }, // need RPlt EPCI
|
||||
//iMac18,2 / iMac (Retina 4K, 21.5-inch, 2017)
|
||||
{ iMac182, "IM183.88Z.F000.B00.2106131835"_XS8, "429.140.8.0.0"_XS8, "Mac-77F17D7DA9285301"_XS8, // Intel Core i5-7500 @ 3.40 GHz/i5-7400 @ 3.00GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "C02TDHACJ1G5"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x02, 0x40, 0x0f, 0, 0, 0x01, "j133_4_5"_XS8, "j134"_XS8, 0xf06009 },
|
||||
//iMac18,3 / iMac (Retina 5K, 27-inch, 2017)
|
||||
{ iMac183, "IM183.88Z.F000.B00.2106131835"_XS8, "429.140.8.0.0"_XS8, "Mac-BE088AF8C5EB4FA2"_XS8, // Intel Core i7-7700K @ 4.20 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "C02TDHACJ1GJ"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x02, 0x41, 0x0f, 0, 0, 0x02, "j133_4_5"_XS8, "j135"_XS8, 0xf07009 },
|
||||
//iMac19,1 / iMac (Retina 5K, 27-inch, 2019)
|
||||
//AMD Radeon Pro 570X, Radeon Pro 575X, Radeon Pro 580X, or Radeon Pro Vega 48
|
||||
{ iMac191, "IM191.88Z.F000.B00.2106222356"_XS8, "1554.140.20.0.0"_XS8, "Mac-AA95B1DDAB278B95"_XS8, // Intel Core i9-9900K @ 3.60 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "C02Y9HACJV3P"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x02, 0x46, 0x0f, 0, 0, 0x12, "j138_9"_XS8, "j138"_XS8, 0xf0d009 },
|
||||
//iMac19,2 / iMac (Retina 4K, 21.5-inch, 2019)
|
||||
{ iMac192, "IM191.88Z.F000.B00.2106222356"_XS8, "1554.140.20.0.0"_XS8, "Mac-63001698E7A34814"_XS8, // Intel Core i7-8700B @ 3.20 GHz
|
||||
"iMac"_XS8, "1.0"_XS8, "C02Y9HACJWDW"_XS8, "iMac-Aluminum"_XS8,
|
||||
0x02, 0x47, 0x0f, 0, 0, 0x03, "j138_9"_XS8, "j138"_XS8, 0xf0d009 },
|
||||
//iMac20,1 / iMac (Retina 5K, 27-inch, 2020) Intel Core i5-10500 @ 3.10 GHz
|
||||
//AMD Radeon Pro 5300, Radeon Pro 5500 XT, Radeon Pro 5700, or Radeon Pro 5700 XT
|
||||
{ iMac201, "IM201.88Z.F000.B00.2107050239"_XS8, "1715.0.57.0.0"_XS8, "Mac-CFF7D910A743CAAF"_XS8,
|
||||
"iMac"_XS8, "1.0"_XS8, "C02D3HACPN5T"_XS8, "iMac-Aluminum"_XS8,
|
||||
0,0,0,0,0,0,""_XS8, "j185"_XS8, 0},
|
||||
// 0x02, 0x46, 0x0f, 0, 0, 0x12, "j185"_XS8, "j185"_XS8, 0xf0d009 },
|
||||
//iMac20,2 / iMac (Retina 5K, 27-inch, 2020) Intel Core i9-10910 @ 3.60 GHz
|
||||
//AMD Radeon Pro 5300, Radeon Pro 5500 XT, Radeon Pro 5700, or Radeon Pro 5700 XT
|
||||
{ iMac202, "IM201.88Z.F000.B00.2107050239"_XS8, "1715.0.57.0.0"_XS8, "Mac-AF89B6D9451A490B"_XS8,
|
||||
"iMac"_XS8, "1.0"_XS8, "C02D2HAC046M"_XS8, "iMac-Aluminum"_XS8,
|
||||
0,0,0,0,0,0,""_XS8, "j185"_XS8, 0},
|
||||
// 0x02, 0x47, 0x0f, 0, 0, 0x03, "j185f"_XS8, "j185f"_XS8, 0xf0d009 },
|
||||
//iMacPro1,1 /iMac Pro (2017)
|
||||
{ iMacPro11, "IMP11.88Z.F000.B00.2107050205"_XS8, "1715.0.57.0.0"_XS8, "Mac-7BA5B2D9E42DDD94"_XS8, // Intel Xeon W-2140B CPU @ 3.20 GHz
|
||||
"iMac Pro"_XS8, "1.0"_XS8, "C02VVHACHX87"_XS8, "iMacPro-Aluminum"_XS8,
|
||||
0, 0, 0, 0, 0, 0, ""_XS8, "j137"_XS8, 0 },
|
||||
//MacPro1,1 / Mac Pro
|
||||
{ MacPro11, "MP11.88Z.005C.B08.0707021221"_XS8, ""_XS8, "Mac-F4208DC8"_XS8, // Intel Xeon X5355 @ 2.66 GHz x2
|
||||
"MacPro"_XS8, "1.0"_XS8, "W88A7HACUQ2"_XS8, "Pro-Enclosure"_XS8,
|
||||
0x01, 0x07, 0x0f, 0, 0, 0x10, "m43"_XS8, "m43"_XS8, 0x79001 }, // need EPCI
|
||||
//MacPro2,1 / Mac Pro
|
||||
{ MacPro21, "MP21.88Z.007F.B06.0707021348"_XS8, ""_XS8, "Mac-F4208DA9"_XS8, // Intel Xeon X5365 @ 2.99 GHz x2
|
||||
"MacPro"_XS8, "1.0"_XS8, "W8930518UPZ"_XS8, "Pro-Enclosure"_XS8,
|
||||
0x01, 0x15, 0x0f, 0, 0, 0x03, "m43a"_XS8, "m43a"_XS8, 0x79001 }, // need EPCI
|
||||
//MacPro3,1 / Mac Pro (Early 2008)
|
||||
{ MacPro31, "MP31.88Z.006C.B05.0802291410"_XS8, ""_XS8, "Mac-F42C88C8"_XS8, // Intel Xeon E5462 @ 2.80 GHz x2
|
||||
"MacPro"_XS8, "1.3"_XS8, "W88A77AA5J4"_XS8, "Pro-Enclosure"_XS8,
|
||||
0x01, 0x30, 0x0f, 0, 0, 0x03, "m86"_XS8, "m86"_XS8, 0x79001 },
|
||||
//MacPro4,1 / Mac Pro (Early 2009)
|
||||
{ MacPro41, "MP41.88Z.0081.B08.1001221313"_XS8, ""_XS8, "Mac-F221BEC8"_XS8, // Intel Xeon X5670 @ 2.93 GHz x2
|
||||
"MacPro"_XS8, "1.4"_XS8, "CT930HAC4PD"_XS8, "Pro-Enclosure"_XS8,
|
||||
0x01, 0x39, 0x0f, 0, 0, 0x05, "NA"_XS8, "NA"_XS8, 0x7c002 }, // need rBR RPlt
|
||||
//MacPro5,1 / Mac Pro (Mid 2012)
|
||||
{ MacPro51, "MP51.88Z.F000.B00.1904121248"_XS8, "144.0.0.0.0"_XS8, "Mac-F221BEC8"_XS8, // Intel Xeon X5675 @ 3.06 GHz x2
|
||||
"MacPro"_XS8, "1.2"_XS8, "C07J77F7F4MC"_XS8, "Pro-Enclosure"_XS8, // Note: C07J50F7F4MC CK04000AHFC CG154TB9WU3
|
||||
0x01, 0x39, 0x0f, 0, 0, 0x11, "k5"_XS8, "k5"_XS8, 0x7c002 },
|
||||
//MacPro6,1 / Mac Pro (Late 2013)
|
||||
{ MacPro61, "MP61.88Z.F000.B00.2106101804"_XS8, "428.140.7.0.0"_XS8, "Mac-F60DEB81FF30ACF6"_XS8, // Intel Xeon E5-1650 v2 @ 3.50 GHz
|
||||
"MacPro"_XS8, "1.0"_XS8, "F5KLA770F9VM"_XS8, "Pro-Enclosure"_XS8,
|
||||
0x02, 0x20, 0x0f, 0, 0, 0x18, "j90"_XS8, "j90"_XS8, 0xf0f006 },
|
||||
//MacPro7,1 / Mac Pro (2019)
|
||||
{ MacPro71, "MP71.88Z.F000.B00.2107050205"_XS8, "1715.0.57.0.0"_XS8, "Mac-27AD2F918AE68F61"_XS8, // Intel Xeon W-3245M CPU @ 3.20 GHz
|
||||
"MacPro"_XS8, "1.0"_XS8, "F5KZNHACP7QM"_XS8, "Pro-Enclosure"_XS8,
|
||||
0, 0, 0, 0, 0, 0, ""_XS8, "j16O"_XS8, 0 },
|
||||
//Xserve1,1 / Xserve (Late 2006)
|
||||
{ Xserve11, "XS11.88Z.0080.B01.0706271533"_XS8, ""_XS8, "Mac-F4208AC8"_XS8, // Intel Xeon E5345 @ 2.33 GHz x2
|
||||
"Xserve"_XS8, "1.0"_XS8, "CK703E1EV2Q"_XS8, "Xserve"_XS8,
|
||||
0x01, 0x11, 0x0f, 0, 0, 0x05, "NA"_XS8, "NA"_XS8, 0x79001 }, // need rBR RPlt EPCI
|
||||
//Xserve2,1 / Xserve (Early 2008)
|
||||
{ Xserve21, "XS21.88Z.006C.B06.0804011317"_XS8, ""_XS8, "Mac-F42289C8"_XS8, // Intel Xeon E5472 @ 3.00 GHz x2
|
||||
"Xserve"_XS8, "1.0"_XS8, "CK830DLQX8S"_XS8, "Xserve"_XS8,
|
||||
0x01, 0x26, 0x0f, 0, 0, 0x03, "NA"_XS8, "NA"_XS8, 0x79001 }, // need rBR RPlt EPCI
|
||||
//Xserve3,1 / Xserve (Early 2009)
|
||||
{ Xserve31, "XS31.88Z.0081.B06.0908061300"_XS8, ""_XS8, "Mac-F223BEC8"_XS8, // Intel Xeon E5520 @ 2.26 GHz
|
||||
"Xserve"_XS8, "1.0"_XS8, "CK933YJ16HS"_XS8, "Xserve"_XS8,
|
||||
0x01, 0x43, 0x0f, 0, 0, 0x04, "NA"_XS8, "NA"_XS8, 0x79001 }, // need rBR RPlt EPCI
|
||||
// //MaxMachineType : default to iMac132
|
||||
// { iMac132, "IM131.88Z.F000.B00.2004121616"_XS8, "291.0.0.0.0"_XS8, "Mac-FC02E91DDD3FA6A4"_XS8, // Intel Core i5-3470 @ 3.20 GHz
|
||||
// "iMac"_XS8, "1.0"_XS8, "C02JB041DNCW"_XS8, "iMac-Aluminum"_XS8,
|
||||
// 0x02, 0x11, 0x0f, 0, 0, 0x16, "d8"_XS8, "d8"_XS8, 0x79006 },
|
||||
};
|
||||
static constexpr const size_t ApplePlatformData_priv_size = sizeof(m_ApplePlatformDataArrayClass)/sizeof(m_ApplePlatformDataArrayClass[0]);
|
||||
static constexpr bool hasPlatformData(size_t idx, MacModel m)
|
||||
{
|
||||
return idx >= ApplePlatformData_priv_size ? false : ( m_ApplePlatformDataArrayClass[idx].model == m ? true : hasPlatformData(idx+1, m));
|
||||
}
|
||||
// this methods does nothing. It's a trick so static_assert can access private members
|
||||
static constexpr bool asserts();
|
||||
|
||||
XBool isReleaseDateWithYear20(MACHINE_TYPES Model);
|
||||
XString8 GetReleaseDate (MACHINE_TYPES Model);
|
||||
uint8_t GetChassisTypeFromModel(MACHINE_TYPES Model);
|
||||
uint32_t GetFwFeaturesMaskFromModel(MACHINE_TYPES Model);
|
||||
uint32_t GetFwFeatures(MACHINE_TYPES Model);
|
||||
uint64_t GetExtFwFeatures(MACHINE_TYPES Model);
|
||||
uint64_t GetExtFwFeaturesMask(MACHINE_TYPES Model);
|
||||
XBool GetMobile(MACHINE_TYPES Model);
|
||||
UINT64 GetPlatformFeature(MACHINE_TYPES Model);
|
||||
void getRBr(MACHINE_TYPES Model, UINT32 CPUModel, XBool isMobile, char RBr[8]);
|
||||
void getRPlt(MACHINE_TYPES Model, UINT32 CPUModel, XBool isMobile, char RPlt[8]);
|
||||
|
||||
public:
|
||||
|
||||
const PLATFORMDATA& operator [] (MacModel m);
|
||||
MacModel getDefaultModel() const { return iMac132; };
|
||||
};
|
||||
|
||||
extern ApplePlatformDataArrayClass ApplePlatformDataArray;
|
||||
|
||||
void SetDMISettingsForModel(MacModel Model, SETTINGS_DATA* settingsData, REFIT_CONFIG* liveConfig);
|
||||
MacModel GetModelFromString (const XString8& ProductName);
|
||||
|
||||
XBool isReleaseDateWithYear20(MacModel Model);
|
||||
XString8 GetReleaseDate (MacModel Model);
|
||||
uint8_t GetChassisTypeFromModel(MacModel Model);
|
||||
uint32_t GetFwFeaturesMaskFromModel(MacModel Model);
|
||||
uint32_t GetFwFeatures(MacModel Model);
|
||||
uint64_t GetExtFwFeatures(MacModel Model);
|
||||
uint64_t GetExtFwFeaturesMask(MacModel Model);
|
||||
XBool GetMobile(MacModel Model);
|
||||
UINT64 GetPlatformFeature(MacModel Model);
|
||||
void getRBr(MacModel Model, UINT32 CPUModel, XBool isMobile, char RBr[8]);
|
||||
void getRPlt(MacModel Model, UINT32 CPUModel, XBool isMobile, char RPlt[8]);
|
||||
|
||||
int compareBiosVersion(const XString8& version1, const XString8& version2);
|
||||
XBool is2ndBiosVersionGreaterThan1st(const XString8& version1, const XString8& version2);
|
||||
|
@ -1455,7 +1455,7 @@ void PatchTableType17(const SmbiosInjectedSettings& smbiosSettings, XArray<UINT1
|
||||
XBool wrongSMBIOSBanks = false;
|
||||
XBool isMacPro = false;
|
||||
|
||||
MACHINE_TYPES Model = GetModelFromString(smbiosSettings.ProductName);
|
||||
MacModel Model = GetModelFromString(smbiosSettings.ProductName);
|
||||
if ((Model == MacPro31) || (Model == MacPro41) || (Model == MacPro51) || (Model == MacPro61) || (Model == MacPro71)) {
|
||||
isMacPro = true;
|
||||
}
|
||||
|
@ -573,7 +573,7 @@ EFI_STATUS ConfigManager::LoadSMBIOSPlist(const XStringW& ConfName)
|
||||
}
|
||||
|
||||
|
||||
void ConfigManager::FillSmbiosWithDefaultValue(MACHINE_TYPES Model, const SmbiosPlistClass::SmbiosDictClass& smbiosDictClass)
|
||||
void ConfigManager::FillSmbiosWithDefaultValue(MacModel Model, const SmbiosPlistClass::SmbiosDictClass& smbiosDictClass)
|
||||
{
|
||||
GlobalConfig.CurrentModel = Model;
|
||||
|
||||
@ -892,7 +892,7 @@ EFI_STATUS ConfigManager::LoadConfig(const XStringW& ConfName)
|
||||
|
||||
/*Status = */ LoadSMBIOSPlist(L"smbios"_XSW); // we don't need Status. If not loaded correctly, smbiosPlist is !defined and will be ignored by AssignOldNewSettings()
|
||||
|
||||
MACHINE_TYPES Model = iMac132;
|
||||
MacModel Model = iMac132;
|
||||
if ( smbiosPlist.SMBIOS.isDefined() && smbiosPlist.SMBIOS.hasModel()) {
|
||||
Model = smbiosPlist.SMBIOS.getModel();
|
||||
} else if ( configPlist.getSMBIOS().hasModel() ) {
|
||||
|
@ -164,7 +164,7 @@ public:
|
||||
ConfigManager& operator= (const ConfigManager &other) = delete;
|
||||
ConfigManager& operator= (ConfigManager &&other) = delete;
|
||||
|
||||
void FillSmbiosWithDefaultValue(MACHINE_TYPES Model, const SmbiosPlistClass::SmbiosDictClass& smbiosDictClass);
|
||||
void FillSmbiosWithDefaultValue(MacModel Model, const SmbiosPlistClass::SmbiosDictClass& smbiosDictClass);
|
||||
|
||||
/*
|
||||
* Look for {ConfName}.plist and smbios.plist and load them, "transfer" the settings into gSettings and call afterGetUserSettings()
|
||||
|
@ -383,7 +383,7 @@ public:
|
||||
xmlLiteParser->addError(generateErrors, S8Printf("You must define ProductName in SMBIOS dict, line %d", keyPos.getLine()));
|
||||
return true;
|
||||
}
|
||||
MACHINE_TYPES Model;
|
||||
MacModel Model;
|
||||
Model = GetModelFromString(xstring8);
|
||||
if ( Model == MaxMachineType ) return xmlLiteParser->addWarning(generateErrors, S8Printf("Invalid ProductName '%s' in dict '%s:%d'", xstring8.c_str(), xmlPath.c_str(), keyPos.getLine()));
|
||||
return true;
|
||||
@ -484,8 +484,8 @@ public:
|
||||
}else{
|
||||
// Should we check the format of these 6 last chars ?
|
||||
if ( hasModel() ) {
|
||||
if ( !is2ndBiosVersionGreaterThan1st(ApplePlatformData[getModel()].firmwareVersion, BiosVersion.value()) ) {
|
||||
xmlLiteParser->addWarning(generateErrors, S8Printf("BiosVersion '%s' is before than default ('%s') -> ignored. Dict '%s:%d'.", BiosVersion.value().c_str(), ApplePlatformData[getModel()].firmwareVersion.c_str(), xmlPath.c_str(), keyPos.getLine()));
|
||||
if ( !is2ndBiosVersionGreaterThan1st(ApplePlatformDataArray[getModel()].firmwareVersion, BiosVersion.value()) ) {
|
||||
xmlLiteParser->addWarning(generateErrors, S8Printf("BiosVersion '%s' is before than default ('%s') -> ignored. Dict '%s:%d'.", BiosVersion.value().c_str(), ApplePlatformDataArray[getModel()].firmwareVersion.c_str(), xmlPath.c_str(), keyPos.getLine()));
|
||||
BiosVersion.reset();
|
||||
}
|
||||
}else{
|
||||
@ -535,7 +535,7 @@ public:
|
||||
/*
|
||||
* DO NOT call this if !ProductName.isDefined()
|
||||
*/
|
||||
MACHINE_TYPES getModel() const
|
||||
MacModel getModel() const
|
||||
{
|
||||
if ( !ProductName.isDefined() ) {
|
||||
log_technical_bug("%s : !ProductName.isDefined()", __PRETTY_FUNCTION__);
|
||||
@ -545,7 +545,7 @@ public:
|
||||
}
|
||||
XBool hasModel() const { return ProductName.isDefined(); }
|
||||
|
||||
MACHINE_TYPES dgetModel() const
|
||||
MacModel dgetModel() const
|
||||
{
|
||||
if ( !hasModel() ) return MaxMachineType;
|
||||
return getModel();
|
||||
@ -558,11 +558,11 @@ public:
|
||||
|
||||
decltype(BiosVersion)::ValueType dgetBiosVersion() const {
|
||||
if ( BiosVersion.isDefined() ) return BiosVersion.value();
|
||||
return ApplePlatformData[dgetModel()].firmwareVersion;
|
||||
return ApplePlatformDataArray[dgetModel()].firmwareVersion;
|
||||
};
|
||||
|
||||
decltype(EfiVersion)::ValueType dgetEfiVersion() const {
|
||||
if ( !EfiVersion.isDefined() ) return ApplePlatformData[dgetModel()].efiversion;
|
||||
if ( !EfiVersion.isDefined() ) return ApplePlatformDataArray[dgetModel()].efiversion;
|
||||
XString8 returnValue;
|
||||
returnValue = EfiVersion.value();
|
||||
returnValue.trim();
|
||||
@ -604,19 +604,19 @@ public:
|
||||
|
||||
decltype(Version)::ValueType dgetSystemVersion() const {
|
||||
if ( Version.isDefined() ) return Version.value();
|
||||
return ApplePlatformData[dgetModel()].systemVersion;
|
||||
return ApplePlatformDataArray[dgetModel()].systemVersion;
|
||||
};
|
||||
|
||||
const decltype(SerialNumber)::ValueType& dgetSerialNr() const {
|
||||
const decltype(SerialNumber)::ValueType dgetSerialNr() const {
|
||||
if ( SerialNumber.isDefined() ) return SerialNumber.value();
|
||||
return ApplePlatformData[dgetModel()].serialNumber;
|
||||
return ApplePlatformDataArray[dgetModel()].serialNumber;
|
||||
};
|
||||
|
||||
decltype(SmUUID)::ValueType dgetSmUUID() const { return SmUUID.isDefined() ? SmUUID.value() : nullGuidAsString; };
|
||||
|
||||
decltype(Family)::ValueType dgetFamilyName() const {
|
||||
if ( Family.isDefined() ) return Family.value();
|
||||
return ApplePlatformData[dgetModel()].productFamily;
|
||||
return ApplePlatformDataArray[dgetModel()].productFamily;
|
||||
};
|
||||
|
||||
decltype(BoardManufacturer)::ValueType dgetBoardManufactureName() const {
|
||||
@ -632,7 +632,7 @@ public:
|
||||
|
||||
decltype(BoardID)::ValueType dgetBoardNumber() const {
|
||||
if ( BoardID.isDefined() ) return BoardID.value();
|
||||
return ApplePlatformData[dgetModel()].boardID;
|
||||
return ApplePlatformDataArray[dgetModel()].boardID;
|
||||
};
|
||||
|
||||
decltype(LocationInChassis)::ValueType dgetLocationInChassis() const {
|
||||
@ -646,7 +646,7 @@ public:
|
||||
|
||||
decltype(BoardType)::ValueType dgetBoardType() const {
|
||||
if ( BoardType.isDefined() ) return BoardType.value();
|
||||
MACHINE_TYPES Model = dgetModel();
|
||||
MacModel Model = dgetModel();
|
||||
if ((Model > MacPro31) && (Model < MacPro71)) {
|
||||
return BaseBoardTypeProcessorMemoryModule; //0xB;
|
||||
} else {
|
||||
@ -671,7 +671,7 @@ public:
|
||||
|
||||
decltype(ChassisAssetTag)::ValueType dgetChassisAssetTag() const {
|
||||
if ( ChassisAssetTag.isDefined() ) return ChassisAssetTag.value();
|
||||
return ApplePlatformData[dgetModel()].chassisAsset;
|
||||
return ApplePlatformDataArray[dgetModel()].chassisAsset;
|
||||
};
|
||||
|
||||
decltype(SmbiosVersion)::ValueType dgetSmbiosVersion() const { return SmbiosVersion.isDefined() ? SmbiosVersion.value() : 0x204; };
|
||||
|
@ -4,14 +4,14 @@
|
||||
|
||||
extern "C" {
|
||||
|
||||
INT32
|
||||
BOOLEAN
|
||||
FindPattern (
|
||||
IN CONST UINT8 *Pattern,
|
||||
IN CONST UINT8 *PatternMask OPTIONAL,
|
||||
IN CONST UINT32 PatternSize,
|
||||
IN CONST UINT8 *Data,
|
||||
IN UINT32 DataSize,
|
||||
IN INT32 DataOff
|
||||
IN UINT32 *DataOff
|
||||
);
|
||||
|
||||
UINT32
|
||||
@ -37,33 +37,49 @@ static int breakpoint(int i)
|
||||
int find_replace_mask_OC_tests()
|
||||
{
|
||||
// int ret;
|
||||
BOOLEAN b;
|
||||
INT32 int32;
|
||||
UINT32 uint32;
|
||||
// UINT64 uint64;
|
||||
|
||||
int32 = FindPattern((UINT8*)"\x11", NULL, 1, (UINT8*)"\x01\x11\x02", 3, 0);
|
||||
if ( int32 != 1 ) breakpoint(1);
|
||||
uint32 = 0;
|
||||
b = FindPattern((UINT8*)"\x11", NULL, 1, (UINT8*)"\x01\x11\x02", 3, &uint32);
|
||||
if ( !b ) breakpoint(1);
|
||||
if ( uint32 != 1 ) breakpoint(1);
|
||||
|
||||
int32 = FindPattern((UINT8*)"\x13\x14", NULL, 2, (UINT8*)"\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a", 10, 0);
|
||||
uint32 = 0;
|
||||
int32 = FindPattern((UINT8*)"\x13\x14", NULL, 2, (UINT8*)"\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a", 10, &uint32);
|
||||
if ( !b ) breakpoint(1);
|
||||
if ( int32 != 2 ) breakpoint(1);
|
||||
|
||||
int32 = FindPattern((UINT8*)"\x14\x00\x16", (UINT8*)"\xFF\x00\xFF", 3, (UINT8*)"\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a", 10, 0);
|
||||
uint32 = 0;
|
||||
int32 = FindPattern((UINT8*)"\x14\x00\x16", (UINT8*)"\xFF\x00\xFF", 3, (UINT8*)"\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a", 10, &uint32);
|
||||
if ( !b ) breakpoint(1);
|
||||
if ( int32 != 3 ) breakpoint(1);
|
||||
|
||||
int32 = FindPattern((UINT8*)"\xC0", (UINT8*)"\xF0", 1, (UINT8*)"\x00\xCC\x00", 3, 0);
|
||||
uint32 = 0;
|
||||
int32 = FindPattern((UINT8*)"\xC0", (UINT8*)"\xF0", 1, (UINT8*)"\x00\xCC\x00", 3, &uint32);
|
||||
if ( !b ) breakpoint(1);
|
||||
if ( int32 != 1 ) breakpoint(1);
|
||||
|
||||
/*
|
||||
* For OC, the mask pattern must applied to the source, first.
|
||||
* 0xCF & 0xF0 = 0xC0
|
||||
*/
|
||||
int32 = FindPattern((UINT8*)"\xCF", (UINT8*)"\xF0", 1, (UINT8*)"\x00\xCC\x00", 3, 0);
|
||||
uint32 = 0;
|
||||
int32 = FindPattern((UINT8*)"\xCF", (UINT8*)"\xF0", 1, (UINT8*)"\x00\xCC\x00", 3, &uint32);
|
||||
if ( !b ) breakpoint(1);
|
||||
if ( int32 != -1 ) breakpoint(1);
|
||||
|
||||
// Search in clever
|
||||
int32 = FindPattern((UINT8*)"\x43\x6c\x65\x76\x65\x72", (UINT8*)"\xDF\xFF\xFF\xFF\xFF\xFF", 6, (UINT8*)"\x01\x63\x6c\x65\x76\x65\x72\x02", 8, 0);
|
||||
uint32 = 0;
|
||||
int32 = FindPattern((UINT8*)"\x43\x6c\x65\x76\x65\x72", (UINT8*)"\xDF\xFF\xFF\xFF\xFF\xFF", 6, (UINT8*)"\x01\x63\x6c\x65\x76\x65\x72\x02", 8, &uint32);
|
||||
if ( !b ) breakpoint(1);
|
||||
if ( int32 != 1 ) breakpoint(1);
|
||||
// Search in Clever
|
||||
int32 = FindPattern((UINT8*)"\x43\x6c\x65\x76\x65\x72", (UINT8*)"\xDF\xFF\xFF\xFF\xFF\xFF", 6, (UINT8*)"\x01\x43\x6c\x65\x76\x65\x72\x02", 8, 0);
|
||||
uint32 = 0;
|
||||
int32 = FindPattern((UINT8*)"\x43\x6c\x65\x76\x65\x72", (UINT8*)"\xDF\xFF\xFF\xFF\xFF\xFF", 6, (UINT8*)"\x01\x43\x6c\x65\x76\x65\x72\x02", 8, &uint32);
|
||||
if ( !b ) breakpoint(1);
|
||||
if ( int32 != 1 ) breakpoint(1);
|
||||
|
||||
|
||||
|
@ -2794,7 +2794,7 @@ RefitMain (IN EFI_HANDLE ImageHandle,
|
||||
#ifdef CLOVER_BUILD
|
||||
// BE CAREFUL. construct_globals_objects will call ctor on every static struct and classes.
|
||||
// For example, if you do "gCPUStructure.TSCCalibr = GetMemLogTscTicksPerSecond();" before this point, it will be erased by construct_globals_objects()
|
||||
construct_globals_objects(gImageHandle); // do this after self.getSelfLoadedImage() is initialized
|
||||
construct_globals_objects(gImageHandle);
|
||||
#endif
|
||||
|
||||
gCPUStructure.TSCCalibr = GetMemLogTscTicksPerSecond(); //ticks for 1second
|
||||
|
@ -477,7 +477,7 @@ void FillInputs(XBool New)
|
||||
void ApplyInputs(void)
|
||||
{
|
||||
// EFI_STATUS Status = EFI_NOT_FOUND;
|
||||
MACHINE_TYPES Model;
|
||||
MacModel Model;
|
||||
XBool NeedSave = true;
|
||||
INTN i = 0;
|
||||
UINTN j;
|
||||
|
Loading…
Reference in New Issue
Block a user