Jump to content
OMRON Forums

Purpose of useralgo.so?


Recommended Posts

When writing user phase code, I have noticed that the IDE compiles both a .ko and .so version of useralgo. The problem is if I use kernel specific functions (e.g. kmalloc, etc) in my code, then useralgo.ko compiles successfully but useralgo.so fails.


I've been getting around this by putting #ifdef __KERNEL__ statements around kernel-mode functions, but I was hoping someone could clarify the purpose of useralgo.so and why it is compiled in user-mode.



Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

This topic is now closed to further replies.

  • Create New...