1
0
Fork 0
mirror of https://github.com/CTCaer/hekate.git synced 2024-11-14 06:16:42 +00:00

Merge pull request #26 from TheDgtl/4_x_x_patch_fix

Fix Atmosphere's kernel patches for 4.x
This commit is contained in:
Kostas Missos 2018-07-03 01:45:34 +03:00 committed by GitHub
commit d16477ed20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@ extern gfx_con_t gfx_con;
#define FREE_CODE_OFF_1ST_200 0x6486C #define FREE_CODE_OFF_1ST_200 0x6486C
#define FREE_CODE_OFF_1ST_300 0x494A4 #define FREE_CODE_OFF_1ST_300 0x494A4
#define FREE_CODE_OFF_1ST_302 0x494BC #define FREE_CODE_OFF_1ST_302 0x494BC
#define FREE_CODE_OFF_1ST_400 0x4FBC0 #define FREE_CODE_OFF_1ST_400 0x52890
#define FREE_CODE_OFF_1ST_500 0x5C020 #define FREE_CODE_OFF_1ST_500 0x5C020
#define ID_SND_OFF_100 0x23CC0 #define ID_SND_OFF_100 0x23CC0
@ -103,13 +103,13 @@ static u32 PRC_ID_RCV_302[] =
static u32 PRC_ID_SND_400[] = static u32 PRC_ID_SND_400[] =
{ {
0xF9403BED, 0x2A0E03EA, 0xD37EF54A, 0xF86A69AA, 0x92FFFFE9, 0x8A090148, 0xD2FFFFE9, 0x8A09014A, 0x2A1703EA, 0xD37EF54A, 0xF86A6B8A, 0x92FFFFE9, 0x8A090148, 0xD2FFFFE9, 0x8A09014A, 0xD2FFFFC9,
0xD2FFFFC9, 0xEB09015F, 0x54000040, 0xF9415B28, 0xD503201F 0xEB09015F, 0x54000060, 0xF94053EA, 0xF9415948, 0xF94053EA
}; };
#define FREE_CODE_OFF_2ND_400 (FREE_CODE_OFF_1ST_400 + sizeof(PRC_ID_SND_400) + 4) #define FREE_CODE_OFF_2ND_400 (FREE_CODE_OFF_1ST_400 + sizeof(PRC_ID_SND_400) + 4)
static u32 PRC_ID_RCV_400[] = static u32 PRC_ID_RCV_400[] =
{ {
0xD280000D, 0x2A0E03ED, 0xD37EF5AD, 0xF86D6B4D, 0x92FFFFE9, 0x8A090148, 0xD2FFFFE9, 0x8A0901AD, 0xF9403BED, 0x2A0E03EA, 0xD37EF54A, 0xF86A69AA, 0x92FFFFE9, 0x8A090148, 0xD2FFFFE9, 0x8A09014A,
0xD2FFFFC9, 0xEB09015F, 0x54000040, 0xF9415B28, 0xD503201F 0xD2FFFFC9, 0xEB09015F, 0x54000040, 0xF9415B28, 0xD503201F
}; };