Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssdtgen #37

Open
wants to merge 625 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
625 commits
Select commit Hold shift + click to select a range
cf90aed
Adding a lost comma
Piker-Alpha Apr 8, 2013
c432734
EDID resolution readout fixed
Piker-Alpha Apr 8, 2013
f06449a
Cleanup, removed unused function
Piker-Alpha Apr 9, 2013
fafe726
Cleanups and iMessage fix for static SMBIOS data
Piker-Alpha Apr 9, 2013
e63d088
Ignore executable
Piker-Alpha Apr 9, 2013
eb086c1
Cleanups and iMessage fix for static SMBIOS data
Piker-Alpha Apr 9, 2013
87e45a2
Comment change only
Piker-Alpha Apr 10, 2013
5fa9087
Adding missing MSR's
Piker-Alpha Apr 10, 2013
686f47e
Output change (MSR added)
Piker-Alpha Apr 10, 2013
5a53f58
Some additional Haswell bits and pieces
Piker-Alpha Apr 12, 2013
63b822c
Fixing a duplicated value
Piker-Alpha Apr 13, 2013
c39385d
Hiding a backup directory
Piker-Alpha Apr 13, 2013
721c931
Adding IGPU P-States
Piker-Alpha Apr 13, 2013
8d0ee17
Removing all DEBUG port related code
Piker-Alpha Apr 17, 2013
a3df7a0
New path for Clover revision 1277
Piker-Alpha Apr 17, 2013
a40a663
Securing version 6.4
Piker-Alpha May 26, 2013
f66f9f9
Updating script to version 6.5
Piker-Alpha May 26, 2013
06a8ee1
Haswell cleanups
Piker-Alpha Jun 11, 2013
bd70688
Adding MacBookAir6,2 data
Piker-Alpha Jun 11, 2013
8967a2f
Adding MacBookAir6,1 data
Piker-Alpha Jun 11, 2013
3c3dcfe
Updating script to version 6.6
Piker-Alpha Jun 11, 2013
90ce11f
Preliminary support for OS X 10.9 aka Mavericks
Piker-Alpha Jun 11, 2013
3d83fa1
Fixing comments
Piker-Alpha Jun 12, 2013
732ffe2
Using bit-1 here instead of bit-2
Piker-Alpha Jun 12, 2013
e1f4f69
Expanding memory for Mavericks
Piker-Alpha Jun 12, 2013
8e1702c
Mavericks specific kext loading
Piker-Alpha Jun 13, 2013
85bb35b
Adding some of the new 2013 models
Piker-Alpha Jun 19, 2013
5a1308f
Updating SMBIOS to v2.6
Piker-Alpha Jun 19, 2013
6598d1c
Getting ready for new 2013 models
Piker-Alpha Jun 19, 2013
267d4d8
Haswell i3 processor data
Piker-Alpha Jun 19, 2013
5040e0a
Added more Haswell processors data
Piker-Alpha Jun 20, 2013
b2af69f
SMBIOS version update
Piker-Alpha Jun 20, 2013
46ccaee
RIP Jeroen
Piker-Alpha Sep 10, 2013
5944bb7
Updating script to version 6.7
Piker-Alpha Oct 24, 2013
75af7bf
Typo
Piker-Alpha Oct 24, 2013
6746e33
Updating script to version 6.8
Piker-Alpha Nov 20, 2013
eaa9bc2
Update README
Piker-Alpha Dec 20, 2013
76eb63d
Updating script to version 6.8
Piker-Alpha Dec 22, 2013
950366e
Updating script to version 7.0
Piker-Alpha Dec 24, 2013
23c6887
Data for Intel i7-4558U added
Piker-Alpha Dec 28, 2013
078ca0a
C-State code changes
Piker-Alpha Dec 30, 2013
b135b1f
C-State code changes
Piker-Alpha Dec 30, 2013
b63d26d
Updating file for AppleIntelCPUPowerManagementInfo.kext
Piker-Alpha Dec 30, 2013
adf1580
.
Piker-Alpha Dec 30, 2013
1b31162
Uodating files
Piker-Alpha Dec 30, 2013
558dd7b
Cleanups
Piker-Alpha Dec 30, 2013
4e26eef
Updating script to v7.0 (from Vector One)
Piker-Alpha Dec 30, 2013
c6240ce
Updating files from Vector One
Piker-Alpha Dec 30, 2013
cf20c2c
Updating script to v7.3 (from Lexar)
Piker-Alpha Dec 30, 2013
9cb8a02
Intel E5-2695 V2 added
Piker-Alpha Dec 31, 2013
618edb0
Intel i3-3250 added
Piker-Alpha Dec 31, 2013
f7c6e3d
Resolving KP
Piker-Alpha Jan 1, 2014
9dbae13
Cleanups
Piker-Alpha Jan 1, 2014
083992c
And Sandy Bridge also (lost somehow)
Piker-Alpha Jan 1, 2014
ea7fc37
Let's enable Ivy Bridge C-State logging again
Piker-Alpha Jan 1, 2014
b1d417e
Typo, optimisation and latency/system-type issues fixed
Piker-Alpha Jan 1, 2014
4d5dc7b
Stop KP on SB/Haswell
Piker-Alpha Jan 2, 2014
d218aff
Fix KP on Xeon E5
Piker-Alpha Jan 2, 2014
ff4beac
No C7 for Intel® Xeon® E5-1600 v2/E5-2600 v2
Piker-Alpha Jan 2, 2014
23ca803
Cleanups and additional checks
Piker-Alpha Jan 2, 2014
293dc58
Additional cleanups
Piker-Alpha Jan 3, 2014
e50b0ea
Adding note
Piker-Alpha Jan 3, 2014
2091a18
Make Mavericks the default target
Piker-Alpha Jan 4, 2014
2987f5d
Adding support for Xeon E5 / MacPro6,1
Piker-Alpha Jan 4, 2014
7c6b8da
Renaming LION_RECOVERY_SUPPORT to RECOVERY_HD_SUPPORT
Piker-Alpha Jan 4, 2014
16608af
Adding latest model data / cleanups
Piker-Alpha Jan 4, 2014
aa3801d
Adding latest model data / MacPro6,1 system-type
Piker-Alpha Jan 4, 2014
b9a9157
Cleanups / MacPro6,1 system-type
Piker-Alpha Jan 4, 2014
ba85a18
Add back RECOVERY_HD_SUPPORT
Piker-Alpha Jan 4, 2014
aff4f7b
Add back RECOVERY_HD_SUPPORT
Piker-Alpha Jan 4, 2014
05b58d2
Renaming LION_RECOVERY_SUPPORT to RECOVERY_HD_SUPPORT
Piker-Alpha Jan 4, 2014
a820784
Create MODEL file after the first run
Piker-Alpha Jan 4, 2014
3ae5f30
Typo
Piker-Alpha Jan 5, 2014
11394e4
Adding switches to enable/disable features in Info.plist
Piker-Alpha Jan 5, 2014
a1d7a85
Sed RegEx error fixed in _getCPUtype
Piker-Alpha Jan 6, 2014
1f3605f
Fixed a typo 's/i7-26740M/i7-2674M'
Piker-Alpha Jan 7, 2014
dacd2dc
Typo in Haswell CPU list
Piker-Alpha Jan 8, 2014
c24fa04
Updating script to v7.8
Piker-Alpha Jan 11, 2014
37b1832
Updating script to v7.9
Piker-Alpha Jan 11, 2014
6e08556
Updating script to 8.0
Piker-Alpha Jan 12, 2014
0d17675
Updating script to 8.1
Piker-Alpha Jan 12, 2014
8732365
Fixing a typo
Piker-Alpha Jan 12, 2014
96e42f8
CPU detection fixed
Piker-Alpha Jan 12, 2014
572caff
_debugPrint should call printf instead of echo
Piker-Alpha Jan 12, 2014
cde9715
Updating script to v8.4
Piker-Alpha Jan 14, 2014
a2f1a71
Updating script to v8.5
Piker-Alpha Jan 18, 2014
731e3bb
Updating script to v8.6
Piker-Alpha Jan 18, 2014
d69a3a0
Fixed a couple of MSR name mixups.
Piker-Alpha Jan 19, 2014
3398399
Updating script to v8.7
Piker-Alpha Jan 19, 2014
14e3a1a
- fixed a typo so that checking gIvyWorkAround really works.
Piker-Alpha Jan 20, 2014
411cde2
Preparations for the next update
Piker-Alpha Jan 21, 2014
dcb6fb5
Preparations for the next update
Piker-Alpha Jan 21, 2014
a775e93
Preparations for the next update
Piker-Alpha Jan 21, 2014
52d737b
Different IGPU enabled/visibility check
Piker-Alpha Jan 21, 2014
addbe43
Add Intel Power Gadget style logging
Piker-Alpha Jan 21, 2014
2c2aa68
Updating script to v8.9
Piker-Alpha Jan 21, 2014
5316b0f
Updating script to v9.0
Piker-Alpha Jan 21, 2014
cac87e0
Style nit
Piker-Alpha Jan 26, 2014
9df46a1
Update to version 3.2
Piker-Alpha Jan 27, 2014
bb81a02
Updating script to v9.1
Piker-Alpha Jan 28, 2014
1d13da4
Updating to v3.3
Piker-Alpha Jan 28, 2014
fc43ab1
Link to Github issues added for new bug reports
Piker-Alpha Feb 2, 2014
d7eb02f
Yosemite specific bits and pieces
Piker-Alpha Oct 12, 2014
d953fbd
June 2014 Yosemite update
Piker-Alpha Oct 12, 2014
20c87fb
Typo
Piker-Alpha Oct 12, 2014
625305d
README cleanups
Piker-Alpha Oct 12, 2014
3b10fc2
Compiling now defaults to Macmini62
Piker-Alpha Oct 12, 2014
716168d
Cleanups and minor changes
Piker-Alpha Oct 13, 2014
61cb044
Moving logo related bits and pieces
Piker-Alpha Oct 14, 2014
528f084
No more picopng
Piker-Alpha Oct 14, 2014
bfe3079
Removing unused CLUT data
Piker-Alpha Oct 14, 2014
0cecbbf
Stop drawing the background/logo twice
Piker-Alpha Oct 14, 2014
55f23f2
Use LZVN packed logo data instead of old RLE data
Piker-Alpha Oct 14, 2014
47b7319
Streamlining make process
Piker-Alpha Oct 14, 2014
d6ca6ba
Better ignore patterns
Piker-Alpha Oct 14, 2014
59b0240
Add support for grey logo
Piker-Alpha Oct 14, 2014
646be94
Helper program for ssdtPRGen.sh
Piker-Alpha Oct 19, 2014
9b9946e
Late 2014 iMac data added
Piker-Alpha Oct 20, 2014
58f2037
Updating script to v0.3
Piker-Alpha Nov 3, 2014
1c7eebe
Comment only change.
Piker-Alpha Dec 23, 2014
746a894
Whitespace only change.
Piker-Alpha Dec 23, 2014
f030ec4
Comment only change.
Piker-Alpha Dec 23, 2014
d08bade
Comment only change.
Piker-Alpha Dec 23, 2014
c295411
Comment only change.
Piker-Alpha Dec 23, 2014
ee2e6e4
Style nit.
Piker-Alpha Dec 23, 2014
b899a63
New HelperPath detection.
Piker-Alpha Dec 23, 2014
e9b2d8a
New HelperPath detection.
Piker-Alpha Dec 23, 2014
4ac8db0
New HelperPath detection
Piker-Alpha Dec 23, 2014
baa1f5c
New HelperPath detection
Piker-Alpha Dec 23, 2014
dbc6288
Adding boot0 and boot1h
Piker-Alpha Dec 23, 2014
c8c4bd5
Broadwell ULT support
Piker-Alpha Jan 13, 2015
2b7975f
Broadwell (ULT) support
Piker-Alpha Jan 13, 2015
31acc66
Project X - update 1
Piker-Alpha Jan 19, 2015
066d89c
Removing unused function
Jan 31, 2015
41132da
Adding new feature
Jan 31, 2015
0e843a8
Mandatory change for testers
Piker-Alpha Jan 31, 2015
a5886d2
New MacBook Air/MacBook Pro data added
Piker-Alpha Mar 10, 2015
a91dc5c
Comment only change
Piker-Alpha Jun 19, 2015
9eb0ffb
Typo
Piker-Alpha Jun 19, 2015
5774ac8
Additional MacBook data
Piker-Alpha Jun 19, 2015
a840236
Moving two include files
Piker-Alpha Jun 19, 2015
030f63e
Adding support for El Capitan
Piker-Alpha Jun 19, 2015
e7a2e66
Cleanups
Piker-Alpha Jun 19, 2015
2aae3b4
Removed a global and some other minor changes
Piker-Alpha Jun 20, 2015
4facc3c
Fix bootArgs->PhysicalMemorySize and typo
Piker-Alpha Jun 21, 2015
1d2e38e
Also init gPlatform.RAM.MemorySize when static SMBIOS data is used
Piker-Alpha Jun 21, 2015
4541d17
Allow untrusted kexts to load in DP3
Piker-Alpha Jul 14, 2015
8e40032
Improved kernel version detection.
Piker-Alpha Sep 15, 2015
6c8069f
Improved kernel version detection.
Piker-Alpha Sep 15, 2015
cd783af
Comment only changes.
Piker-Alpha Sep 17, 2015
1284678
Adding new __TEXT,cstring (C String Literal).
Piker-Alpha Sep 17, 2015
d132f48
Cleanups checksum8 calls.
Piker-Alpha Oct 27, 2015
f400721
Cleanups checksum8 calls.
Piker-Alpha Oct 27, 2015
cb8750e
Updating template file.
Piker-Alpha Oct 27, 2015
8bc693b
Moving RecoveryHD code
Piker-Alpha Oct 27, 2015
fd3f8e4
Whitespace only change.
Piker-Alpha Oct 27, 2015
0ef1ff7
Preparations for ART support.
Piker-Alpha Nov 2, 2015
e9e3308
Add selective SSDT table drop support.
Piker-Alpha Nov 2, 2015
5f09555
White space only change.
Piker-Alpha Nov 2, 2015
62d46b0
Adding some new model data.
Piker-Alpha Nov 2, 2015
9e19f73
Adding new SMBOemSMCVersion
Jan 11, 2016
9546e0c
Comment only change.
Jan 11, 2016
f71e890
Taking care of the bus frequency error.
Jan 11, 2016
efa5a66
Typo
Jan 11, 2016
4a341a0
SMBIOS extractor
Jan 11, 2016
5d4c440
Removing old debug output.
Piker-Alpha Jun 18, 2016
e83801f
Adding support for Sierra.
Piker-Alpha Jun 18, 2016
0e1a00e
Sierra/Skylake support and some missing model data added.
Piker-Alpha Jun 18, 2016
43fe6c0
Variable name change (for Skylake).
Piker-Alpha Jun 18, 2016
62852b0
Skylake/new Xeons support.
Piker-Alpha Jun 18, 2016
cffba42
New Xeons support.
Piker-Alpha Jun 18, 2016
d33fbe8
Skylake support.
Piker-Alpha Jun 18, 2016
2ee66b3
Minor/unimportant changes.
Piker-Alpha Jun 18, 2016
86c740e
SIP changes.
Piker-Alpha Jun 18, 2016
fc469aa
Don't set bootArgs->flags to kBootArgsFlagBlack
Piker-Alpha Jun 18, 2016
bcf30ee
Catch installation issues.
Piker-Alpha Jun 18, 2016
506dc8a
Whitespace and comment changes
Piker-Alpha Jun 18, 2016
ddd489b
Renaming a preprocessor directive.
Piker-Alpha Jun 29, 2016
eec1931
Sierra kernel patch (fixed endAddress).
Piker-Alpha Jun 29, 2016
32a6205
Add support for loading kexts from: /Extra/Extensions/
Piker-Alpha Jun 29, 2016
7b9852d
First change for APFS support.
Piker-Alpha Jun 29, 2016
845fa81
Add additional iMac/MacBook/Mac mini/Mac Pro model data.
al3xtjames Jul 25, 2016
4bef9fd
Merge pull request #14 from theracermaster/clang
Piker-Alpha Aug 3, 2016
c3f20cd
Update from local tree
Piker-Alpha Aug 3, 2016
aed8639
Update from local tree
Piker-Alpha Aug 3, 2016
cabc85f
Keeping AppleAPIC.kext ready for the undo.
Piker-Alpha Aug 3, 2016
7da6779
Updating settings template.
Piker-Alpha Aug 4, 2016
f162945
Typo
Piker-Alpha Aug 5, 2016
a9f538a
Typo
Piker-Alpha Aug 5, 2016
d3fdff4
New processor models.
Piker-Alpha Aug 10, 2016
15b45c4
Additional changes for new processor models.
Piker-Alpha Aug 10, 2016
6c984d2
Unimportant change; only renaming a variable.
Piker-Alpha Aug 15, 2016
a506e70
Use Lower Camel Case for function names.
Piker-Alpha Aug 15, 2016
a221cc2
New debug output (moved over from load.c).
Piker-Alpha Aug 15, 2016
924fba8
Another big update.
Piker-Alpha Aug 15, 2016
34f20ef
Comments and white space changes.
Piker-Alpha Aug 15, 2016
5bbcb26
Moving patchKernel to patcher.c
Piker-Alpha Aug 15, 2016
c343e41
Show MSR number instead of 0x00.
Piker-Alpha Aug 15, 2016
dddac45
Cleanups
Piker-Alpha Aug 15, 2016
7ea65dd
Comment only changes.
Piker-Alpha Aug 16, 2016
fd487eb
Essential patches should always be available.
Piker-Alpha Aug 16, 2016
e30e008
Port from Vector.
Piker-Alpha Aug 16, 2016
64a01c2
Updated settings template.
Piker-Alpha Aug 16, 2016
e2db0e0
Fine-grained debug output.
Piker-Alpha Aug 18, 2016
ddd1a1f
Fix for non-debug builds.
Piker-Alpha Aug 18, 2016
b47b6dd
Commenting out old compiler directive.
Piker-Alpha Aug 18, 2016
913b155
Brushing off some of the collected dust...
Piker-Alpha Aug 20, 2016
9444db5
Moving targetMSRs to configuration file
Piker-Alpha Aug 20, 2016
f6e9af5
Fix enabling/disabling of patch sets.
Piker-Alpha Aug 20, 2016
7cf65b3
More dust...
Piker-Alpha Aug 20, 2016
5a1ad5b
Sierra target compilation
Piker-Alpha Aug 21, 2016
eda92fb
Fix wrong var size.
Piker-Alpha Aug 21, 2016
bc0545e
Fix regression from commit 7cf65b3
Piker-Alpha Aug 21, 2016
9cd39b7
Check size of the boot_args structures.
Piker-Alpha Aug 21, 2016
d4f4354
New MacBook Pro SMBIOS data.
Oct 28, 2016
84d3f42
Comments only change.
Oct 29, 2016
e67da6d
Updating firmware version info.
Oct 30, 2016
e11b0a7
Comment only changes.
Feb 17, 2017
4c74f77
Adding forgotten macOS support.
Feb 17, 2017
05ff1ff
Use correct format for booter properties.
Feb 17, 2017
8b44d51
Make debug data more visible.
Feb 17, 2017
63fdb65
Adding back a removed function.
Feb 17, 2017
558d315
Fix path names
Mar 29, 2017
b1261e8
Support for macOS 10.13 added (preliminary)
Mar 29, 2017
afc40cd
Cleanups
Mar 29, 2017
ad75fe3
Data for new iMac18,x and MacBookPro14,x
Jun 6, 2017
ffa1460
Update macOS name
Jun 6, 2017
3fc3c66
Fix macOS name and add new model data
Jun 6, 2017
0ae4d48
High Sierra installer fix.
Jun 13, 2017
6162c15
Add missing script.
Jun 13, 2017
14809f7
Call copy script from Makefile.
Jun 13, 2017
6545cc2
Adding a forgotten update.
Jun 13, 2017
2535cf2
More SMBIOS data updates.
Jun 13, 2017
3b8b349
High Sierra compatibility.
Jun 13, 2017
1debc5e
High Sierra Installer fix.
Jun 13, 2017
35a183b
WIP SMBIOS changes.
Jun 13, 2017
cf3da97
Updating script to v1.2
Jun 14, 2017
7c0cd56
Adding a few new getters
Jun 14, 2017
532e812
Fixed SMBFirmwareVolume and moved some code
Jun 14, 2017
32b9377
Quick messy patch for High Sierra
Jun 14, 2017
0f15ebe
iMac now defaults to iMac19,1
Jul 2, 2017
52aca1b
More precise search pattern.
Jul 2, 2017
5ed5d56
Fix extensions issue.
Jul 2, 2017
ee72a32
Helper tools
Jul 31, 2017
328a5ed
No more sleep after logo
Jul 31, 2017
ad921df
Return BIOS date instead of a fixed value
Jul 31, 2017
eb53c9a
Improved HS support
Jul 31, 2017
8cd99f4
Updating script to v1.3
Sep 15, 2017
bbf679e
Whitespace changes and some minor changes.
Oct 12, 2017
613d72b
Some minor changes carried over from another drive.
Oct 15, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Comment only changes.
  • Loading branch information
