這是本文件的舊版!
Show Physical Memory Address of the kernel module
Introduction
我希望透過寫一個kernel module,做以下事情:
- 宣告一個global variable。
- init時,初始此variable。
- 執行file_operations: open時,會打印出此變數的實體記憶體位置。
- exit時,釋放此variable。
cpp:linux_kernel:show_physical_address
這是本文件的舊版!
我希望透過寫一個kernel module,做以下事情: