linux kernel - Undefined Instruction handler -


i need handle undefined instruction exception in loadable kernel module. use register_undef_hook(&my_undef_hook) in module initialization. have such compile error:

... building modules, stage 2. modpost 1 modules warning: "register_undef_hook" [/home/user/my_driver.ko] undefined! warning: "unregister_undef_hook" [/home/user/my_driver.ko] undefined! ... 

i wonder, can use these functions in kernel modules?

these functions not exported (aka, there no export_symbol(register_undef_hook)) not usable in modules code.

you have more details here


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -