Page MenuHomeFreeBSD

[ppc64] fix /dev/kmem
ClosedPublic

Authored by luporl on Feb 5 2019, 6:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 22, 6:51 AM
Unknown Object (File)
Fri, Apr 19, 3:55 AM
Unknown Object (File)
Feb 1 2024, 11:20 AM
Unknown Object (File)
Jan 29 2024, 3:18 PM
Unknown Object (File)
Jan 6 2024, 3:47 PM
Unknown Object (File)
Dec 20 2023, 8:54 PM
Unknown Object (File)
Dec 20 2023, 2:24 AM
Unknown Object (File)
Nov 14 2023, 8:22 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