openMSX
MemoryOps.hh
Go to the documentation of this file.
1#ifndef MEMORYOPS_HH
2#define MEMORYOPS_HH
3
4#include <cstddef>
5#include <cstdint>
6#include <span>
7
8namespace openmsx::MemoryOps {
9
10 void fill_2(std::span<uint32_t> out, uint32_t val0, uint32_t val1);
11
12 [[nodiscard]] void* mallocAligned(size_t alignment, size_t size);
13 void freeAligned(void* aligned);
14
15} // namespace openmsx::MemoryOps
16
17#endif
void fill_2(std::span< uint32_t > out, uint32_t val0, uint32_t val1)
Definition MemoryOps.cc:16
void * mallocAligned(size_t alignment, size_t size)
Definition MemoryOps.cc:86
void freeAligned(void *)
Definition MemoryOps.cc:116