mirror of
https://github.com/IllusionMan1212/vitasdk-odin.git
synced 2026-10-24 02:12:38 +00:00
remove link_prefixes
This commit is contained in:
+14
-22
@@ -10,10 +10,9 @@ SceKernelLoadModuleOption :: struct {}
|
||||
SceKernelUnloadModuleOption :: struct {}
|
||||
SceKernelLibraryInfo :: struct {}
|
||||
|
||||
@(link_prefix = "sceKernel")
|
||||
foreign modulemgr {
|
||||
GetModuleInfo :: proc(uid: sce.UID, info: ^SceKernelModuleInfo) -> c.int ---
|
||||
GetModuleList :: proc(type: sce.UInt8, uids: [^]sce.UID, num: ^sce.Size) -> c.int ---
|
||||
sceKernelGetModuleInfo :: proc(uid: sce.UID, info: ^SceKernelModuleInfo) -> c.int ---
|
||||
sceKernelGetModuleList :: proc(type: sce.UInt8, uids: [^]sce.UID, num: ^sce.Size) -> c.int ---
|
||||
|
||||
/**
|
||||
* Gets system firmware information.
|
||||
@@ -22,27 +21,20 @@ foreign modulemgr {
|
||||
*
|
||||
* @note - If you spoofed the firmware version it will return the spoofed firmware.
|
||||
*/
|
||||
GetSystemSwVersion :: proc(version: ^SceKernelSystemSwVersion) -> c.int ---
|
||||
sceKernelGetSystemSwVersion :: proc(version: ^SceKernelSystemSwVersion) -> c.int ---
|
||||
|
||||
@(link_name = "_sceKernelLoadModule")
|
||||
_LoadModule :: proc(module_filename: cstring, flags: sce.UInt32, option: ^SceKernelLoadModuleOption) -> sce.UID ---
|
||||
@(link_name = "_sceKernelLoadStartModule")
|
||||
_LoadStartModule :: proc(module_filename: cstring, args: sce.Size, argp: rawptr, flags: sce.UInt32) -> sce.UID ---
|
||||
@(link_name = "_sceKernelUnloadModule")
|
||||
_UnloadModule :: proc(uid: sce.UID, flags: sce.UInt32, option: ^SceKernelUnloadModuleOption) -> c.int ---
|
||||
@(link_name = "_sceKernelStopModule")
|
||||
_StopModule :: proc(uid: sce.UID, args: sce.Size, argp: rawptr, flags: sce.UInt32) -> c.int ---
|
||||
@(link_name = "_sceKernelStopUnloadModule")
|
||||
_StopUnloadModule :: proc(uid: sce.UID, args: sce.Size, argp: rawptr, flags: sce.UInt32) -> c.int ---
|
||||
_sceKernelLoadModule :: proc(module_filename: cstring, flags: sce.UInt32, option: ^SceKernelLoadModuleOption) -> sce.UID ---
|
||||
_sceKernelLoadStartModule :: proc(module_filename: cstring, args: sce.Size, argp: rawptr, flags: sce.UInt32) -> sce.UID ---
|
||||
_sceKernelUnloadModule :: proc(uid: sce.UID, flags: sce.UInt32, option: ^SceKernelUnloadModuleOption) -> c.int ---
|
||||
_sceKernelStopModule :: proc(uid: sce.UID, args: sce.Size, argp: rawptr, flags: sce.UInt32) -> c.int ---
|
||||
_sceKernelStopUnloadModule :: proc(uid: sce.UID, args: sce.Size, argp: rawptr, flags: sce.UInt32) -> c.int ---
|
||||
|
||||
@(link_name = "_sceKernelOpenModule")
|
||||
_OpenModule :: proc(module_filename: cstring, args: sce.Size, argp: rawptr, flags: sce.UInt32) -> sce.UID ---
|
||||
@(link_name = "_sceKernelCloseModule")
|
||||
_CloseModule :: proc(modid: sce.UID, args: sce.Size, argp: rawptr, flags: sce.UInt32) -> sce.UID ---
|
||||
_sceKernelOpenModule :: proc(module_filename: cstring, args: sce.Size, argp: rawptr, flags: sce.UInt32) -> sce.UID ---
|
||||
_sceKernelCloseModule :: proc(modid: sce.UID, args: sce.Size, argp: rawptr, flags: sce.UInt32) -> sce.UID ---
|
||||
|
||||
GetLibraryInfoByNID :: proc(modid: sce.UID, libnid: sce.NID, info: ^SceKernelLibraryInfo) -> c.int ---
|
||||
sceKernelGetLibraryInfoByNID :: proc(modid: sce.UID, libnid: sce.NID, info: ^SceKernelLibraryInfo) -> c.int ---
|
||||
|
||||
IsCalledFromSysModule :: proc(lr: rawptr) -> c.int ---
|
||||
GetModuleIdByAddr :: proc(addr: rawptr) -> sce.UID ---
|
||||
GetAllowedSdkVersionOnSystem :: proc() -> sce.UInt32 ---
|
||||
sceKernelIsCalledFromSysModule :: proc(lr: rawptr) -> c.int ---
|
||||
sceKernelGetModuleIdByAddr :: proc(addr: rawptr) -> sce.UID ---
|
||||
sceKernelGetAllowedSdkVersionOnSystem :: proc() -> sce.UInt32 ---
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user