vitasdk
Documentation of the vitasdk
iofilemgr.h
Go to the documentation of this file.
1 
6 #ifndef _PSP2KERN_KERNEL_IOFILEMGR_H_
7 #define _PSP2KERN_KERNEL_IOFILEMGR_H_
8 
9 #include <vitasdk/build_utils.h>
10 #include <psp2kern/types.h>
11 #include <psp2kern/io/fcntl.h>
12 #include <psp2kern/io/devctl.h>
13 #include <psp2kern/io/stat.h>
14 #include <psp2kern/io/dirent.h>
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
20 typedef struct SceIoFdInfo {
23 } SceIoFdInfo;
25 
36 int ksceIoGetGUIDFdListForDebugger(int vis_level, SceIoFdInfo *dst, SceSize max_size, SceSize *res_size);
37 
38 #define ksceIoGetGUIDFdList ksceIoGetGUIDFdListForDebugger
39 
50 int ksceIoGetPUIDFdListForDebugger(int vis_level, SceIoFdInfo *dst, SceSize max_size, SceSize *res_size);
51 
52 #define ksceIoGetPUIDFdList ksceIoGetPUIDFdListForDebugger
53 
54 typedef struct SceIofileInfo { // size is 0x828
55  char path[0x400];
56  char path2[0x400];
65  int data_0x820; // maybe media type
69 
80 
93 int ksceIoMount(int id, const char *path, int permission, int a4, int a5, int a6);
94 
105 int ksceIoUmount(int id, int a2, int a3, int a4);
106 
116 
117 #ifdef __cplusplus
118 }
119 #endif
120 
121 #endif /* _PSP2KERN_KERNEL_IOFILEMGR_H_ */
SceUID pid
Definition: iofilemgr.h:22
int ksceIoGetPUIDFdListForDebugger(int vis_level, SceIoFdInfo *dst, SceSize max_size, SceSize *res_size)
Get process file descriptor.
VITASDK_BUILD_ASSERT_EQ(0x18, SceIoDevInfo)
int data_0x804
Definition: iofilemgr.h:58
int data_0x81C
Definition: iofilemgr.h:64
int data_0x80C
Definition: iofilemgr.h:60
int ksceIoGetGUIDFdListForDebugger(int vis_level, SceIoFdInfo *dst, SceSize max_size, SceSize *res_size)
Get global file descriptor.
SceUID pid
Definition: iofilemgr.h:57
int ksceIoGetFileInfo(SceUID fd, SceUID pid, SceIofileInfo *info)
Get file info.
char path2[0x400]
Definition: iofilemgr.h:56
int data_0x818
Definition: iofilemgr.h:63
SceUID fd
Definition: iofilemgr.h:21
int ksceIoMount(int id, const char *path, int permission, int a4, int a5, int a6)
Mounts a device.
char path[0x400]
Definition: iofilemgr.h:55
int data_0x808
Definition: iofilemgr.h:59
int data_0x814
Definition: iofilemgr.h:62
int data_0x824
Definition: iofilemgr.h:66
int data_0x820
Definition: iofilemgr.h:65
int data_0x810
Definition: iofilemgr.h:61
int ksceIoUmount(int id, int a2, int a3, int a4)
Unmounts a device.
int ksceIoGetRemoteKPLSData(SceUID pid, void *dst)
Get Remote Kernel Process Local Storage Data.
Definition: iofilemgr.h:20
Definition: iofilemgr.h:54
SceUID pid
Definition: debug.h:1
unsigned int SceSize
Definition: types.h:56
int SceUID
UIDs are used to describe many different kernel objects.
Definition: types.h:90