Go to the documentation of this file.
29 ERROR(
"failed to map I/O memory");
39 DEBUG(
"clock = " << (
int) clock);
57 ERROR(
"unsupported clock: " << (
int) clock);
67 DEBUG(
"reset = " << (
int) reset);
85 ERROR(
"unsupported reset: " << (
int) reset);
Result initialize()
Perform initialization.
Result map(Address phys, Size size=4096, Memory::Access access=Memory::Readable|Memory::Writable|Memory::User)
Map I/O address space.
#define PAGESIZE
ARM uses 4K pages.
Result enable(const Clock clock)
Enable a clock.
static const Address IOBase
Physical base memory address of the CCU module.
void setBase(const Address base)
Set memory I/O base offset.
#define DEBUG(msg)
Output a debug message to standard output.
unsigned int u32
Unsigned 32-bit number.
Reset
Reset signal identifiers.
Result deassert(const Reset reset)
De-assert a reset signal.
#define ERROR(msg)
Output an error message.
void set(Address addr, u32 data)
Set bits in memory mapped register.
Address getBase() const
Get memory I/O base offset.
Arch::IO m_io
Memory I/O object.