RetroArch
Macros | Enumerations | Functions | Variables
platform_ps2.c File Reference
#include <stdint.h>
#include "../frontend_driver.h"
#include <io_common.h>
#include <loadfile.h>
#include <unistd.h>
#include <sbv_patches.h>
#include <sifrpc.h>
#include <iopcontrol.h>
#include <libpwroff.h>
#include <SDL/SDL.h>
#include <audsrv.h>
Include dependency graph for platform_ps2.c:

Macros

#define DEFAULT_PATH   "mass:"
 

Enumerations

enum  BootDeviceIDs {
  BOOT_DEVICE_UNKNOWN = -1, BOOT_DEVICE_MC0 = 0, BOOT_DEVICE_MC1, BOOT_DEVICE_CDROM,
  BOOT_DEVICE_MASS, BOOT_DEVICE_HDD, BOOT_DEVICE_HOST, BOOT_DEVICE_COUNT
}
 

Functions

static int getBootDeviceID (char *path)
 
static void waitUntilDeviceIsReady (const char *path)
 
void setPWDOnPFS (const char *FullCWD_path)
 
static const char * getMountParams (const char *command, char *BlockDevice)
 
static void create_path_names (void)
 
static void poweroffCallback (void *arg)
 
static void frontend_ps2_get_environment_settings (int *argc, char *argv[], void *args, void *params_data)
 
static void frontend_ps2_init (void *data)
 
static void frontend_ps2_deinit (void *data)
 
static void frontend_ps2_exec (const char *path, bool should_load_game)
 
static bool frontend_ps2_set_fork (enum frontend_fork fork_mode)
 
static void frontend_ps2_exitspawn (char *core_path, size_t core_path_size)
 
static void frontend_ps2_shutdown (bool unused)
 
static int frontend_ps2_get_rating (void)
 
enum frontend_architecture frontend_ps2_get_architecture (void)
 
static int frontend_ps2_parse_drive_list (void *data, bool load_content)
 

Variables

unsigned char poweroff_irx_start []
 
unsigned int poweroff_irx_size
 
unsigned char ps2dev9_irx_start []
 
unsigned int ps2dev9_irx_size
 
unsigned char ps2atad_irx_start []
 
unsigned int ps2atad_irx_size
 
unsigned char ps2hdd_irx_start []
 
unsigned int ps2hdd_irx_size
 
unsigned char ps2fs_irx_start []
 
unsigned int ps2fs_irx_size
 
unsigned char iomanX_irx_start []
 
unsigned int iomanX_irx_size
 
unsigned char fileXio_irx_start []
 
unsigned int fileXio_irx_size
 
unsigned char freesd_irx_start []
 
unsigned int freesd_irx_size
 
unsigned char audsrv_irx_start []
 
unsigned int audsrv_irx_size
 
unsigned char usbd_irx_start []
 
unsigned int usbd_irx_size
 
unsigned char usbhdfsd_irx_start []
 
unsigned int usbhdfsd_irx_size
 
unsigned char mcman_irx_start []
 
unsigned int mcman_irx_size
 
unsigned char mcserv_irx_start []
 
unsigned int mcserv_irx_size
 
static unsigned char HDDModulesLoaded =0
 
char eboot_path [512]
 
char user_path [512]
 
static enum frontend_fork ps2_fork_mode = FRONTEND_FORK_NONE
 
frontend_ctx_driver_t frontend_ctx_ps2
 

Macro Definition Documentation

◆ DEFAULT_PATH

#define DEFAULT_PATH   "mass:"

Enumeration Type Documentation

◆ BootDeviceIDs

Enumerator
BOOT_DEVICE_UNKNOWN 
BOOT_DEVICE_MC0 
BOOT_DEVICE_MC1 
BOOT_DEVICE_CDROM 
BOOT_DEVICE_MASS 
BOOT_DEVICE_HDD 
BOOT_DEVICE_HOST 
BOOT_DEVICE_COUNT 

Function Documentation

◆ create_path_names()

static void create_path_names ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_ps2_deinit()

static void frontend_ps2_deinit ( void data)
static
Here is the call graph for this function:

◆ frontend_ps2_exec()

