MCPcopy Create free account
hub / github.com/F-Stack/f-stack / vfp_enable

Function vfp_enable

freebsd/arm64/arm64/vfp.c:60–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58};
59
60static void
61vfp_enable(void)
62{
63 uint32_t cpacr;
64
65 cpacr = READ_SPECIALREG(cpacr_el1);
66 cpacr = (cpacr & ~CPACR_FPEN_MASK) | CPACR_FPEN_TRAP_NONE;
67 WRITE_SPECIALREG(cpacr_el1, cpacr);
68 isb();
69}
70
71static void
72vfp_disable(void)

Callers 2

vfp_restore_stateFunction · 0.85
fpu_kern_enterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected