Add 7.5x AIO fix
This commit is contained in:
@@ -65,13 +65,12 @@ static inline void restore(void *kbase, struct kexec_args *uap) {
|
||||
|
||||
__attribute__((always_inline))
|
||||
static inline void patch_aio(void *kbase) {
|
||||
const u64 aio_off = 0x30221;
|
||||
|
||||
disable_cr0_wp();
|
||||
|
||||
// offset = 0x00
|
||||
const u64 aio_off = 0x30221;
|
||||
|
||||
// patch = {0xeb, 0x48}
|
||||
write16(kbase, aio_off + 0x00, 0x48eb);
|
||||
write16(kbase, aio_off, 0x48eb);
|
||||
|
||||
// offset = 0x42
|
||||
// patch = {0xeb, 0x06}
|
||||
|
||||
Reference in New Issue
Block a user