]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Implement pmap_sync_icache().
authorJohn Baldwin <jhb@FreeBSD.org>
Mon, 24 Sep 2018 17:41:29 +0000 (17:41 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Mon, 24 Sep 2018 17:41:29 +0000 (17:41 +0000)
commit7a102e0463121db1249f4bb06aba7e120e7e6b84
tree322edda84409dc36b2f9cf2bcc631baebae3d137
parentcf4a52cf6745dd7546f0aaec1485c522a0424319
Implement pmap_sync_icache().

This invokes "fence" on the hart performing the write followed by an IPI
to execute "fence.i" on all harts.

This is required to support userland debuggers setting breakpoints in
user processes.

Reviewed by: br (earlier version), markj
Approved by: re (gjb)
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D17139
sys/riscv/riscv/pmap.c