[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Using device files in "/dev" from kernel space



2010/12/23 m0n0 <ole@monochrom.net>:
>
> From the linux point of view it is not even possible to call such function -
> they don't exist in kernel space - because there is no libc for kernel
> modules. I guess it's the same for MiNT kernel modules: No gemlib available
> to kernel modules (???).
>

Before posting here I try to find an answer on the web, but I didn't
find anything conclusive.

I saw that under MiNT there is the function sys_f_cntl that can be
called from the kernel and from modules and under Linux the function
sys_ioctl is exported to kernel modules. Those have made me wonder.


> Of course there exists ways to use files within the linux kernel - but that
> is considered an hack, afaik. ...And of course it requires different code
> compared to user-space applications.
>
> Greets,
> m
>
>