Date: Mon, 20 Mar 2023 07:08:24 +0100 From: Goran =?utf-8?B?TWVracSH?= <meka@tilda.center> To: Yuri <yuri@aetern.org> Cc: freebsd-current@FreeBSD.org Subject: Re: Infinite loop with d_write_t Message-ID: <20230320060824.s7rjwetrolqgd7xa@tilda.center> In-Reply-To: <e418c6f4-ab10-020e-0b94-2f47d3182fb2@aetern.org> References: <20230319111404.a6ac2w44u4trtedy@tilda.center> <e418c6f4-ab10-020e-0b94-2f47d3182fb2@aetern.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--oeomwchyocmwncml Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: >=20 > https://docs.freebsd.org/en/books/arch-handbook/driverbasics/#driverbasic= s-char It works perfectly, thank you! I didn't even know we have Driver Basics chapter. Regards, meka --oeomwchyocmwncml Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE1WIFkXy2ZeMKjjKEWj1TknovrLYFAmQX+FQACgkQWj1Tknov rLY47RAAm3gQ61egJAvwO3iFqfr9cWY5AuIGtWDpPR2OukgFmjhdxhn4Vm4KgglF vU41WpTkp9oCKvOc6/ndAl7MJED6ooE/OwhCi58a5Ytk75Fy++HTugHpK2oVUTUn xFCP115cHQFr+851k64Y7MFebE0ohKYQKroswwzD1xIAWnIA2l/54ZHw4Jpja0Sv wF8BvgBblo5ic2lrMDQCqoj/XfWGvS4TCaGhzxhEkLrY1XpJt9IMUNLd/SK+SeVz JzUXwPMCDa7j0inkbVpjqOydCLo6Jl9FJuy1UbJH6HSKDqtgzT1TzvUY/GF9KfHm IxsXmPDEmJy2h+6txU7uwiVDtBk8pHG1ToCkRXeEDudm0GjIRw0MoY92E7rV47DV cEV0oDDiGxW7W8+EKxG7DkrIwo5bZXaEUgAbBJDc7gZhRBsnBTB9sa4+NRq7W4+Q 9l2ONHCw1wURs7+OGC1SuKVAInwJ9QLuiPPq5gEf1BK7kBnCxb6CL6JtlpGPVNp5 eTswY0hb3zposf2cSNolPqZlxRtLAua0mhRuZfoPNZPLI2eM5W70EhDsa7CYb4FL AeZkugKcG8XyhRviP7MIhwe+6USFq0ktRz7zi2j9Yzr+NSkMJthGyf7e/r970Yu9 Qz6q1URcvbJfeHFTf0nhR51Gc1QtdAKSVAPxjsaltEqfgYQzY40= =JRmP -----END PGP SIGNATURE----- --oeomwchyocmwncml--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230320060824.s7rjwetrolqgd7xa>