Page MenuHomeFreeBSD

[ppc64] fix /dev/kmem
ClosedPublic

Authored by luporl on Feb 5 2019, 6:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 4 2025, 2:30 PM
Unknown Object (File)
Aug 10 2025, 6:04 AM
Unknown Object (File)
Aug 2 2025, 8:00 PM
Unknown Object (File)
Jul 28 2025, 3:59 AM
Unknown Object (File)
Jul 27 2025, 11:31 AM
Unknown Object (File)
Jun 24 2025, 6:03 AM
Unknown Object (File)
Jun 22 2025, 8:08 AM
Unknown Object (File)
Jun 21 2025, 3:44 PM

Details

Summary

For direct mapped kernel addresses, ppc64 function was not
performing the dmap to physical conversion, before jumping
to the code that fetched the value from physical memory.

Test Plan

This issue was found while trying to use ktrdump, which was failing to fetch values from /dev/kmem.
With this change, it works properly.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable