openMSX
Classes | Functions
openmsx::MemoryOps Namespace Reference

Classes

class  AllocMap
 Aligned memory (de)allocation. More...
 

Functions

void fill_2 (std::span< uint32_t > out, uint32_t val0, uint32_t val1)
 
void * mallocAligned (size_t alignment, size_t size)
 
void freeAligned (void *)
 

Function Documentation

◆ fill_2()

void openmsx::MemoryOps::fill_2 ( std::span< uint32_t >  out,
uint32_t  val0,
uint32_t  val1 
)

Definition at line 16 of file MemoryOps.cc.

References Endian::BIG, and ranges::fill().

Referenced by openmsx::SDLRasterizer::drawBorder().

◆ freeAligned()

void openmsx::MemoryOps::freeAligned ( void *  )

◆ mallocAligned()

void * openmsx::MemoryOps::mallocAligned ( size_t  alignment,
size_t  size 
)