pspsdk-1.0+beta2
Main Page
Modules
Data Structures
Files
File List
Globals
pspsysmem.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
* pspsysmem.h - Interface to the system memory manager.
7
*
8
* Copyright (c) 2005 Marcus R. Brown <mrbrown@ocgnet.org>
9
*
10
* $Id: pspsysmem.h 2433 2008-10-15 10:00:27Z iwn $
11
*/
12
13
/* Note: Some of the structures, types, and definitions in this file were
14
extrapolated from symbolic debugging information found in the Japanese
15
version of Puzzle Bobble. */
16
17
#ifndef PSPSYSMEM_H
18
#define PSPSYSMEM_H
19
20
#include <
pspkerneltypes.h
>
21
28
29
#ifdef __cplusplus
30
extern
"C"
{
31
#endif
32
34
enum
PspSysMemBlockTypes
{
36
PSP_SMEM_Low
= 0,
38
PSP_SMEM_High
,
40
PSP_SMEM_Addr
41
};
42
43
typedef
int
SceKernelSysMemAlloc_t
;
44
56
SceUID
sceKernelAllocPartitionMemory
(
SceUID
partitionid,
const
char
*
name
,
int
type
,
SceSize
size
,
void
*addr);
57
65
int
sceKernelFreePartitionMemory
(
SceUID
blockid);
66
74
void
*
sceKernelGetBlockHeadAddr
(
SceUID
blockid);
75
81
SceSize
sceKernelTotalFreeMemSize
(
void
);
82
88
SceSize
sceKernelMaxFreeMemSize
(
void
);
89
104
int
sceKernelDevkitVersion
(
void
);
105
106
#if _PSP_FW_VERSION >= 150
107
114
void
sceKernelPrintf(
const
char
*format, ...)
__attribute__
((format(
printf
, 1, 2)));
115
116
#endif
117
118
#ifdef __cplusplus
119
}
120
#endif
121
124
#endif
/* PSPSYSMEM_H */
src
user
pspsysmem.h
Generated on Sat Apr 9 2016 07:00:25 for pspsdk-1.0+beta2 by
1.8.1.2