static void frontend_ps2_exec ( const char *  path,
bool  should_load_game 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ frontend_ps2_exitspawn()

static void frontend_ps2_exitspawn ( char *  core_path,
size_t  core_path_size 
)
static
Here is the call graph for this function:

◆ frontend_ps2_get_architecture()

enum frontend_architecture frontend_ps2_get_architecture ( void  )

◆ frontend_ps2_get_environment_settings()

static void frontend_ps2_get_environment_settings ( int *  argc,
char *  argv[],
void args,
void params_data 
)
static
Here is the call graph for this function:

◆ frontend_ps2_get_rating()

static int frontend_ps2_get_rating ( void  )
static

◆ frontend_ps2_init()

static void frontend_ps2_init ( void data)
static
Here is the call graph for this function:

◆ frontend_ps2_parse_drive_list()

static int frontend_ps2_parse_drive_list ( void data,
bool  load_content 
)
static
Here is the call graph for this function:

◆ frontend_ps2_set_fork()

static bool frontend_ps2_set_fork ( enum frontend_fork  fork_mode)
static
Here is the call graph for this function:

◆ frontend_ps2_shutdown()

static void frontend_ps2_shutdown ( bool  unused)
static
Here is the call graph for this function:

◆ getBootDeviceID()

static int getBootDeviceID ( char *  path)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMountParams()

static const char* getMountParams ( const char *  command,
char *  BlockDevice 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ poweroffCallback()

static void poweroffCallback ( void arg)
static
Here is the caller graph for this function:

◆ setPWDOnPFS()

void setPWDOnPFS ( const char *  FullCWD_path)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ waitUntilDeviceIsReady()

static void waitUntilDeviceIsReady ( const char *  path)
static
Here is the caller graph for this function:

Variable Documentation

◆ audsrv_irx_size

unsigned int audsrv_irx_size

◆ audsrv_irx_start

unsigned char audsrv_irx_start[]

◆ eboot_path

char eboot_path[512]

◆ fileXio_irx_size

unsigned int fileXio_irx_size

◆ fileXio_irx_start

unsigned char fileXio_irx_start[]

◆ freesd_irx_size

unsigned int freesd_irx_size

◆ freesd_irx_start

unsigned char freesd_irx_start[]

◆ frontend_ctx_ps2

frontend_ctx_driver_t frontend_ctx_ps2

◆ HDDModulesLoaded

unsigned char HDDModulesLoaded =0
static

◆ iomanX_irx_size

unsigned int iomanX_irx_size

◆ iomanX_irx_start

unsigned char iomanX_irx_start[]

◆ mcman_irx_size

unsigned int mcman_irx_size

◆ mcman_irx_start

unsigned char mcman_irx_start[]

◆ mcserv_irx_size

unsigned int mcserv_irx_size

◆ mcserv_irx_start

unsigned char mcserv_irx_start[]

◆ poweroff_irx_size

unsigned int poweroff_irx_size

◆ poweroff_irx_start

unsigned char poweroff_irx_start[]

◆ ps2_fork_mode

enum frontend_fork ps2_fork_mode = FRONTEND_FORK_NONE
static

◆ ps2atad_irx_size

unsigned int ps2atad_irx_size

◆ ps2atad_irx_start

unsigned char ps2atad_irx_start[]

◆ ps2dev9_irx_size

unsigned int ps2dev9_irx_size

◆ ps2dev9_irx_start

unsigned char ps2dev9_irx_start[]

◆ ps2fs_irx_size

unsigned int ps2fs_irx_size

◆ ps2fs_irx_start

unsigned char ps2fs_irx_start[]

◆ ps2hdd_irx_size

unsigned int ps2hdd_irx_size

◆ ps2hdd_irx_start

unsigned char ps2hdd_irx_start[]

◆ usbd_irx_size

unsigned int usbd_irx_size

◆ usbd_irx_start

unsigned char usbd_irx_start[]

◆ usbhdfsd_irx_size

unsigned int usbhdfsd_irx_size

◆ usbhdfsd_irx_start

unsigned char usbhdfsd_irx_start[]

◆ user_path

char user_path[512]