1#include <core/cpu/cpu.hpp>
2#include <core/interconnect/bus.hpp>
uint16_t read16_cpu(uint32_t addr)
Reads a 16-bit word from the given address.
uint32_t read32_cpu(uint32_t addr)
Reads a 32-bit word from the given address.
void write8_cpu(uint32_t addr, uint8_t data)
Writes a 8-bit word to the given address.
void write32_cpu(uint32_t addr, uint32_t data)
Writes a 32-bit word to the given address.
void write16_cpu(uint32_t addr, uint16_t data)
Writes a 16-bit word to the given address.
uint8_t read8_cpu(uint32_t addr)
Reads a 8-bit word from the given address.
uint8_t read8(uint32_t addr)
Read a 8 bit word from the bus.
void write16(uint32_t addr, uint16_t data)
Write a 16 bit word to the bus.
uint32_t read32(uint32_t addr)
Read a 32 bit word from the bus.
Bus * bus
Pointer to the Bus object.
void write8(uint32_t addr, uint8_t data)
Write a 8 bit word to the bus.
void write32(uint32_t addr, uint32_t data)
Write a 32 bit word to the bus.
uint16_t read16(uint32_t addr)
Read a 16 bit word from the bus.