]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
RISC-V: use physmem to manage physical memory
authormhorne <mhorne@FreeBSD.org>
Sun, 19 Apr 2020 00:18:16 +0000 (00:18 +0000)
committermhorne <mhorne@FreeBSD.org>
Sun, 19 Apr 2020 00:18:16 +0000 (00:18 +0000)
commit6acffac915c37823670fc83a6b6ef9923276bd93
tree0dc9b53357538d389d2c0923a6d218c3f69d5c9c
parent9957fe200822f42487e225996f7289f548394e09
RISC-V: use physmem to manage physical memory

Replace our hand-rolled functions with the generic ones provided by
kern/subr_physmem.c. This greatly simplifies the initialization of
physical memory regions and kernel globals.

Tested by: nick
Differential Revision: https://reviews.freebsd.org/D24154
sys/conf/files.riscv
sys/riscv/include/machdep.h
sys/riscv/riscv/machdep.c
sys/riscv/riscv/pmap.c