openMSX
utils
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
8
namespace
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
openmsx::MemoryOps
Definition
MemoryOps.cc:14
openmsx::MemoryOps::fill_2
void fill_2(std::span< uint32_t > out, uint32_t val0, uint32_t val1)
Definition
MemoryOps.cc:16
openmsx::MemoryOps::mallocAligned
void * mallocAligned(size_t alignment, size_t size)
Definition
MemoryOps.cc:86
openmsx::MemoryOps::freeAligned
void freeAligned(void *)
Definition
MemoryOps.cc:116
Generated on Thu Dec 19 2024 23:13:46 for openMSX by
1.9.8