Pike R. Alpha authored and Pike R. Alpha committed Feb 17, 2017
commit e11b0a7c01f4c25f571301914279492c890ca57c
18 changes: 10 additions & 8 deletions i386/libsaio/bootstruct.h
Original file line number Diff line number Diff line change
@@ -43,7 +43,7 @@
struct Boot_Video_V1
{
uint32_t v_baseAddr; // Base address (32-bit) of video memory.
uint32_t v_display; // Display Code (if Applicable.
uint32_t v_display; // Display Code (if Applicable).
uint32_t v_rowBytes; // Number of bytes per pixel row.
uint32_t v_width; // Width.
uint32_t v_height; // Height.
@@ -53,7 +53,7 @@ typedef struct Boot_Video_V1 Boot_Video_V1;

struct Boot_Video_V2
{
uint32_t v_display; // Display Code (if Applicable.
uint32_t v_display; // Display Code (if Applicable).
uint32_t v_rowBytes; // Number of bytes per pixel row.
uint32_t v_width; // Width.
uint32_t v_height; // Height.
@@ -72,15 +72,15 @@ typedef struct Boot_Video_V2 Boot_Video_V2;

// Bitfields for boot_args->flags
#ifndef kBootArgsFlagRebootOnPanic
#define kBootArgsFlagRebootOnPanic (1 << 0)
#define kBootArgsFlagRebootOnPanic (1 << 0) // 1
#endif

#ifndef kBootArgsFlagHiDPI
#define kBootArgsFlagHiDPI (1 << 1)
#define kBootArgsFlagHiDPI (1 << 1) // 2
#endif

#ifndef kBootArgsFlagBlack
#define kBootArgsFlagBlack (1 << 2)
#define kBootArgsFlagBlack (1 << 2) // 4 (Boot without the white progressbar)
#endif

#ifndef kBootArgsFlagCSRActiveConfig
@@ -121,6 +121,7 @@ typedef struct Boot_Video_V2 Boot_Video_V2;
#define CSR_ALLOW_UNRESTRICTED_DTRACE (1 << 5) // 32
#define CSR_ALLOW_UNRESTRICTED_NVRAM (1 << 6) // 64
#define CSR_ALLOW_DEVICE_CONFIGURATION (1 << 7) // 128
#define CSR_ALLOW_ANY_RECOVERY_OS (1 << 8) // 256

#define CSR_VALID_FLAGS (CSR_ALLOW_UNTRUSTED_KEXTS | \
CSR_ALLOW_UNRESTRICTED_FS | \
@@ -129,7 +130,8 @@ typedef struct Boot_Video_V2 Boot_Video_V2;
CSR_ALLOW_APPLE_INTERNAL | \
CSR_ALLOW_UNRESTRICTED_DTRACE | \
CSR_ALLOW_UNRESTRICTED_NVRAM | \
CSR_ALLOW_DEVICE_CONFIGURATION)
CSR_ALLOW_DEVICE_CONFIGURATION | \
CSR_ALLOW_ANY_RECOVERY_OS)
#endif

