Page MenuHomeFreeBSD

[ppc64] fix /dev/kmem
ClosedPublic

Authored by luporl on Feb 5 2019, 6:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Feb 8, 10:09 AM
Unknown Object (File)
Sun, Feb 8, 5:43 AM
Unknown Object (File)
Sat, Jan 31, 4:39 AM
Unknown Object (File)
Jan 14 2026, 3:31 PM
Unknown Object (File)
Dec 28 2025, 7:03 AM
Unknown Object (File)
Dec 25 2025, 10:19 PM
Unknown Object (File)
Nov 30 2025, 1:23 PM
Unknown Object (File)
Nov 25 2025, 7:40 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