* Flush the D-cache for non-DMA I/O so that the I-cache can * be made coherent later. */
| 218 | * be made coherent later. |
| 219 | */ |
| 220 | void |
| 221 | cpu_flush_dcache(void *ptr, size_t len) |
| 222 | { |
| 223 | |
| 224 | dcache_wb_poc((vm_offset_t)ptr, (vm_paddr_t)vtophys(ptr), len); |
| 225 | } |
| 226 | |
| 227 | /* Get current clock frequency for the given cpu id. */ |
| 228 | int |
nothing calls this directly
no test coverage detected