]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
SBI calls expect a pointer to a u_long rather than a pointer.
authorjhb <jhb@FreeBSD.org>
Thu, 1 Nov 2018 22:15:25 +0000 (22:15 +0000)
committerjhb <jhb@FreeBSD.org>
Thu, 1 Nov 2018 22:15:25 +0000 (22:15 +0000)
commit3fd117de79a9497afd700b1d98912c6cf1538e0b
treea7727215bf61ec79ba2293521cb2804203b0690c
parent725315c40fa431f7e6269bacdfafcffe508bdec2
SBI calls expect a pointer to a u_long rather than a pointer.

This is just cosmetic.

A weirder issue is that the SBI doc claims the hart mask pointer should
be a physical address, not a virtual address.  However, the implementation
in bbl seems to just dereference the address directly.

Reviewed by: markj
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D17781
sys/riscv/riscv/intr_machdep.c
sys/riscv/riscv/mp_machdep.c