MCPcopy Create free account
hub / github.com/coreboot/coreboot / read_ifar

Function read_ifar

payloads/libpayload/include/arm/arch/cache.h:287–292  ·  view source on GitHub ↗

read instruction fault address register (IFAR) */

Source from the content-addressed store, hash-verified

285
286/* read instruction fault address register (IFAR) */
287static inline uint32_t read_ifar(void)
288{
289 uint32_t val;
290 asm volatile ("mrc p15, 0, %0, c6, c0, 2" : "=r" (val));
291 return val;
292}
293
294/* read instruction fault status register (IFSR) */
295static inline uint32_t read_ifsr(void)

Callers 1

exception_dispatchFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected