]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ofw: ofw_reg_to_paddr: Use a 256 static array for the cell
authormanu <manu@FreeBSD.org>
Wed, 7 Aug 2019 13:13:16 +0000 (13:13 +0000)
committermanu <manu@FreeBSD.org>
Wed, 7 Aug 2019 13:13:16 +0000 (13:13 +0000)
commitce829d4df11536c0945abe1732559e3aab89018c
tree620e56c62125eaeb5745d61d04c627aa4323c434
parentc9b353ac636c711f945b254c08602305b24dd775
ofw: ofw_reg_to_paddr: Use a 256 static array for the cell

Some hardware needs more than 32, bump this value.

We cannot use the _alloc for of getencprop as this function is called
too early in the boot before pmap is initialized and we only have
2k of stack when cninit is called.

Discussed with:     ian
sys/dev/ofw/ofw_subr.c