In another question, you wrote that you are new to kernel programming. Using KML is very unconventional and will be much more complicated than doing it in the usual way. This will make your training much more difficult. I would suggest that your best option is to overestimate why you want to run the application for user space in kernel space and find a way to not do this.
There may be a good reason to do this, but I donβt understand what the reason is. One thing that you must understand when developing a kernel is that just because something is possible is not necessarily what needs to be done.
If you really want to use a cross-platform solution, you will have to write it yourself. The only architectures supported by KML are IA32 and AMD64.
Jaym
source share