On Sun, Mar 19, 2023 at 12:32:53PM +0100, Yuri wrote:
> Why are you using copyin() and not uiomove() in d_write entry?
In short, I was following the book.
> There's an example that looks like you are trying to do:
>
> https://docs.freebsd.org/en/books/arch-handbook/driverbasics/#driverbasics-char
On Sun, Mar 19, 2023 at 6:33 AM Yuri wrote:
>
> Goran Mekić wrote:
> > Hello,
> >
> > I'm trying to assemble a minimal kernel module and user space program as
> > a skeleton, and no matter what I do I get infinite loop. The code for
> > kernel is
> > https://github.com/mekanix/freebsd-project/blo
Goran Mekić wrote:
> Hello,
>
> I'm trying to assemble a minimal kernel module and user space program as
> a skeleton, and no matter what I do I get infinite loop. The code for
> kernel is
> https://github.com/mekanix/freebsd-project/blob/master/kernel/main.c.
> The way to test:
> # make
> # sudo
Hello,
I'm trying to assemble a minimal kernel module and user space program as
a skeleton, and no matter what I do I get infinite loop. The code for
kernel is https://github.com/mekanix/freebsd-project/blob/master/kernel/main.c.
The way to test:
# make
# sudo kldload ./hello.ko
# echo "something"