Nugget
Bare-metal libraries and examples for the original PlayStation
Loading...
Searching...
No Matches
Classes | Macros | Enumerations | Functions
allocdesc.h File Reference
#include <stdint.h>
#include "pcsxcmd.h"
Include dependency graph for allocdesc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pcsx_AllocEntry
 
struct  pcsx_AllocDescriptor
 
struct  pcsx_AllocReport
 

Macros

#define PCSX_ALLOCARG_NONE   0xff
 

Enumerations

enum  pcsx_AllocEntryKind {
  PCSX_ALLOC_KIND_END = 0 , PCSX_ALLOC_KIND_ALLOC = 1 , PCSX_ALLOC_KIND_CALLOC = 2 , PCSX_ALLOC_KIND_REALLOC = 3 ,
  PCSX_ALLOC_KIND_FREE = 4 , PCSX_ALLOC_KIND_INIT = 5
}
 
enum  pcsx_AllocFinding {
  PCSX_ALLOCFINDING_DOUBLE_OR_UNKNOWN_FREE = 0 , PCSX_ALLOCFINDING_INTERIOR_FREE = 1 , PCSX_ALLOCFINDING_UNKNOWN_REALLOC = 2 , PCSX_ALLOCFINDING_OVERLAP = 3 ,
  PCSX_ALLOCFINDING_FAILED_ALLOC = 4 , PCSX_ALLOCFINDING_ZERO_SIZE = 5 , PCSX_ALLOCFINDING_COUNT = 6
}
 

Functions

PCSX_INLINE void pcsx_allocReportInit (struct pcsx_AllocReport *report, uint32_t arenaIndex)
 
PCSX_INLINE void pcsx_allocDescriptorInit (struct pcsx_AllocDescriptor *descriptor, uint32_t count)
 

Macro Definition Documentation

◆ PCSX_ALLOCARG_NONE

#define PCSX_ALLOCARG_NONE   0xff

Enumeration Type Documentation

◆ pcsx_AllocEntryKind

Enumerator
PCSX_ALLOC_KIND_END 
PCSX_ALLOC_KIND_ALLOC 
PCSX_ALLOC_KIND_CALLOC 
PCSX_ALLOC_KIND_REALLOC 
PCSX_ALLOC_KIND_FREE 
PCSX_ALLOC_KIND_INIT 

◆ pcsx_AllocFinding

Enumerator
PCSX_ALLOCFINDING_DOUBLE_OR_UNKNOWN_FREE 
PCSX_ALLOCFINDING_INTERIOR_FREE 
PCSX_ALLOCFINDING_UNKNOWN_REALLOC 
PCSX_ALLOCFINDING_OVERLAP 
PCSX_ALLOCFINDING_FAILED_ALLOC 
PCSX_ALLOCFINDING_ZERO_SIZE 
PCSX_ALLOCFINDING_COUNT 

Function Documentation

◆ pcsx_allocDescriptorInit()

PCSX_INLINE void pcsx_allocDescriptorInit ( struct pcsx_AllocDescriptor *  descriptor,
uint32_t  count 
)

◆ pcsx_allocReportInit()

PCSX_INLINE void pcsx_allocReportInit ( struct pcsx_AllocReport *  report,
uint32_t  arenaIndex 
)