Page MenuHomeFreeBSD

riscv: Handle access faults in user mode
ClosedPublic

Authored by kp on Oct 1 2020, 8:33 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 9, 5:54 PM
Unknown Object (File)
Oct 8 2024, 7:50 AM
Unknown Object (File)
Oct 1 2024, 6:34 PM
Unknown Object (File)
Sep 17 2024, 9:00 PM
Unknown Object (File)
Sep 5 2024, 8:58 PM
Unknown Object (File)
Sep 2 2024, 2:40 PM
Unknown Object (File)
Aug 31 2024, 10:23 PM
Unknown Object (File)
Aug 19 2024, 5:17 AM
Subscribers

Details

Summary

Access faults in user mode are treated like TLB misses, which leads to
an endless loop of faults. It's less serious than the same fault in
kernel mode, because we can just terminate the process, but that's not
ideal.

Treat user mode access faults as a bus error.

Sponsored by: Axiado
Suggested by: jrtc27

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable