RetroArch
Classes | Macros | Functions
iosuhax.h File Reference
#include <stdint.h>
Include dependency graph for iosuhax.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fileStat_s
 
struct  directoryEntry_s
 

Macros

#define IOS_ERROR_UNKNOWN_VALUE   0xFFFFFFD6
 
#define IOS_ERROR_INVALID_ARG   0xFFFFFFE3
 
#define IOS_ERROR_INVALID_SIZE   0xFFFFFFE9
 
#define IOS_ERROR_UNKNOWN   0xFFFFFFF7
 
#define IOS_ERROR_NOEXISTS   0xFFFFFFFA
 
#define DIR_ENTRY_IS_DIRECTORY   0x80000000
 
#define FSA_MOUNTFLAGS_BINDMOUNT   (1 << 0)
 
#define FSA_MOUNTFLAGS_GLOBAL   (1 << 1)
 

Functions

int IOSUHAX_Open (const char *dev)
 
int IOSUHAX_Close (void)
 
int IOSUHAX_memwrite (uint32_t address, const uint8_t *buffer, uint32_t size)
 
int IOSUHAX_memread (uint32_t address, uint8_t *out_buffer, uint32_t size)
 
int IOSUHAX_memcpy (uint32_t dst, uint32_t src, uint32_t size)
 
int IOSUHAX_SVC (uint32_t svc_id, uint32_t *args, uint32_t arg_cnt)
 
int IOSUHAX_FSA_Open ()
 
int IOSUHAX_FSA_Close (int fsaFd)
 
int IOSUHAX_FSA_Mount (int fsaFd, const char *device_path, const char *volume_path, uint32_t flags, const char *arg_string, int arg_string_len)
 
int IOSUHAX_FSA_Unmount (int fsaFd, const char *path, uint32_t flags)
 
int IOSUHAX_FSA_FlushVolume (int fsaFd, const char *volume_path)
 
int IOSUHAX_FSA_GetDeviceInfo (int fsaFd, const char *device_path, int type, uint32_t *out_data)
 
int IOSUHAX_FSA_MakeDir (int fsaFd, const char *path, uint32_t flags)
 
int IOSUHAX_FSA_OpenDir (int fsaFd, const char *path, int *outHandle)
 
int IOSUHAX_FSA_ReadDir (int fsaFd, int handle, directoryEntry_s *out_data)
 
int IOSUHAX_FSA_RewindDir (int fsaFd, int dirHandle)
 
int IOSUHAX_FSA_CloseDir (int fsaFd, int handle)
 
int IOSUHAX_FSA_ChangeDir (int fsaFd, const char *path)
 
int IOSUHAX_FSA_OpenFile (int fsaFd, const char *path, const char *mode, int *outHandle)
 
int IOSUHAX_FSA_ReadFile (int fsaFd, void *data, uint32_t size, uint32_t cnt, int fileHandle, uint32_t flags)
 
int IOSUHAX_FSA_WriteFile (int fsaFd, const void *data, uint32_t size, uint32_t cnt, int fileHandle, uint32_t flags)
 
int IOSUHAX_FSA_StatFile (int fsaFd, int fileHandle, fileStat_s *out_data)
 
int IOSUHAX_FSA_CloseFile (int fsaFd, int fileHandle)
 
int IOSUHAX_FSA_SetFilePos (int fsaFd, int fileHandle, uint32_t position)
 
int IOSUHAX_FSA_GetStat (int fsaFd, const char *path, fileStat_s *out_data)
 
int IOSUHAX_FSA_Remove (int fsaFd, const char *path)
 
int IOSUHAX_FSA_ChangeMode (int fsaFd, const char *path, int mode)
 
int IOSUHAX_FSA_RawOpen (int fsaFd, const char *device_path, int *outHandle)
 
int IOSUHAX_FSA_RawRead (int fsaFd, void *data, uint32_t block_size, uint32_t block_cnt, uint64_t sector_offset, int device_handle)
 
int IOSUHAX_FSA_RawWrite (int fsaFd, const void *data, uint32_t block_size, uint32_t block_cnt, uint64_t sector_offset, int device_handle)
 
int IOSUHAX_FSA_RawClose (int fsaFd, int device_handle)
 

Macro Definition Documentation

◆ DIR_ENTRY_IS_DIRECTORY

#define DIR_ENTRY_IS_DIRECTORY   0x80000000

◆ FSA_MOUNTFLAGS_BINDMOUNT

#define FSA_MOUNTFLAGS_BINDMOUNT   (1 << 0)

◆ FSA_MOUNTFLAGS_GLOBAL

#define FSA_MOUNTFLAGS_GLOBAL   (1 << 1)

◆ IOS_ERROR_INVALID_ARG

#define IOS_ERROR_INVALID_ARG   0xFFFFFFE3

◆ IOS_ERROR_INVALID_SIZE

#define IOS_ERROR_INVALID_SIZE   0xFFFFFFE9

◆ IOS_ERROR_NOEXISTS

#define IOS_ERROR_NOEXISTS   0xFFFFFFFA

◆ IOS_ERROR_UNKNOWN

#define IOS_ERROR_UNKNOWN   0xFFFFFFF7

◆ IOS_ERROR_UNKNOWN_VALUE

#define IOS_ERROR_UNKNOWN_VALUE   0xFFFFFFD6

