summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorReiko Asakura2021-03-11 21:31:43 -0500
committerReiko Asakura2021-03-11 21:31:43 -0500
commit8439f2dbc91611929ab8ea4636fbfe442d72738e (patch)
tree88f8ef9bf0d5e3aa523276500c7ac30b24d95aa8 /include
parentRun lint workflow on pull request (diff)
downloadvds-libraries-8439f2dbc91611929ab8ea4636fbfe442d72738e.tar.gz
Conform syscall names to syslibtrace
These names are guessed: sceUsbdRegisterCallbackForUser sceUsbdUnregisterCallbackForUser sceSblUsVerifyPupAdditionalSignForUser
Diffstat (limited to 'include')
-rw-r--r--include/user/libsysmodule.h6
-rw-r--r--include/user/usbd.h58
2 files changed, 33 insertions, 31 deletions
diff --git a/include/user/libsysmodule.h b/include/user/libsysmodule.h
index e7d7dc2..ad2fda0 100644
--- a/include/user/libsysmodule.h
+++ b/include/user/libsysmodule.h
@@ -112,7 +112,8 @@ int sceSysmoduleIsLoadedInternal(SceUInt32 id);
*
* @return 0 on success, <0 otherwise.
*/
-int sceSysmoduleLoadModuleInternalWithArg(SceUInt32 id, SceSize args, void *argp, void *unk);
+#define sceSysmoduleLoadModuleInternalWithArg _sceSysmoduleLoadModuleInternalWithArg
+int _sceSysmoduleLoadModuleInternalWithArg(SceUInt32 id, SceSize args, void *argp, void *unk);
/**
* Unload an internal module with custom arguments.
@@ -124,7 +125,8 @@ int sceSysmoduleLoadModuleInternalWithArg(SceUInt32 id, SceSize args, void *argp
*
* @return 0 on success, <0 otherwise.
*/
-int sceSysmoduleUnloadModuleInternalWithArg(SceUInt32 id, SceSize args, void *argp, void *unk);
+#define sceSysmoduleUnloadModuleInternalWithArg _sceSysmoduleUnloadModuleInternalWithArg
+int _sceSysmoduleUnloadModuleInternalWithArg(SceUInt32 id, SceSize args, void *argp, void *unk);
#ifdef __cplusplus
}
diff --git a/include/user/usbd.h b/include/user/usbd.h
index e066230..fa5a6d2 100644
--- a/include/user/usbd.h
+++ b/include/user/usbd.h
@@ -56,35 +56,35 @@ typedef struct SceUsbdReceiveEvent {
unsigned int transfer_id;
} SceUsbdReceiveEvent; /* size = 0x1C */
-int sceUsbdInit(SceUID *uid);
-int sceUsbdEnd(SceUID uid);
-
-int sceUsbdRegisterCallback(SceUID cbid, int);
-int sceUsbdUnregisterCallback(SceUID cbid);
-
-int sceUsbdResetDevice(SceUID uid, unsigned int device_id);
-int sceUsbdAttach(SceUID uid, int, int, int);
-
-int sceUsbdGetDeviceList(SceUID uid, unsigned int num, SceUsbdDeviceInfo *info);
-int sceUsbdGetDescriptor(SceUID uid, unsigned int device_id, unsigned char *descriptor, unsigned int size);
-int sceUsbdGetDescriptorSize(SceUID uid, unsigned int device_id);
-int sceUsbdGetDeviceAddress(SceUID uid, unsigned int device_id, SceUsbdDeviceAddress *addr);
-int sceUsbdGetDeviceSpeed(SceUID uid, unsigned int device_id, unsigned int *speed);
-int sceUsbdGetTransferStatus(SceUID uid, unsigned char buff[0x10]);
-int sceUsbdGetIsochTransferStatus(SceUID uid, unsigned char buff[0x10]);
-
-int sceUsbdOpenDefaultPipe(SceUID uid, unsigned int device_id);
-int sceUsbdOpenPipe(SceUID uid, unsigned char unk[0x18]);
-int sceUsbdClosePipe(SceUID uid, unsigned int device_id);
-
-int sceUsbdTransferData(SceUID uid, SceUsbdTransferData *data);
-int sceUsbdIsochTransferData(SceUID uid, int unk, unsigned char buff[0x28]);
-int sceUsbdReceiveEvent(SceUID uid, SceUsbdReceiveEvent *event);
-
-int sceUsbdRegisterLdd(SceUID uid, const char str[0x100]);
-int sceUsbdUnregisterLdd(SceUID uid, const char str[0x100]);
-int sceUsbdRegisterCompositeLdd(SceUID uid, const char str[0x100]);
-int sceUsbdAttachCompositeLdd(SceUID, unsigned char unk[0x14]);
+int sceUsbdInitForUser(SceUID *uid);
+int sceUsbdEndForUser(SceUID uid);
+
+int sceUsbdRegisterCallbackForUser(SceUID cbid, int);
+int sceUsbdUnregisterCallbackForUser(SceUID cbid);
+
+int sceUsbdResetDeviceForUser(SceUID uid, unsigned int device_id);
+int sceUsbdAttachForUser(SceUID uid, int, int, int);
+
+int sceUsbdGetDeviceListForUser(SceUID uid, unsigned int num, SceUsbdDeviceInfo *info);
+int sceUsbdGetDescriptorForUser(SceUID uid, unsigned int device_id, unsigned char *descriptor, unsigned int size);
+int sceUsbdGetDescriptorSizeForUser(SceUID uid, unsigned int device_id);
+int sceUsbdGetDeviceLocationForUser(SceUID uid, unsigned int device_id, SceUsbdDeviceAddress *addr);
+int sceUsbdGetDeviceSpeedForUser(SceUID uid, unsigned int device_id, unsigned int *speed);
+int sceUsbdGetTransferStatusForUser(SceUID uid, unsigned char buff[0x10]);
+int sceUsbdGetIsochTransferStatusForUser(SceUID uid, unsigned char buff[0x10]);
+
+int sceUsbdOpenDefaultPipeForUser(SceUID uid, unsigned int device_id);
+int sceUsbdOpenPipeForUser(SceUID uid, unsigned char unk[0x18]);
+int sceUsbdClosePipeForUserForUser(SceUID uid, unsigned int device_id);
+
+int sceUsbdTransferDataForUser(SceUID uid, SceUsbdTransferData *data);
+int sceUsbdIsochTransferDataForUser(SceUID uid, int unk, unsigned char buff[0x28]);
+int sceUsbdReceiveEventForUser(SceUID uid, SceUsbdReceiveEvent *event);
+
+int sceUsbdRegisterLddForUser(SceUID uid, const char str[0x100]);
+int sceUsbdUnregisterLddForUser(SceUID uid, const char str[0x100]);
+int sceUsbdRegisterCompositeLddForUser(SceUID uid, const char str[0x100]);
+int sceUsbdAttachCompositeLddForUser(SceUID, unsigned char unk[0x14]);
#ifdef __cplusplus
}