RetroArch
Classes | Macros | Typedefs | Functions
lwp_objmgr.h File Reference
#include <gctypes.h>
#include "lwp_queue.h"
Include dependency graph for lwp_objmgr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _lwp_obj
 
struct  _lwp_objinfo
 

Macros

#define LWP_OBJMASKTYPE(type)   ((type)<<16)
 
#define LWP_OBJMASKID(id)   ((id)&0xffff)
 
#define LWP_OBJTYPE(id)   ((id)>>16)
 

Typedefs

typedef struct _lwp_objinfo lwp_objinfo
 
typedef struct _lwp_obj lwp_obj
 

Functions

void __lwp_objmgr_initinfo (lwp_objinfo *info, u32 max_nodes, u32 node_size)
 
void __lwp_objmgr_free (lwp_objinfo *info, lwp_obj *object)
 
lwp_obj__lwp_objmgr_allocate (lwp_objinfo *info)
 
lwp_obj__lwp_objmgr_get (lwp_objinfo *info, u32 id)
 
lwp_obj__lwp_objmgr_getisrdisable (lwp_objinfo *info, u32 id, u32 *p_level)
 
lwp_obj__lwp_objmgr_getnoprotection (lwp_objinfo *info, u32 id)
 

Macro Definition Documentation

◆ LWP_OBJMASKID

#define LWP_OBJMASKID (   id)    ((id)&0xffff)

◆ LWP_OBJMASKTYPE

#define LWP_OBJMASKTYPE (   type)    ((type)<<16)

◆ LWP_OBJTYPE

#define LWP_OBJTYPE (   id)    ((id)>>16)

Typedef Documentation

◆ lwp_obj

typedef struct _lwp_obj lwp_obj

◆ lwp_objinfo

typedef struct _lwp_objinfo lwp_objinfo

Function Documentation

◆ __lwp_objmgr_allocate()

lwp_obj* __lwp_objmgr_allocate ( lwp_objinfo info)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __lwp_objmgr_free()

void __lwp_objmgr_free ( lwp_objinfo info,
lwp_obj object 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __lwp_objmgr_get()

lwp_obj* __lwp_objmgr_get ( lwp_objinfo info,
u32  id 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __lwp_objmgr_getisrdisable()

lwp_obj* __lwp_objmgr_getisrdisable ( lwp_objinfo info,
u32  id,
u32 p_level 
)
Here is the caller graph for this function:

◆ __lwp_objmgr_getnoprotection()

lwp_obj* __lwp_objmgr_getnoprotection ( lwp_objinfo info,
u32  id 
)
Here is the caller graph for this function:

◆ __lwp_objmgr_initinfo()

void __lwp_objmgr_initinfo ( lwp_objinfo info,
u32  max_nodes,
u32  node_size 
)
Here is the call graph for this function:
Here is the caller graph for this function: