I\'m making a small kernel module to provide user-space access to some kernel-mode only features of an ARMv7 chip (specifically, cache control). I\'m reading through Linux Device Drivers by Corbet, Ru
I want to find o开发者_高级运维ut the source file of the Linux kernel (x86, 2.6.18 or similar) that handle the write to /sys/power/state.I googled and try to search sysfs_create_file (and dir) in the
I\'m trying to get hold of CPU architecture information under Linux. 开发者_C百科I understand the information is available via the sysfs filesystem.
from what i\'ve read it seems that one can interact with an interface? eg. lets say that i\'ve got an interface with an empty method \"eat()\"