Page MenuHomeFreeBSD

[ppc64] fix /dev/kmem
ClosedPublic

Authored by luporl on Feb 5 2019, 6:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 17 2024, 10:45 AM
Unknown Object (File)
Oct 17 2024, 2:25 AM
Unknown Object (File)
Oct 17 2024, 2:24 AM
Unknown Object (File)
Oct 17 2024, 2:24 AM
Unknown Object (File)
Oct 17 2024, 1:52 AM
Unknown Object (File)
Oct 4 2024, 4:42 PM
Unknown Object (File)
Sep 14 2024, 9:54 AM
Unknown Object (File)
Sep 5 2024, 1:56 AM

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