ReXGlue SDK
Loading...
Searching...
No Matches
mmio.h File Reference

Handlers for GPU and APU register block access. More...

#include <optional>
#include <rex/platform.h>
#include <rex/types.h>

Go to the source code of this file.

Classes

struct  rex::ppc::MMIORecipient

Namespaces

namespace  rex
namespace  rex::ppc

Enumerations

enum class  rex::ppc::MMIOBlock : u8 { rex::ppc::kGPU , rex::ppc::kAPU }

Functions

constexpr u32 rex::ppc::MMIOBlockBase (MMIOBlock block)
constexpr std::optional< MMIOBlock > rex::ppc::MMIOBlockOf (u32 address)
constexpr bool rex::ppc::IsMMIOBlockAddress (u32 address)
REX_PPC_API void rex::ppc::AttachMMIO (MMIOBlock block, const MMIORecipient &recipient)
REX_PPC_API void rex::ppc::DetachMMIO (MMIOBlock block, const void *context)
REX_PPC_API u32 rex::ppc::MMIOLoad32 (u32 address)
REX_PPC_API void rex::ppc::MMIOStore32 (u32 address, u32 value)
REX_PPC_API u8 rex::ppc::MMIOLoad8 (u32 address)
REX_PPC_API u16 rex::ppc::MMIOLoad16 (u32 address)
REX_PPC_API void rex::ppc::MMIONarrowStore (u32 address, u32 size)

Variables

constexpr u32 rex::ppc::kMMIOBlockSize = 0x10000

Detailed Description

Handlers for GPU and APU register block access.

License
BSD 3-Clause License See LICENSE file in the project root for full license text.