This change adds a new libkvm function, kvm_kerndisp(), that can be used to retrieve the kernel displacement (current/load address minus original base address).
This would be used by kgdb, to find out how to relocate kernel symbols (if needed).
Differential D23285
Implement kvm_kerndisp luporl on Jan 20 2020, 7:20 PM. Authored by Tags None Referenced Files
Details
This change adds a new libkvm function, kvm_kerndisp(), that can be used to retrieve the kernel displacement (current/load address minus original base address). This would be used by kgdb, to find out how to relocate kernel symbols (if needed).
Diff Detail
Event Timeline
Comment Actions Address review's comments
|