Ch 5: Why both kernel headers?
spyro at f2s.com
Wed Sep 15 14:08:22 PDT 2004
On Wed, 15 Sep 2004 19:56:08 +0200
Laurens Blankers <laurens.blankers at gmail.com> wrote:
> I thought programs communicated with the kernel through interrupts
> only. So what does the kernel have to do with ABI defs?
Thats just enough knowledge to shoot yourself in the foot with there.
userspace does NOT use interrupts to communicate with the kernel, those
are a hardware thing.
userspace uses *software* interrupts to communicate with the kernel,
which behave in a very similar manner but arent triggered by hadrware
at this point the ABI is *everything*. the kernel and userspace must
agree on how the data they shre in this event is formatted, or the shit
_will_ hit the fan.
More information about the lfs-dev