Trying to write a kernel module for (un)mounting tmpfs

2020-09-10 Thread Bruno Melo
behind struct mount mp and what I need to assign to the struct mount variable to pass it to that argument. Any hint? Thanks for the help, Bruno Melo.

Re: Trying to write a kernel module for (un)mounting tmpfs

2020-10-11 Thread Bruno Melo
d with the preparation (probably you will need to prepare > arguments according to man page mentioned before), > you can call your favourite FS mount operation by `mount_domount()`. > > Hope that quick walkthrough will help you understand how mount operation > works inside the kernel.

Emulating linux timer.. syscalls

2022-01-31 Thread Bruno Melo
Hello, Do you know what's the status of Emulating linux timer.. syscalls project? Seems like finished. Is it remaining some implementation? Thanks. Sent from [ProtonMail](https://protonmail.com), Swiss-based encrypted email.

Re: Porting amdgpio driver from OpenBSD

2022-11-29 Thread Bruno Melo
ng data. Sent from ProtonMail, Swiss-based encrypted email. --- Original Message --- On terça-feira, 29 de novembro de 2022 às 11:35 AM, Taylor R Campbell wrote: > > Date: Tue, 29 Nov 2022 02:11:15 +0000 > > From: Bruno Melo bm...@protonmail.com > > &g

Re: Porting amdgpio driver from OpenBSD

2022-12-05 Thread Bruno Melo
them? How to fix them? Anyway to make them configurable? Sent from ProtonMail, Swiss-based encrypted email. --- Original Message --- On segunda-feira, 28 de novembro de 2022 às 11:11 PM, Bruno Melo wrote: > Hi folks, > > I'm trying to port amdgpio.c from OpenBSD (/sy

Re: Porting amdgpio driver from OpenBSD

2022-12-09 Thread Bruno Melo
l Message --- On terça-feira, 6 de dezembro de 2022 às 00:35, Bruno Melo wrote: > I finished the port of OpenBSD driver and now I have these lines at boot time: > > MEM (PNP0C01) at acpi0 not configured > VPC0 (VPC2004) at acpi0 not configured > ITSD (IDEA2004) at acpi0 not c

Re: Porting amdgpio driver from OpenBSD

2022-12-11 Thread Bruno Melo
e_parse function, and ihidev never runs that print, but runs the print inside the if (ops->init). Any guidance on this? Sent from ProtonMail, Swiss-based encrypted email. --- Original Message --- On sexta-feira, 9 de dezembro de 2022 às 11:39 AM, Bruno Melo wrote: > I'm putting

Re: Porting amdgpio driver from OpenBSD

2022-12-14 Thread Bruno Melo
: Mon, 12 Dec 2022 02:57:27 + > > > From: Bruno Melo bm...@protonmail.com > > > > > > No progress yet. > > > > > > I can see 2 things: > > > First one, I put the following code inside acpi_res_irq function to > > > check how setted i

fallocate for FFS

2023-10-23 Thread Bruno Melo
Hi guys, Is this project https://wiki.netbsd.org/projects/project/ffs-fallocate/ easy they way it seems to be? Basically, it is just create a ffs_fallocate function in sys/ufs/ffs/ffs_alloc.c. Inside this function I make a loop calling the ffs_alloc function. During the loop I should check for