OXYGENHUB
◆ main openmsx / src / utils / MemoryOps.hh
344 B · C++ · last changed chore(): initial commit 1 month ago source blame history raw
e8555c89 Andy McCall 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