Function Documentation

◆ IOSUHAX_Close()

int IOSUHAX_Close ( void  )
Here is the caller graph for this function:

◆ IOSUHAX_FSA_ChangeDir()

int IOSUHAX_FSA_ChangeDir ( int  fsaFd,
const char *  path 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IOSUHAX_FSA_ChangeMode()

int IOSUHAX_FSA_ChangeMode ( int  fsaFd,
const char *  path,
int  mode 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IOSUHAX_FSA_Close()

int IOSUHAX_FSA_Close ( int  fsaFd)
Here is the caller graph for this function:

◆ IOSUHAX_FSA_CloseDir()

int IOSUHAX_FSA_CloseDir ( int  fsaFd,
int  handle 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IOSUHAX_FSA_CloseFile()

int IOSUHAX_FSA_CloseFile ( int  fsaFd,
int  fileHandle 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IOSUHAX_FSA_FlushVolume()

int IOSUHAX_FSA_FlushVolume ( int  fsaFd,
const char *  volume_path 
)
Here is the call graph for this function:

◆ IOSUHAX_FSA_GetDeviceInfo()

int IOSUHAX_FSA_GetDeviceInfo ( int  fsaFd,
const char *  device_path,
int  type,
uint32_t out_data 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IOSUHAX_FSA_GetStat()

int IOSUHAX_FSA_GetStat ( int  fsaFd,
const char *  path,
fileStat_s out_data 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IOSUHAX_FSA_MakeDir()

int IOSUHAX_FSA_MakeDir ( int  fsaFd,
const char *  path,
uint32_t  flags 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IOSUHAX_FSA_Mount()

int IOSUHAX_FSA_Mount ( int  fsaFd,
const char *  device_path,
const char *  volume_path,
uint32_t  flags,
const char *  arg_string,
int  arg_string_len 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IOSUHAX_FSA_Open()

int IOSUHAX_FSA_Open ( )
Here is the caller graph for this function:

◆ IOSUHAX_FSA_OpenDir()

int IOSUHAX_FSA_OpenDir ( int  fsaFd,
const char *  path,
int *  outHandle 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IOSUHAX_FSA_OpenFile()

int IOSUHAX_FSA_OpenFile ( int  fsaFd,
const char *  path,
const char *  mode,
int *  outHandle 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IOSUHAX_FSA_RawClose()

int IOSUHAX_FSA_RawClose ( int  fsaFd,
int  device_handle 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IOSUHAX_FSA_RawOpen()

int IOSUHAX_FSA_RawOpen ( int  fsaFd,
const char *  device_path,
int *  outHandle 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IOSUHAX_FSA_RawRead()

int IOSUHAX_FSA_RawRead ( int  fsaFd,
void data,
uint32_t  block_size,
uint32_t  block_cnt,
uint64_t  sector_offset,
int  device_handle 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IOSUHAX_FSA_RawWrite()

int IOSUHAX_FSA_RawWrite ( int  fsaFd,
const void data,
uint32_t  block_size,
uint32_t  block_cnt,
uint64_t  sector_offset,
int  device_handle 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IOSUHAX_FSA_ReadDir()

int IOSUHAX_FSA_ReadDir ( int  fsaFd,
int  handle,
directoryEntry_s out_data 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IOSUHAX_FSA_ReadFile()

int IOSUHAX_FSA_ReadFile ( int  fsaFd,
void data,
uint32_t  size,
uint32_t  cnt,
int  fileHandle,
uint32_t  flags 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IOSUHAX_FSA_Remove()

int IOSUHAX_FSA_Remove ( int  fsaFd,
const char *  path 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IOSUHAX_FSA_RewindDir()

int IOSUHAX_FSA_RewindDir ( int  fsaFd,
int  dirHandle 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IOSUHAX_FSA_SetFilePos()

int IOSUHAX_FSA_SetFilePos ( int  fsaFd,
int  fileHandle,
uint32_t  position 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IOSUHAX_FSA_StatFile()

int IOSUHAX_FSA_StatFile ( int  fsaFd,
int  fileHandle,
fileStat_s out_data 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IOSUHAX_FSA_Unmount()

int IOSUHAX_FSA_Unmount ( int  fsaFd,
const char *  path,
uint32_t  flags 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IOSUHAX_FSA_WriteFile()

int IOSUHAX_FSA_WriteFile ( int  fsaFd,
const void data,
uint32_t  size,
uint32_t  cnt,
int  fileHandle,
uint32_t  flags 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IOSUHAX_memcpy()

int IOSUHAX_memcpy ( uint32_t  dst,
uint32_t  src,
uint32_t  size 
)

◆ IOSUHAX_memread()

int IOSUHAX_memread ( uint32_t  address,
uint8_t out_buffer,
uint32_t  size 
)

◆ IOSUHAX_memwrite()

int IOSUHAX_memwrite ( uint32_t  address,
const uint8_t buffer,
uint32_t  size 
)
Here is the call graph for this function:

◆ IOSUHAX_Open()

int IOSUHAX_Open ( const char *  dev)
Here is the caller graph for this function:

◆ IOSUHAX_SVC()

int IOSUHAX_SVC ( uint32_t  svc_id,
uint32_t args,
uint32_t  arg_cnt 
)
Here is the call graph for this function: