Page MenuHomeFreeBSD

[ppc64] fix /dev/kmem
ClosedPublic

Authored by luporl on Feb 5 2019, 6:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Aug 27, 2:33 AM
Unknown Object (File)
Tue, Aug 25, 4:27 AM
Unknown Object (File)
Tue, Aug 25, 4:15 AM
Unknown Object (File)
Sat, Aug 22, 12:06 PM
Unknown Object (File)
Tue, Aug 18, 6:45 PM
Unknown Object (File)
Tue, Aug 11, 6:27 AM
Unknown Object (File)
Mon, Aug 10, 4:23 PM
Unknown Object (File)
Mon, Aug 10, 3:34 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 Passed
Unit
No Test Coverage
Build Status
Buildable 22354
Build 21529: arc lint + arc unit