Go to the documentation of this file.
26 ERROR(
"failed to map I/O memory");
43 for (
u32 val = 0x1ff; val != 0; val >>= 1)
Result map(Address phys, Size size=4096, Memory::Access access=Memory::Readable|Memory::Writable|Memory::User)
Map I/O address space.
static const Size NumberOfCores
Total number of cores supported.
void write(u32 reg, u32 data)
write to memory mapped I/O register
#define PAGESIZE
ARM uses 4K pages.
static const Address IOBase
Physical base memory address of the PRCM module.
void unset(Address addr, u32 data)
Unset bits in memory mapped register.
void setBase(const Address base)
Set memory I/O base offset.
unsigned int u32
Unsigned 32-bit number.
unsigned int Size
Any sane size indicator cannot go negative.
#define ERROR(msg)
Output an error message.
Arch::IO m_io
Memory I/O object.
Result powerOnCore(const Size coreId)
Power on a processor.
Address getBase() const
Get memory I/O base offset.
Result initialize()
Perform initialization.