PSPSDK 2024-10-31
Loading...
Searching...
No Matches
psploadexec_kernel.h
Go to the documentation of this file.
1/*
2 * PSP Software Development Kit - https://github.com/pspdev
3 * -----------------------------------------------------------------------
4 * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
5 *
6 * psploadexec_kernel.h - Interface to LoadExecForKernel.
7 *
8 * Copyright (c) 2007 - DA (Taken from the 303oe SDK)
9 *
10 */
11
12#ifndef PSPLOADEXEC_KERNEL_H
13#define PSPLOADEXEC_KERNEL_H
14
15#include <pspkerneltypes.h>
16#include <psploadexec.h>
17
21#ifdef __cplusplus
22extern "C" {
23#endif
24
49
50#if defined(_PSP_FW_VERSION) && _PSP_FW_VERSION < 200
61#endif
62
74
75#if defined(_PSP_FW_VERSION) && _PSP_FW_VERSION >= 200
87#endif
88
99
110
121
132
143
144#if defined(_PSP_FW_VERSION) && _PSP_FW_VERSION >= 300
145/***
146 * Executes a new executable from a memory stick.
147 * It is the function used by the firmware to execute psx games
148 *
149 * @param file - The file to execute.
150 * @param param - Pointer to a ::SceKernelLoadExecVSHParam structure, or NULL.
151 *
152 * @return < 0 on some errors.
153 * @note - Available since firmware 3.00
154*/
156#endif
157
160#ifdef __cplusplus
161}
162#endif
163
164#endif
int sceKernelLoadExecVSHDiscUpdater(const char *file, struct SceKernelLoadExecVSHParam *param)
Executes a new executable from a disc.
int sceKernelLoadExecVSHDisc(const char *file, struct SceKernelLoadExecVSHParam *param)
Executes a new executable from a disc.
int sceKernelLoadExecVSHMs3(const char *file, struct SceKernelLoadExecVSHParam *param)
Executes a new executable from a memory stick.
int sceKernelLoadExecVSHMs1(const char *file, struct SceKernelLoadExecVSHParam *param)
Executes a new executable from a memory stick.
int sceKernelLoadExecVSHMs2(const char *file, struct SceKernelLoadExecVSHParam *param)
Executes a new executable from a memory stick.
int sceKernelExitVSHVSH(struct SceKernelLoadExecVSHParam *param)
Restart the vsh.
unsigned int SceSize
Definition pspkerneltypes.h:27
float x
Definition psptypes.h:0
uint32_t u32
Definition psptypes.h:41
Structure to pass to loadexec.
Definition psploadexec.h:59
Structure for LoadExecVSH* functions.
Definition psploadexec_kernel.h:29
void * vshmain_args
vshmain arguments that will be passed to vshmain after the program has exited
Definition psploadexec_kernel.h:41
u32 unk5
unknown flag default value = 0x10000
Definition psploadexec_kernel.h:47
void * argp
Pointer to the arguments strings.
Definition psploadexec_kernel.h:35
SceSize size
Size of the structure in bytes.
Definition psploadexec_kernel.h:31
u32 vshmain_args_size
The size of the vshmain arguments.
Definition psploadexec_kernel.h:39
char * configfile
"/kd/pspbtcnf_game.txt" or "/kd/pspbtcnf.txt" if not supplied (max.
Definition psploadexec_kernel.h:43
SceSize args
Size of the arguments string.
Definition psploadexec_kernel.h:33
const char * key
The key, usually "game", "updater" or "vsh".
Definition psploadexec_kernel.h:37
u32 unk4
An unknown string (max.
Definition psploadexec_kernel.h:45