PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
xsysmem.h File Reference
#include <sysmem.h>
+ Include dependency graph for xsysmem.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  sysmem_meminfo_
 
struct  sysmem_blockinfo_
 
union  sysmem_info_
 

Macros

#define xsysmem_IMPORTS_start   DECLARE_IMPORT_TABLE(sysmem, 1, 2)
 
#define xsysmem_IMPORTS_end   END_IMPORT_TABLE
 
#define I_GetSysMemoryInfo   DECLARE_IMPORT(11, GetSysMemoryInfo)
 

Typedefs

typedef struct sysmem_meminfo_ sysmem_meminfo_t
 
typedef struct sysmem_blockinfo_ sysmem_blockinfo_t
 
typedef union sysmem_info_ sysmem_info_t
 

Functions

void GetSysMemoryInfo (int flag, sysmem_info_t *info)
 

Detailed Description

Additional sysmem functions only found in newer IOPRP images

Definition in file xsysmem.h.


Data Structure Documentation

◆ sysmem_meminfo_

struct sysmem_meminfo_

Definition at line 28 of file xsysmem.h.

+ Collaboration diagram for sysmem_meminfo_:
Data Fields
int allocation_count
int memsize
sysmem_alloc_table_t * memlist_last
sysmem_alloc_table_t * memlist_first

◆ sysmem_blockinfo_

struct sysmem_blockinfo_

Definition at line 36 of file xsysmem.h.

+ Collaboration diagram for sysmem_blockinfo_:
Data Fields
void * block_address
u32 flags_memsize
void * unused08
sysmem_alloc_table_t * table_info

◆ sysmem_info_

union sysmem_info_

Definition at line 48 of file xsysmem.h.

+ Collaboration diagram for sysmem_info_:
Data Fields
sysmem_blockinfo_t blockinfo
sysmem_meminfo_t meminfo

Macro Definition Documentation

◆ xsysmem_IMPORTS_start

#define xsysmem_IMPORTS_start   DECLARE_IMPORT_TABLE(sysmem, 1, 2)

Definition at line 25 of file xsysmem.h.

◆ xsysmem_IMPORTS_end

#define xsysmem_IMPORTS_end   END_IMPORT_TABLE

Definition at line 26 of file xsysmem.h.

◆ I_GetSysMemoryInfo

#define I_GetSysMemoryInfo   DECLARE_IMPORT(11, GetSysMemoryInfo)

Definition at line 56 of file xsysmem.h.

Function Documentation

◆ GetSysMemoryInfo()

void GetSysMemoryInfo ( int  flag,
sysmem_info_t info 
)

Definition at line 259 of file sysmem.c.