How LKM A can call functions exported by LKM B?
When LKM B is loaded, Exported symbols are registered to system symbol table in Linux kernel.
When LKM A is loaded, system do binary search in system symbol table and other modules' symbol table to resolve symbols referenced by LKM A.
Reference
https://www.slideshare.net/shimosawa/nlkb20150221
Subscribe to:
Post Comments (Atom)
Post Code on Blogger
Simplest way to post code to blogger for me: <pre style="background: #f0f0f0; border: 1px dashed #CCCCCC; color: black;overflow-x:...
-
Explain There is not interrupt PIN for PCIe interrupt. When device wants to raise an interrupt, an interrupt message is sent to host via ...
-
Configure Space Addressing One of the major improvements the PCI Local Bus had over other I/O architectures was its configuration mechanism...
-
What is LMA and VMA Every loadable or allocatable output section has two addresses. The first is the VMA, or virtual memory address. This ...
No comments:
Post a Comment