pspsdk-1.0+beta2
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 
41 };
42 
44 
56 SceUID sceKernelAllocPartitionMemory(SceUID partitionid, const char *name, int type, SceSize size, void *addr);
57 
66 
74 void * sceKernelGetBlockHeadAddr(SceUID blockid);
75 
82 
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 */