/* CSR capabilities that a booter can give to the system */
@@ -269,7 +271,7 @@ typedef struct boot_args_new
uint32_t MemoryMapDescriptorSize;
uint32_t MemoryMapDescriptorVersion;

Boot_Video_V1 Video_V1; // Video V1 Information.
Boot_Video_V1 Video_V1; // Video V1 Information (for backward compatibility).

uint32_t deviceTreeP; // Physical address of flattened device tree.
uint32_t deviceTreeLength; // Length of flattened tree.
@@ -314,7 +316,7 @@ typedef struct boot_args_new
#endif

#if ((MAKE_TARGET_OS & SIERRA) == SIERRA) // Sierra only.
Boot_Video_V2 Video_V2; // Video V2 Information.
Boot_Video_V2 Video_V2; // Video V2 Information (with a 64-bit v_baseAddr).

uint32_t __reserved4[712];
#elif ((MAKE_TARGET_OS & EL_CAPITAN) == EL_CAPITAN)
12 changes: 6 additions & 6 deletions i386/libsaio/cpu/Intel/dynamic_data.h
Original file line number Diff line number Diff line change
@@ -40,14 +40,14 @@ static uint64_t getTSCFrequency(void)
if (getCachedCPUID(LEAF_0, eax) > 0x14) // Intel Skylake Processors.
{
#if DEBUG_CPU
printf("LEAF_15[eax]: 0x%x\n", getCachedCPUID(LEAF_15, eax)); // 0x02 (numerator is always 2)
printf("LEAF_15[ebx]: 0x%x\n", getCachedCPUID(LEAF_15, ebx)); // 0x11c (denominator i.e. 284 = 3.4GHz and 334 = 4GHz)
printf("LEAF_15[ecx]: 0x%x\n", getCachedCPUID(LEAF_15, ecx)); // 0x00 (frequency = Intel reserved)
printf("LEAF_15[eax]: 0x%x\n", getCachedCPUID(LEAF_15, eax)); // 0x02 (numerator is always 2)
printf("LEAF_15[ebx]: 0x%x\n", getCachedCPUID(LEAF_15, ebx)); // 0x11c (denominator i.e. 284 = 3.4GHz and 334 = 4GHz)
printf("LEAF_15[ecx]: 0x%x\n", getCachedCPUID(LEAF_15, ecx)); // 0x00 (frequency = Intel reserved)
printf("LEAF_15[edx]: 0x%x\n", getCachedCPUID(LEAF_15, edx)); // 0x00

printf("LEAF_16[eax]: 0x%x\n", getCachedCPUID(LEAF_16, eax)); // 0xd48 (clock speed i.e. 3408MHz for the i7-6700)
printf("LEAF_16[ebx]: 0x%x\n", getCachedCPUID(LEAF_16, ebx)); // 0xfa0 (maximum turbo clock speed i.e. 4GHz for the i7-6700)
printf("LEAF_16[ecx]: 0x%x\n", getCachedCPUID(LEAF_16, ecx)); // 0x64 (bus speed i.e. 100MHz)
printf("LEAF_16[eax]: 0x%x\n", getCachedCPUID(LEAF_16, eax)); // 0xd48 (clock speed i.e. 3408MHz for the i7-6700)
printf("LEAF_16[ebx]: 0x%x\n", getCachedCPUID(LEAF_16, ebx)); // 0xfa0 (maximum turbo clock speed i.e. 4GHz for the i7-6700)
printf("LEAF_16[ecx]: 0x%x\n", getCachedCPUID(LEAF_16, ecx)); // 0x64 (bus speed i.e. 100MHz)
printf("LEAF_16[edx]: 0x%x\n", getCachedCPUID(LEAF_16, edx)); // 0x00
#endif
//
6 changes: 3 additions & 3 deletions i386/libsaio/platform.c
Original file line number Diff line number Diff line change
@@ -4,9 +4,9 @@
*
* Updates:
*
* - STATIC_SMBIOS_MODEL_ID renamed to SMB_PRODUCT_NAME (PikerAlpha, October 2012).
* - Yosemite support added (PikerAlpha, June 2014).
* - Replaced hard-coded OS version control with a flexible one (PikerAlpha, June 2014).
* - STATIC_SMBIOS_MODEL_ID renamed to SMB_PRODUCT_NAME (Pike R. Alpha, October 2012).
* - Yosemite support added (Pike R. Alpha, June 2014).
* - Replaced hard-coded OS version control with a flexible one (Pike R. Alpha, June 2014).
*
*/

6 changes: 3 additions & 3 deletions i386/libsaio/smbios/model_data.h
Original file line number Diff line number Diff line change
@@ -382,9 +382,9 @@
#define EFI_MODEL_NAME { 'M', 'a', 'c', 'B', 'o', 'o', 'k', 'P', 'r', 'o', '1', '3', ',', '2' }
#else // Defaults to MacBookPro13,3
// 15-inch with Touch Bar / Touch ID
// Intel Core i7-6700HQ 2.6 GHz (max Turbo Boost 3.5 GHz)
// Intel Core i7-6820HQ 2.7 GHz (max Turbo Boost 3.6 GHz)
// Intel Core i7-6920HQ 2.9 GHz (max Turbo Boost 3.8 GHz)
// Intel Core i7-6700HQ 2.6 GHz (max Turbo Boost 3.5 GHz) 45W
// Intel Core i7-6820HQ 2.7 GHz (max Turbo Boost 3.6 GHz) 45W
// Intel Core i7-6920HQ 2.9 GHz (max Turbo Boost 3.8 GHz) 45W
#define SMB_BIOS_VERSION "MBP133.88Z.0223.B00.1610201042"
#define SMB_PRODUCT_NAME "MacBookPro13,3"
#define SMB_BOARD_PRODUCT "Mac-A5C67F76ED83108C"