Page MenuHomeFreeBSD

ntb: Use uintmax_t casts and %j to print physical addresses.
ClosedPublic

Authored by jhb on Sep 27 2022, 5:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 19, 3:27 PM
Unknown Object (File)
Tue, Mar 19, 2:59 PM
Unknown Object (File)
Tue, Mar 19, 2:04 PM
Unknown Object (File)
Feb 20 2024, 6:58 PM
Unknown Object (File)
Dec 22 2023, 10:31 PM
Unknown Object (File)
Sep 28 2023, 9:46 AM
Unknown Object (File)
Aug 28 2023, 5:54 PM
Unknown Object (File)
Aug 28 2023, 5:53 PM
Subscribers

Details

Summary

This fixes -Wint-to-pointer-cast errors with GCC when compiling on
i386 where physical addresses are not the same size as pointers.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable