1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-05 19:51:45 +00:00

Merge pull request #141 from DavidBuchanan314/master

fusee: Add 3.0.0/3.0.1 kernel hash, corrected 4.x free_code_space_offset
This commit is contained in:
hexkyz 2018-06-17 16:48:41 +01:00 committed by GitHub
commit f32f42e791
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -111,8 +111,8 @@ static const kernel_info_t g_kernel_infos[] = {
KERNEL_HOOKS(200)
},
{ /* 3.0.0. */
/* TODO */
.free_code_space_offset = 0,
.hash = {0x50, 0x84, 0x23, 0xAC, 0x6F, 0xA1, 0x5D, 0x3B, 0x56, 0xC2, 0xFC, 0x95, 0x22, 0xCC, 0xD5, 0xA8, 0x15, 0xD3, 0xB4, 0x6B, 0xA1, 0x2C, 0xF2, 0x93, 0xD3, 0x02, 0x05, 0xAB, 0x52, 0xEF, 0x73, 0xC5},
.free_code_space_offset = 0x494A4,
KERNEL_HOOKS(300)
},
{ /* 3.0.2. */
@ -122,7 +122,7 @@ static const kernel_info_t g_kernel_infos[] = {
},
{ /* 4.0.0. */
.hash = {0xE6, 0xC0, 0xB7, 0xE3, 0x2F, 0xF9, 0x44, 0x51, 0xEC, 0xD5, 0x95, 0x79, 0xE3, 0x46, 0xB1, 0xDA, 0x2E, 0xD9, 0x28, 0xC6, 0xF2, 0x31, 0x4F, 0x95, 0xD8, 0xC7, 0xD5, 0xBD, 0x15, 0xD5, 0xE2, 0x5A},
.free_code_space_offset = 0x52890,
.free_code_space_offset = 0x4FBC0,
KERNEL_HOOKS(400)
},
{ /* 5.0.0. */
@ -206,4 +206,4 @@ void package2_patch_kernel(void *_kernel, size_t size) {
free_space_offset += hook_size;
free_space_size -= hook_size;
}
}
}