CVS commit: src/sys/arch/riscv

"Nick Hudson" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	skrll
Date:		Wed Mar 18 06:41:41 UTC 2026

Modified Files:
	src/sys/arch/riscv/conf: files.riscv
	src/sys/arch/riscv/include: cpufunc.h pmap.h
	src/sys/arch/riscv/riscv: cpu.c pmap_machdep.c riscv_machdep.c
Added Files:
	src/sys/arch/riscv/riscv: cpufunc.c

Log Message:
risc-v: handle T-Head L1 caches

Provide and use hooks for L1 cache operations on the T-Head processors.

Re-worked from diffs provided by Rui-Xiang Guo via port-riscv.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/riscv/conf/files.riscv
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/riscv/include/cpufunc.h
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/riscv/include/pmap.h
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/riscv/riscv/cpu.c
cvs rdiff -u -r0 -r1.1 src/sys/arch/riscv/riscv/cpufunc.c
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/riscv/riscv/pmap_machdep.c
cvs rdiff -u -r1.47 -r1.48 src/sys/arch/riscv/riscv/riscv_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.