PSPSDK 2024-12-16
Loading...
Searching...
No Matches
pspmoduleinfo.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _scemoduleinfo
 

Macros

#define PSP_MODULE_INFO(name, attributes, major_version, minor_version)
 
#define PSP_MAIN_THREAD_PRIORITY(priority)    unsigned int sce_newlib_priority = (priority)
 
#define PSP_MAIN_THREAD_STACK_SIZE_KB(size_kb)    unsigned int sce_newlib_stack_kb_size = (size_kb)
 
#define PSP_MAIN_THREAD_ATTR(attr)    unsigned int sce_newlib_attribute = (attr)
 
#define PSP_MAIN_THREAD_ATTRIBUTE   PSP_MAIN_THREAD_ATTR
 
#define PSP_MAIN_THREAD_PARAMS(priority, size_kb, attribute)
 
#define PSP_NO_CREATE_MAIN_THREAD()    int sce_newlib_nocreate_thread_in_start = 1
 
#define PSP_HEAP_SIZE_KB(size_kb)    int sce_newlib_heap_kb_size = (size_kb)
 
#define PSP_HEAP_THRESHOLD_SIZE_KB(size_kb)    int sce_newlib_heap_threshold_kb_size = (size_kb)
 
#define PSP_MAIN_THREAD_NAME(s)   const char* sce_newlib_main_thread_name = (s)
 
#define PSP_DISABLE_NEWLIB()
 
#define PSP_DISABLE_AUTOSTART_PTHREAD()    void __libpthreadglue_init() {}
 

Typedefs

typedef struct _scemoduleinfo _sceModuleInfo
 
typedef const _sceModuleInfo SceModuleInfo
 

Enumerations

enum  PspModuleInfoAttr {
  PSP_MODULE_USER = 0 , PSP_MODULE_NO_STOP = 0x0001 , PSP_MODULE_SINGLE_LOAD = 0x0002 , PSP_MODULE_SINGLE_START = 0x0004 ,
  PSP_MODULE_KERNEL = 0x1000
}
 

Variables

char _gp []
 

Macro Definition Documentation

◆ PSP_DISABLE_AUTOSTART_PTHREAD

#define PSP_DISABLE_AUTOSTART_PTHREAD ( )     void __libpthreadglue_init() {}

◆ PSP_DISABLE_NEWLIB

#define PSP_DISABLE_NEWLIB ( )
Value:
void __libcglue_init(int argc, char *argv[]) {} \
void __libcglue_init(int argc, char *argv[])
void __libcglue_deinit()
float x
Definition psptypes.h:0

◆ PSP_HEAP_SIZE_KB

#define PSP_HEAP_SIZE_KB (   size_kb)     int sce_newlib_heap_kb_size = (size_kb)

◆ PSP_HEAP_THRESHOLD_SIZE_KB

#define PSP_HEAP_THRESHOLD_SIZE_KB (   size_kb)     int sce_newlib_heap_threshold_kb_size = (size_kb)

◆ PSP_MAIN_THREAD_ATTR

#define PSP_MAIN_THREAD_ATTR (   attr)     unsigned int sce_newlib_attribute = (attr)

◆ PSP_MAIN_THREAD_ATTRIBUTE

#define PSP_MAIN_THREAD_ATTRIBUTE   PSP_MAIN_THREAD_ATTR

◆ PSP_MAIN_THREAD_NAME

#define PSP_MAIN_THREAD_NAME (   s)    const char* sce_newlib_main_thread_name = (s)

◆ PSP_MAIN_THREAD_PARAMS

#define PSP_MAIN_THREAD_PARAMS (   priority,
  size_kb,
  attribute 
)
Value:
unsigned short attribute
Definition psploadcore.h:1
#define PSP_MAIN_THREAD_PRIORITY(priority)
Definition pspmoduleinfo.h:74

◆ PSP_MAIN_THREAD_PRIORITY

#define PSP_MAIN_THREAD_PRIORITY (   priority)     unsigned int sce_newlib_priority = (priority)

◆ PSP_MAIN_THREAD_STACK_SIZE_KB

#define PSP_MAIN_THREAD_STACK_SIZE_KB (   size_kb)     unsigned int sce_newlib_stack_kb_size = (size_kb)

◆ PSP_MODULE_INFO

#define PSP_MODULE_INFO (   name,
  attributes,
  major_version,
  minor_version 
)
Value:
extern char __lib_ent_top[], __lib_ent_bottom[]; \
extern char __lib_stub_top[], __lib_stub_bottom[]; \
__attribute__((section(".rodata.sceModuleInfo"), \
aligned(16), unused)) = { \
}
char _gp[]
char * name
Definition pspsysmem_kernel.h:4
Definition pspmoduleinfo.h:21

◆ PSP_NO_CREATE_MAIN_THREAD

#define PSP_NO_CREATE_MAIN_THREAD ( )     int sce_newlib_nocreate_thread_in_start = 1

Typedef Documentation

◆ _sceModuleInfo

◆ SceModuleInfo

Enumeration Type Documentation

◆ PspModuleInfoAttr

Enumerator
PSP_MODULE_USER 
PSP_MODULE_NO_STOP 
PSP_MODULE_SINGLE_LOAD 
PSP_MODULE_SINGLE_START 
PSP_MODULE_KERNEL 

Variable Documentation

◆ _gp

char _gp[]
extern