static Size copy(void *dest, const void *src, Size count)
Copy memory from one place to another.
#define ARM_EX_VECTAB_SIZE
Size of the ARM exception vector table in bytes.
unsigned long Address
A memory address.
#define vbar_set(addr)
Change Vector Base Address (VBAR)
ARMException(Address base)
Constructor.
#define sysctrl_write(val)
Write System Control register.
Result install(ExceptionType vector, Handler handler)
Install an exception handler.
unsigned int u32
Unsigned 32-bit number.
#define sysctrl_read()
Read System Control register.
void Handler(struct CPUState state)
Function which is called when the CPU is interrupted.
Address m_vecTable
ARM exception vector jump table.
ExceptionType
ARM exception types.