pspsdk-1.0+beta2
Main Page
Modules
Data Structures
Files
File List
Globals
psploadexec_kernel.h
Go to the documentation of this file.
1
/*
2
* PSP Software Development Kit - http://www.pspdev.org
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
* $Id$
11
*/
12
13
#ifndef PSPLOADEXEC_KERNEL_H
14
#define PSPLOADEXEC_KERNEL_H
15
16
#include <
pspkerneltypes.h
>
17
#include <
psploadexec.h
>
18
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
28
30
struct
SceKernelLoadExecVSHParam
{
32
SceSize
size
;
34
SceSize
args
;
36
void
*
argp
;
38
const
char
*
key
;
40
u32
vshmain_args_size
;
42
void
*
vshmain_args
;
44
char
*
configfile
;
46
u32
unk4
;
48
u32
unk5
;
49
};
50
51
#if _PSP_FW_VERSION < 200
52
61
int
sceKernelLoadExecBufferPlain
(
SceSize
bufsize,
void
*buf,
struct
SceKernelLoadExecParam
*param);
62
#endif
63
74
int
sceKernelExitVSHVSH
(
struct
SceKernelLoadExecVSHParam
*param);
75
76
#if _PSP_FW_VERSION >= 200
77
87
int
sceKernelExitVSHKernel(
struct
SceKernelLoadExecVSHParam
*param);
88
#endif
89
99
int
sceKernelLoadExecVSHDisc
(
const
char
*file,
struct
SceKernelLoadExecVSHParam
*param);
100
110
int
sceKernelLoadExecVSHDiscUpdater
(
const
char
*file,
struct
SceKernelLoadExecVSHParam
*param);
111
121
int
sceKernelLoadExecVSHMs1
(
const
char
*file,
struct
SceKernelLoadExecVSHParam
*param);
122
132
int
sceKernelLoadExecVSHMs2
(
const
char
*file,
struct
SceKernelLoadExecVSHParam
*param);
133
143
int
sceKernelLoadExecVSHMs3
(
const
char
*file,
struct
SceKernelLoadExecVSHParam
*param);
144
145
#if _PSP_FW_VERSION >= 300
146
/***
147
* Executes a new executable from a memory stick.
148
* It is the function used by the firmware to execute psx games
149
*
150
* @param file - The file to execute.
151
* @param param - Pointer to a ::SceKernelLoadExecVSHParam structure, or NULL.
152
*
153
* @return < 0 on some errors.
154
* @note - Available since firmware 3.00
155
*/
156
int
sceKernelLoadExecVSHMs4(
const
char
*file,
struct
SceKernelLoadExecVSHParam
*param);
157
#endif
158
161
#ifdef __cplusplus
162
}
163
#endif
164
165
#endif
src
kernel
psploadexec_kernel.h
Generated on Sat Apr 9 2016 07:00:25 for pspsdk-1.0+beta2 by
1.8.1.2