Changeset View
Changeset View
Standalone View
Standalone View
sys/riscv/riscv/vm_machdep.c
| Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | |||||
| #include <vm/vm.h> | #include <vm/vm.h> | ||||
| #include <vm/vm_page.h> | #include <vm/vm_page.h> | ||||
| #include <vm/vm_map.h> | #include <vm/vm_map.h> | ||||
| #include <vm/uma.h> | #include <vm/uma.h> | ||||
| #include <vm/uma_int.h> | #include <vm/uma_int.h> | ||||
| #include <machine/riscvreg.h> | #include <machine/riscvreg.h> | ||||
| #include <machine/cpu.h> | #include <machine/cpu.h> | ||||
| #include <machine/cpufunc.h> | |||||
| #include <machine/pcb.h> | #include <machine/pcb.h> | ||||
| #include <machine/frame.h> | #include <machine/frame.h> | ||||
| #include <machine/sbi.h> | #include <machine/sbi.h> | ||||
| #if __riscv_xlen == 64 | #if __riscv_xlen == 64 | ||||
| #define TP_OFFSET 16 /* sizeof(struct tcb) */ | #define TP_OFFSET 16 /* sizeof(struct tcb) */ | ||||
| #endif | #endif | ||||
| ▲ Show 20 Lines • Show All 208 Lines • ▼ Show 20 Lines | cpu_procctl(struct thread *td __unused, int idtype __unused, id_t id __unused, | ||||
| return (EINVAL); | return (EINVAL); | ||||
| } | } | ||||
| void | void | ||||
| swi_vm(void *v) | swi_vm(void *v) | ||||
| { | { | ||||
| /* Nothing to do here - busdma bounce buffers are not implemented. */ | /* Nothing to do here - busdma bounce buffers are not implemented. */ | ||||
| } | |||||
| void | |||||
| cpu_sync_core(void) | |||||
| { | |||||
| fence_i(); | |||||
| } | } | ||||