mirror of
https://github.com/wiiu-env/libkernel.git
synced 2024-11-22 04:39:19 +01:00
Add support for KernelPatchSyscall
This commit is contained in:
parent
1a9d15226c
commit
c530dcbc19
2
Makefile
2
Makefile
@ -11,7 +11,7 @@ TOPDIR ?= $(CURDIR)
|
|||||||
include $(DEVKITPRO)/wut/share/wut_rules
|
include $(DEVKITPRO)/wut/share/wut_rules
|
||||||
|
|
||||||
export VER_MAJOR := 1
|
export VER_MAJOR := 1
|
||||||
export VER_MINOR := 0
|
export VER_MINOR := 1
|
||||||
export VER_PATCH := 0
|
export VER_PATCH := 0
|
||||||
|
|
||||||
VERSION := $(VER_MAJOR).$(VER_MINOR).$(VER_PATCH)
|
VERSION := $(VER_MAJOR).$(VER_MINOR).$(VER_PATCH)
|
||||||
|
@ -19,6 +19,8 @@ void KernelWritePTE(uint32_t inputAddr, int32_t length);
|
|||||||
|
|
||||||
void KernelNOPAtPhysicalAddress(uint32_t addr);
|
void KernelNOPAtPhysicalAddress(uint32_t addr);
|
||||||
|
|
||||||
|
void KernelPatchSyscall(uint32_t index, uint32_t addr);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} // extern "C"
|
} // extern "C"
|
||||||
#endif
|
#endif
|
@ -3,4 +3,5 @@
|
|||||||
:TEXT
|
:TEXT
|
||||||
KernelCopyData
|
KernelCopyData
|
||||||
KernelWriteSRs
|
KernelWriteSRs
|
||||||
KernelReadSRs
|
KernelReadSRs
|
||||||
|
KernelPatchSyscall
|
Loading…
Reference in New Issue
Block a user