]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r350095:
authorKristof Provost <kp@FreeBSD.org>
Wed, 24 Jul 2019 11:34:10 +0000 (11:34 +0000)
committerKristof Provost <kp@FreeBSD.org>
Wed, 24 Jul 2019 11:34:10 +0000 (11:34 +0000)
commitd1d9b4db4da7548f4c45c1d97cf1bbc9d666d218
tree8bef8fe030b11ef54881f1319a3045b39fb13a4d
parent0dbe011e2d05c74a7daf20e2e1bbf40ee7327923
MFC r350095:

riscv: Return vm_paddr_t in pmap_early_vtophys()

We can't use a u_int to compute the physical address in
pmap_early_vtophys(). Our int is 32-bit, but the physical address is
64-bit. This works fine if everything lives below 0x100000000, but as
soon as it doesn't this breaks.

Sponsored by: Axiado
sys/riscv/riscv/pmap.c