English 中文(简体)
在轴心中,用户空间方案如何利用舱载功能? 我确实需要一些启发。
原标题:In linux, how can an user space program uses the kernel function? I really need some inspiration

I am a beginner of kernel programming. I just need some inspiration. I know I can write some functions in the kernel source, rebuild and reboot the kernel. The codes might be some hardware driver controlling the hardware. But how can our user space program use those functions? I know through syscall the user space program can communicate with kernel space, and the loadable kernel module can also use the functions defined in kernel source code. But how can our user program achieve this?

PS:现在我正在学习qemu-kvm。 我知道qemu是用户空间方案,kvm是掩体。 我只想说明“qemu”方案如何使用kvm。

我知道这是一个非常基本的核心问题,但长期以来,它使我感到困惑。 一个人能否给我一个 h?

最佳回答

如果你正在规划驾驶员,你就不必再做新的回忆。 新的回忆通常是一种坏的思想,你应当有很好的理由这样做,硬件动力也不好。 您必须把驾驶员登记为果园、路障或网络装置。 我建议您的“六氯环己烷动力”书(该书在互联网上依法提供),以了解不同类型的驱动力。

以及贵方如何从用户空间把功能放在舱内的问题。 这样做没有直接途径,你可以把用户空间代码与像你那样与图书馆连接起来。 首先,你必须登记你的职能,然后用回忆功能进行回忆。

http://www.tldp.org/HOWTO/html_single/Implement-Sys-Call-HCH-2.6-i386/ rel=“nofollow” http://www.tldp.org/HOWTO/html_single/Implement-ys-Call-HCH2.6-i386/

问题回答

暂无回答




相关问题
Signed executables under Linux

For security reasons, it is desirable to check the integrity of code before execution, avoiding tampered software by an attacker. So, my question is How to sign executable code and run only trusted ...

encoding of file shell script

How can I check the file encoding in a shell script? I need to know if a file is encoded in utf-8 or iso-8859-1. Thanks

How to write a Remote DataModule to run on a linux server?

i would like to know if there are any solution to do this. Does anyone? The big picture: I want to access data over the web, using my delphi thin clients. But i´would like to keep my server/service ...

How can I use exit codes to run shell scripts sequentially?

Since cruise control is full of bugs that have wasted my entire week, I have decided the existing shell scripts I have are simpler and thus better. Here is what I have so far svn update /var/www/...

Good, free, easy-to-use C graphics libraries? [closed]

I was wondering if there were any good free graphics libraries for C that are easy to use? It s for plotting 2d and 3d graphs and then saving to a file. It s on a Linux system and there s no gnuplot ...

热门标签