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

Function read_dfar

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

read data fault address register (DFAR) */

Source from the content-addressed store, hash-verified

269
270/* read data fault address register (DFAR) */
271static inline uint32_t read_dfar(void)
272{
273 uint32_t val;
274 asm volatile ("mrc p15, 0, %0, c6, c0, 0" : "=r" (val));
275 return val;
276}
277
278/* read data fault status register (DFSR) */
279static inline uint32_t read_dfsr(void)

Callers 1

exception_dispatchFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected