Home
last modified time | relevance | path

Searched refs:far (Results 1 – 3 of 3) sorted by relevance

/kvm-unit-tests/lib/arm/
H A Dprocessor.c104 unsigned long far, fsr; in do_handle_exception() local
105 asm volatile("mrc p15, 0, %0, c6, c0, 0": "=r" (far)); in do_handle_exception()
107 printf("DFAR: %08lx DFSR: %08lx\n", far, fsr); in do_handle_exception()
109 unsigned long far, fsr; in do_handle_exception() local
110 asm volatile("mrc p15, 0, %0, c6, c0, 2": "=r" (far)); in do_handle_exception()
112 printf("IFAR: %08lx IFSR: %08lx\n", far, fsr); in do_handle_exception()
/kvm-unit-tests/lib/arm64/
H A Dprocessor.c82 bool get_far(unsigned int esr, unsigned long *far) in get_far() argument
86 asm volatile("mrs %0, far_el1": "=r" (*far)); in get_far()
108 unsigned long far; in bad_exception() local
109 bool far_valid = get_far(esr, &far); in bad_exception()
133 printf("FAR_EL1: %016lx (%svalid)\n", far, far_valid ? "" : "not "); in bad_exception()
/kvm-unit-tests/lib/arm64/asm/
H A Dprocessor.h52 extern bool get_far(unsigned int esr, unsigned long *far);