]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix 64-bit build of libofw.
authorBrandon Bergren <bdragon@FreeBSD.org>
Tue, 8 Sep 2020 23:22:11 +0000 (23:22 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Fri, 8 Oct 2021 05:24:29 +0000 (00:24 -0500)
commitd48dfb33181f6ec9f48805dee4bec55290318641
tree80df8db4e32180ef450a292b904f3306b5ebfc0e
parentce416dfad5c8b036820a11c2ada65c68e9d4f928
Fix 64-bit build of libofw.

Adjust a couple of printf() lines that deal with dumping out addresses
to cast to uintmax_t.

This allows building a 64-bit libofw for use in things like a future
Petitboot loader for PowerPC64, and other FDT platforms that require
a 64-bit loader binary and want to use forth.

Sponsored by: Tag1 Consulting, Inc.

(cherry picked from commit 3e91d8268ff7ad4ca543d720f66525e6f114fb12)
stand/libofw/ofw_memory.c