mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-29 12:35:53 +01:00
88cca2a814
Signed-off-by: Slice <sergey.slice@gmail.com>
638 lines
45 KiB
C++
638 lines
45 KiB
C++
/*
|
|
* platformdata.h
|
|
*
|
|
* Created on: 16 Apr 2020
|
|
* Author: jief
|
|
*/
|
|
|
|
#ifndef PLATFORM_PLATFORMDATA_H_
|
|
#define PLATFORM_PLATFORMDATA_H_
|
|
|
|
|
|
#include "../cpp_foundation/XString.h"
|
|
//#include "../Platform/Settings.h"
|
|
|
|
class SETTINGS_DATA;
|
|
class REFIT_CONFIG;
|
|
|
|
//https://webdevdesigner.com/q/is-there-a-simple-way-to-convert-c-enum-to-string-30844/
|
|
|
|
|
|
typedef enum {
|
|
|
|
#define DEFINE_ENUM(a, b) a,
|
|
#include "PlatformdataModels.h"
|
|
#undef DEFINE_ENUM
|
|
|
|
MaxMacModel
|
|
|
|
} 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;
|
|
constexpr LString8 AppleBiosVendor = "Apple Inc."_XS8;
|
|
constexpr LString8 AppleManufacturer = "Apple Computer, Inc."_XS8; //Old name, before 2007
|
|
constexpr LString8 AppleBoardSN = "C02140302D5DMT31M"_XS8;
|
|
constexpr LString8 AppleBoardLocation = "Part Component"_XS8;
|
|
|
|
|
|
class PLATFORMDATA
|
|
{
|
|
public:
|
|
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 smcRevision[6];
|
|
const LString8 smcBranch;
|
|
const LString8 smcPlatform;
|
|
UINT32 smcConfig;
|
|
|
|
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
|
|
)
|
|
: 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)
|
|
{
|
|
}
|
|
|
|
// Not sure if default are valid. Delete them. If needed, proper ones can be created
|
|
PLATFORMDATA(const PLATFORMDATA&) = delete;
|
|
PLATFORMDATA& operator=(const PLATFORMDATA&) = delete;
|
|
} ;
|
|
|
|
|
|
class ApplePlatformDataArrayClass
|
|
{
|
|
|
|
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, "451.140.1.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, "451.140.1.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, "509.0.0.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, "509.0.0.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, "509.0.0.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, "509.0.0.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.2302021932"_XS8, "509.0.0.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.2302021934"_XS8, "509.0.0.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.2303040335"_XS8, "1968.100.17.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.2303040335"_XS8, "1968.100.17.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.2303040336"_XS8, "1968.100.17.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.2303040348"_XS8, "1968.100.17.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.2303040347"_XS8, "1968.100.17.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.2303040346"_XS8, "1968.100.17.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.2303040347"_XS8, "1968.100.17.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.2303040346"_XS8, "1968.100.17.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.2301131747"_XS8, "478.0.0.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.2301131747"_XS8, "478.0.0.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.2301122004"_XS8, "481.0.0.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.2301122004"_XS8, "481.0.0.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.2303040336"_XS8, "1968.100.17.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.2303040335"_XS8, "1968.100.17.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.2303040346"_XS8, "1968.100.17.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, "C07JDHACDWYN"_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.2301131741"_XS8, "478.0.0.0.0"_XS8, "Mac-35C5E08120C7EEAF"_XS8, // Intel Core i5-4278U @ 2.60 GHz
|
|
"Mac mini"_XS8, "1.0"_XS8, "C02NNHACG1J0"_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.2303040335"_XS8, "1968.100.17.0.0"_XS8, "Mac-7BA5B2DFE22DDD8C"_XS8, // Intel Core i7-8700B @ 3.20 GHz
|
|
"Mac mini"_XS8, "1.0"_XS8, "C07XLHACJYVX"_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.2302021933"_XS8, "509.0.0.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, 0x41, 0x0f, 0, 0, 0x02, "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.2302021934"_XS8, "509.0.0.0.0"_XS8, "Mac-4B682C642B45593E"_XS8, // Intel Core i5-7360U @ 2.30 GHz
|
|
"iMac"_XS8, "1.0"_XS8, "C02TDHACH7JY"_XS8, "iMac-Aluminum"_XS8,
|
|
0x02, 0x41, 0x0f, 0, 0, 0x02, "j133_4_5"_XS8, "j133"_XS8, 0xf07009 }, // need RPlt EPCI
|
|
//iMac18,2 / iMac (Retina 4K, 21.5-inch, 2017)
|
|
{ iMac182, "IM183.88Z.F000.B00.2302021933"_XS8, "509.0.0.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, 0x41, 0x0f, 0, 0, 0x02, "j133_4_5"_XS8, "j134"_XS8, 0xf06009 },
|
|
//iMac18,3 / iMac (Retina 5K, 27-inch, 2017)
|
|
{ iMac183, "IM183.88Z.F000.B00.2302021933"_XS8, "509.0.0.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.2302212211"_XS8, "1968.100.16.0.1"_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.2302212211"_XS8, "1968.100.16.0.1"_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.2303040353"_XS8, "1968.100.17.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.2303040353"_XS8, "1968.100.17.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), Radeon Pro Vega 56, devID=0x6867
|
|
{ iMacPro11, "IMP11.88Z.F000.B00.2303040335"_XS8, "1968.100.17.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, "k5"_XS8, "k5"_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.2303040336"_XS8, "1968.100.17.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
|
|
};
|
|
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();
|
|
|
|
|
|
public:
|
|
|
|
const PLATFORMDATA& operator [] (MacModel m);
|
|
MacModel getDefaultModel() const { return iMac132; };
|
|
};
|
|
|
|
extern ApplePlatformDataArrayClass ApplePlatformDataArray;
|
|
|
|
/*
|
|
* ATTENTION : SetDMISettingsForModel does not assign GlobalConfig.CurrentModel = Model;
|
|
*/
|
|
void SetDMISettingsForModel(MacModel Model, SETTINGS_DATA* settingsData);
|
|
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);
|
|
XString8 GetHWTarget(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);
|
|
XBool is2ndBiosVersionEqual(const XString8& version1, const XString8& version2);
|
|
|
|
int compareReleaseDate(const XString8& date1, const XString8& date2);
|
|
|
|
#endif /* PLATFORM_PLATFORMDATA_H_ */
|