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)
Oct 3 2024, 3:17 PM
Unknown Object (File)
Sep 18 2024, 7:45 PM
Unknown Object (File)
Sep 18 2024, 11:50 AM
Unknown Object (File)
Sep 18 2024, 8:07 AM
Unknown Object (File)
Sep 17 2024, 4:39 PM
Unknown Object (File)
Sep 17 2024, 12:03 PM
Unknown Object (File)
Sep 17 2024, 1:27 AM
Unknown Object (File)
Sep 15 2024, 10:57 AM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 47566
Build 44453: arc lint + arc unit