fix(device): Correct chip naming, CPID classification, and header guards
Renamed S5L8950/S5L8955 from "A9" to correct A5-class names, moved them to ARMV7 macro, renamed CPID_IS_A9_CLASS to CPID_IS_LEGACY_64, disambiguated duplicate A10 entries, and fixed cross-file header guard. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
a6ba920e14
commit
4e6f7b70ee
5 changed files with 47 additions and 34 deletions
|
|
@ -40,11 +40,11 @@ static const chip_info_t g_chip_table[] = {
|
|||
.payload_dest_armv7 = 0x34039800,
|
||||
},
|
||||
|
||||
/* CPID 0x8950 -- iBoot-1145.3 */
|
||||
/* CPID 0x8950 -- S5L8950 (A5-class), Apple TV 3rd gen, iBoot-1145.3 */
|
||||
{
|
||||
.cpid = 0x8950,
|
||||
.name = "A9",
|
||||
.marketing = "Apple TV (3rd gen)",
|
||||
.name = "S5L8950",
|
||||
.marketing = "Apple TV (3rd gen) (A5-class)",
|
||||
.checkm8_vulnerable = 1,
|
||||
.config_large_leak = 659,
|
||||
.config_overwrite_pad = 0x640,
|
||||
|
|
@ -61,11 +61,11 @@ static const chip_info_t g_chip_table[] = {
|
|||
.payload_dest_armv7 = 0x10079800,
|
||||
},
|
||||
|
||||
/* CPID 0x8955 -- iBoot-1145.3.3 */
|
||||
/* CPID 0x8955 -- S5L8955 (A5-class), Apple TV 3rd gen rev A, iBoot-1145.3.3 */
|
||||
{
|
||||
.cpid = 0x8955,
|
||||
.name = "A9",
|
||||
.marketing = "Apple TV (3rd gen, rev A)",
|
||||
.name = "S5L8955",
|
||||
.marketing = "Apple TV (3rd gen, rev A) (A5-class)",
|
||||
.checkm8_vulnerable = 1,
|
||||
.config_large_leak = 659,
|
||||
.config_overwrite_pad = 0x640,
|
||||
|
|
@ -199,7 +199,7 @@ static const chip_info_t g_chip_table[] = {
|
|||
/* gaster: iBoot-1704.10 */
|
||||
{
|
||||
.cpid = 0x8960,
|
||||
.name = "A10",
|
||||
.name = "A10 (iBoot-1704)",
|
||||
.marketing = "iPhone 7 / iPhone 7 Plus",
|
||||
.checkm8_vulnerable = 1,
|
||||
.config_large_leak = 7936,
|
||||
|
|
@ -268,3 +268,5 @@ static const chip_info_t g_chip_table[] = {
|
|||
|
||||
/* Part 2 continues in chip_db_table_rop.h (ROP chips + A12+ entries) */
|
||||
#include "device/chip_db_table_rop.h"
|
||||
|
||||
#endif /* CHIP_DB_TABLE_H */
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@
|
|||
* Included by chip_db_table.h inside the g_chip_table[] array.
|
||||
* Do not include this file directly. All values from gaster.
|
||||
*/
|
||||
#ifndef CHIP_DB_TABLE_ROP_H
|
||||
#define CHIP_DB_TABLE_ROP_H
|
||||
|
||||
/* ================================================================ */
|
||||
/* ARM64 chips with ROP gadgets (A9X, A10, A10X, A11, T2) */
|
||||
|
|
@ -44,7 +46,7 @@
|
|||
/* gaster: iBoot-2696.0.0.1.33 */
|
||||
{
|
||||
.cpid = 0x8010,
|
||||
.name = "A10",
|
||||
.name = "A10 (iBoot-2696)",
|
||||
.marketing = "iPhone 7 / iPod touch 7G",
|
||||
.checkm8_vulnerable = 1,
|
||||
.config_overwrite_pad = 0x5C0,
|
||||
|
|
@ -183,4 +185,4 @@
|
|||
};
|
||||
/* clang-format on */
|
||||
|
||||
#endif /* CHIP_DB_TABLE_H */
|
||||
#endif /* CHIP_DB_TABLE_ROP_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue