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

Function read_adfsr

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

read auxiliary data fault status register (ADFSR) */

Source from the content-addressed store, hash-verified

301
302/* read auxiliary data fault status register (ADFSR) */
303static inline uint32_t read_adfsr(void)
304{
305 uint32_t val;
306 asm volatile ("mrc p15, 0, %0, c5, c1, 0" : "=r" (val));
307 return val;
308}
309
310/* read auxiliary instruction fault status register (AIFSR) */
311static inline uint32_t read_aifsr(void)

Callers 1

exception_dispatchFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected