vitasdk
Documentation of the vitasdk
fios2kernel.h
Go to the documentation of this file.
1 
7 #ifndef _PSP2_FIOS2KERNEL_H_
8 #define _PSP2_FIOS2KERNEL_H_
9 
10 #include <vitasdk/build_utils.h>
11 #include <psp2/types.h>
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 typedef int32_t SceFiosKernelOverlayDH;
19 typedef int32_t SceFiosKernelOverlayID;
21 
22 // missing structs
26 
31 
34  int padding[2];
37 
44 
45 typedef struct SceFiosGetListSyscallArgs {
47  int data_0x04;
48  int data_0x08;
50  int data_0x10;
51  int data_0x14;
54 
56 int _sceFiosKernelOverlayGetRecommendedScheduler(int avail, const char *partially_resolved_path, SceUInt64 *a3);
61 
63  char *out_path;
64  int data_0x04;
65  int data_0x08;
66  int data_0x0C;
67  int data_0x10;
68  int data_0x14;
71 
72 int _sceFiosKernelOverlayResolveSync(SceUID pid, int resolve_flag, const char *in_path, SceFiosResolveSyncSyscallArgs *args);
73 
75  char *out_path;
76  int data_0x04;
79  int data_0x0C;
80  int data_0x10;
81  int data_0x14;
84 
88 
89 #ifdef __cplusplus
90 }
91 #endif
92 
93 #endif /* _PSP2_FIOS2KERNEL_H_ */
int data_0x04
Definition: fios2kernel.h:64
SceUInt8 data_0x08
Definition: fios2kernel.h:77
int _sceFiosKernelOverlayDHCloseSync(SceFiosKernelOverlayDH dh)
SceFiosKernelOverlayID * out_ids
Definition: fios2kernel.h:46
char * out_path
Definition: fios2kernel.h:75
struct SceFiosKernelOverlay SceFiosKernelOverlay
Definition: fios2kernel.h:23
int _sceFiosKernelOverlayGetInfo(SceFiosKernelOverlayID id, SceFiosKernelOverlay *out_overlay)
int _sceFiosKernelOverlayResolveWithRangeSync(SceUID pid, int resolve_flag, const char *in_path, SceFiosResolveWithRangeSyncSyscallArgs *args)
struct SceFiosNativeStat SceFiosNativeStat
Definition: fios2kernel.h:24
int _sceFiosKernelOverlayRemove(SceFiosKernelOverlayID id)
int _sceFiosKernelOverlayRemoveForProcess(SceUID target_process, SceFiosKernelOverlayID id)
VITASDK_BUILD_ASSERT_EQ(4, SceFiosKernelOverlayDH)
int data_0x10
Definition: fios2kernel.h:50
int _sceFiosKernelOverlayDHSyncSync(SceFiosKernelOverlayDH dh, int flag)
int _sceFiosKernelOverlayAdd(const SceFiosKernelOverlay *overlay, SceFiosKernelOverlayID *out_id)
SceSize data_0x0C
Definition: fios2kernel.h:49
int32_t SceFiosKernelOverlayDH
Definition: fios2kernel.h:17
int data_0x14
Definition: fios2kernel.h:68
int _sceFiosKernelOverlayGetRecommendedScheduler(int avail, const char *partially_resolved_path, SceUInt64 *a3)
int data_0x14
Definition: fios2kernel.h:81
int data_0x04
Definition: fios2kernel.h:47
int _sceFiosKernelOverlayDHReadSync(SceFiosKernelOverlayDH dh, SceFiosNativeDirEntry *out_entry)
SceUInt8 data_0x09
Definition: fios2kernel.h:78
SceUInt8 to_order
Definition: fios2kernel.h:33
int data_0x08
Definition: fios2kernel.h:48
int data_0x0C
Definition: fios2kernel.h:79
int data_0x14
Definition: fios2kernel.h:51
int data_0x0C
Definition: fios2kernel.h:66
int _sceFiosKernelOverlayModifyForProcess(SceUID target_process, SceFiosKernelOverlayID id, const SceFiosKernelOverlay *new_value)
int _sceFiosKernelOverlayAddForProcess(SceUID target_process, const SceFiosKernelOverlay *overlay, SceFiosKernelOverlayID *out_id)
int _sceFiosKernelOverlayModify(SceFiosKernelOverlayID id, const SceFiosKernelOverlay *new_value)
int _sceFiosKernelOverlayDHOpenSync(SceFiosKernelOverlayDH *out_dh, const char *path, SceUInt8 from_order, SceFiosDHOpenSyncSyscallArgs *args)
int padding[2]
Definition: fios2kernel.h:34
int _sceFiosKernelOverlayResolveSync(SceUID pid, int resolve_flag, const char *in_path, SceFiosResolveSyncSyscallArgs *args)
int data_0x04
Definition: fios2kernel.h:76
int data_0x08
Definition: fios2kernel.h:65
int _sceFiosKernelOverlayDHStatSync(SceFiosKernelOverlayDH dh, SceFiosNativeStat *out_stat)
char * out_path
Definition: fios2kernel.h:63
int _sceFiosKernelOverlayDHChstatSync(SceFiosKernelOverlayDH dh, const SceFiosNativeStat *new_stat, unsigned int cbit)
int _sceFiosKernelOverlayThreadSetDisabled(SceInt32 disabled)
int _sceFiosKernelOverlayGetInfoForProcess(SceUID target_process, SceFiosKernelOverlayID id, SceFiosKernelOverlay *out_overlay)
int32_t SceFiosKernelOverlayID
Definition: fios2kernel.h:19
int _sceFiosKernelOverlayGetList(SceUID pid, SceUInt8 min_order, SceUInt8 max_order, SceFiosGetListSyscallArgs *args)
int data_0x10
Definition: fios2kernel.h:67
int data_0x10
Definition: fios2kernel.h:80
struct SceFiosNativeDirEntry SceFiosNativeDirEntry
Definition: fios2kernel.h:25
int _sceFiosKernelOverlayThreadIsDisabled(void)
Definition: fios2kernel.h:32
Definition: fios2kernel.h:45
Definition: fios2kernel.h:62
Definition: fios2kernel.h:74
SceUID pid
Definition: debug.h:1
int32_t SceInt32
Definition: types.h:44
unsigned int SceSize
Definition: types.h:56
int SceUID
UIDs are used to describe many different kernel objects.
Definition: types.h:90
uint64_t SceUInt64
Definition: types.h:51
uint8_t SceUInt8
Definition: types.h:36