Date: Fri, 05 Jul 2024 18:01:59 -0000 From: Nimbly2329 <hjlftdygaqf@use.startmail.com> To: freebsd-drivers@freebsd.org Subject: What is the veracity of binary compatibility of Kernel Drivers on FreeBSD? Message-ID: <172020251899.36.8140479717329129119@startmail.com>
next in thread | raw e-mail | index | archive | help
--===============5567301578131622925== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable I remember having read in the book The Design and Implementation of the FreeBSD=C2=AE Operating System Second Edition by Marshall Kirk McKusick= , George V. Neville-Neil, and Robert N.M. Watson, that FreeBSD has the ability of u= sing drivers compilers for previous versions of FreeBSD by an stable ABI. (W= hich also kind of implies forward compatibility of drivers) =20 =20 My question is this true? =20 And if true. where is the documentation of such ABI? =20 And I can statically link to the kernel one of this portable kernels? = =20 Regards, Nimbly2329 =20 =20 --===============5567301578131622925== Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable <div xmlns=3D"http://www.w3.org/1999/xhtml"><span class=3D"font" style= =3D"font-family: arial, helvetica, sans-serif;"><span class=3D"colour" = style=3D"color:rgb(59, 67, 92)"><span class=3D"size" style=3D"font-size= : medium"></span></span></span><span class=3D"font" style=3D"font-famil= y: arial, helvetica, sans-serif;"><span class=3D"colour" style=3D"color= :rgb(59, 67, 92)"><span class=3D"size" style=3D"font-size: medium"></sp= an></span></span><span class=3D"font" style=3D"font-family: arial, helv= etica, sans-serif;"><span class=3D"colour" style=3D"color:rgb(59, 67, 9= 2)"><span class=3D"size" style=3D"font-size: medium">I remember having = read in the book</span></span><span class=3D"colour" style=3D"color:rgb= (59, 67, 92)"><span class=3D"size" style=3D"font-size: medium"> </span>= </span><span class=3D"colour" style=3D"color:rgb(59, 67, 92)"><span cla= ss=3D"size" style=3D"font-size: medium"></span></span></span>The Design= and Im<span class=3D"font" style=3D"font-family: arial, helvetica, san= s-serif;"><span class=3D"colour" style=3D"color:rgb(59, 67, 92)"><span = class=3D"size" style=3D"font-size: medium"></span></span></span>plement= ation of the<span class=3D"font" style=3D"font-family: arial, helvetica= , sans-serif;"><span class=3D"colour" style=3D"color:rgb(59, 67, 92)"><= span class=3D"size" style=3D"font-size: medium"> </span></span></span>F= reeBSD=C2=AE<span class=3D"font" style=3D"font-family: arial, helvetica= , sans-serif;"><span class=3D"colour" style=3D"color:rgb(59, 67, 92)"><= span class=3D"size" style=3D"font-size: medium"> </span></span></span>O= perating System<span class=3D"font" style=3D"font-family: arial, helvet= ica, sans-serif;"><span class=3D"colour" style=3D"color:rgb(59, 67, 92)= "><span class=3D"size" style=3D"font-size: medium"> </span></span></spa= n>Second Edition<span class=3D"font" style=3D"font-family: arial, helve= tica, sans-serif;"><span class=3D"colour" style=3D"color:rgb(59, 67, 92= )"><span class=3D"size" style=3D"font-size: medium"> by </span></span><= /span>Marshall Kirk McKusick<span class=3D"font" style=3D"font-family: = arial, helvetica, sans-serif;"><span class=3D"colour" style=3D"color:rg= b(59, 67, 92)"><span class=3D"size" style=3D"font-size: medium">, </spa= n></span></span>George V. Neville-Neil,<span class=3D"font" style=3D"fo= nt-family: arial, helvetica, sans-serif;"><span class=3D"colour" style= =3D"color:rgb(59, 67, 92)"><span class=3D"size" style=3D"font-size: med= ium"> and</span></span><span class=3D"colour" style=3D"color:rgb(59, 67= , 92)"><span class=3D"size" style=3D"font-size: medium"> </span></span>= </span>Robert N.M. Watson<span class=3D"font" style=3D"font-family: ari= al, helvetica, sans-serif;"><span class=3D"colour" style=3D"color:rgb(5= 9, 67, 92)"><span class=3D"size" style=3D"font-size: medium">, that Fre= eBSD has the ability of using drivers compilers for previous versions o= f FreeBSD by an stable ABI. (Which also kind of implies forward compati= bility of drivers)<br /></span></span></span></div><div xmlns=3D"http:/= /www.w3.org/1999/xhtml"><br /></div><p xmlns=3D"http://www.w3.org/1999/= xhtml" style=3D"word-wrap: break-word; overflow-wrap: break-word; margi= n: 0; color: rgb(59, 67, 92); font-family: arial, helvetica; font-size:= medium;"><span class=3D"font" style=3D"font-family: arial, helvetica, = sans-serif;"><span class=3D"colour" style=3D"color:rgb(59, 67, 92)"><sp= an class=3D"size" style=3D"font-size: medium">My question is this true?= </span></span></span><br /></p><p xmlns=3D"http://www.w3.org/1999/xhtml= " style=3D"word-wrap: break-word; overflow-wrap: break-word; margin: 0;= color: rgb(59, 67, 92); font-family: arial, helvetica; font-size: medi= um;"><span class=3D"font" style=3D"font-family: arial, helvetica, sans-= serif;"><span class=3D"colour" style=3D"color:rgb(59, 67, 92)"><span cl= ass=3D"size" style=3D"font-size: medium">And if true. where is the docu= mentation of such ABI?</span></span></span><br /></p><p xmlns=3D"http:/= /www.w3.org/1999/xhtml" style=3D"word-wrap: break-word; overflow-wrap: = break-word; margin: 0; color: rgb(59, 67, 92); font-family: arial, helv= etica; font-size: medium;"><span class=3D"font" style=3D"font-family: a= rial, helvetica, sans-serif;"><span class=3D"colour" style=3D"color:rgb= (59, 67, 92)"><span class=3D"size" style=3D"font-size: medium">And I ca= n statically link to the kernel one of this portable kernels?</span></s= pan></span><br /></p><p xmlns=3D"http://www.w3.org/1999/xhtml" style=3D= "word-wrap: break-word; overflow-wrap: break-word; margin: 0; color: rg= b(59, 67, 92); font-family: arial, helvetica; font-size: medium;"><br /= ></p><p xmlns=3D"http://www.w3.org/1999/xhtml" style=3D"word-wrap: brea= k-word; overflow-wrap: break-word; margin: 0; color: rgb(59, 67, 92); f= ont-family: arial, helvetica; font-size: medium;"><span class=3D"font" = style=3D"font-family: arial, helvetica, sans-serif;"><span class=3D"col= our" style=3D"color:rgb(59, 67, 92)"><span class=3D"size" style=3D"font= -size: medium">Regards, Nimbly2329</span></span></span><br /></p><p xml= ns=3D"http://www.w3.org/1999/xhtml" style=3D"word-wrap: break-word; ove= rflow-wrap: break-word; margin: 0; color: rgb(59, 67, 92); font-family:= arial, helvetica; font-size: medium;"><br /></p> --===============5567301578131622925==--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?172020251899.36.8140479717329129119>