GSoC 2012 - 32 bit API for 64 bit kernel

Ivan Sichmann Freitas ivansichfreitas at gmail.com
Sun Mar 25 16:03:47 PDT 2012


--V0207lvV8h4k8FAm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

> So, as far as I understood the idea and dragonfly's code:
>     - since the current code was created to be of only one architecture,
>       I would need to create a set of *_32 syscalls (will they maintain
>       the same numeric value in syscalls.master in relation of its 64
>       bits counterparts?).
>     - it's not clear to me how I will implement the control bits to
>       indicate 32 bit execution.
>     - I'm thinking in a way to implement this without breaking the
>       current 64 bit abi for existing applications, any thoughts on
>       that?
>=20
> As a draft of my planned roadmap:
>     - completely understand the syscalls' handling in the kernel
>     - analyze the difference of 32 and 64 elf formats and how it affects
>       the loader
>     - plan the implementation (try to avoid abi breakage and pitfalls)
>     - do it
>=20
> (not sure how much time for each step, but the 2 firsts should be quick)
>=20
> I would appreciate any feedback on this.

Sorry for the triple post, but the previous messages went with the wrong
address in CC (fixed)

--=20
Ivan Sichmann Freitas
GNU/Linux user #509059

--V0207lvV8h4k8FAm
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: PGP signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJPb6RTAAoJEFM7yh3+vhFAbjoP+wTjU9/ZyZMGLrV50WkeAlYS
jA+gx8vNC2adLgHGgTz9a+qwHdZFGRjq9oHvRWDpMuDumf4mxWWWaDbuAUxQwBkf
GP8SHOX+BLG+KFWHfGlYxQ8yZU/ghfzOKIP8/wFb3xpmswc/kUILP+5dzZ+G82DW
+YouVVWTYi0nYwqxpGydK7QvQl+jwKxMeH5oCul0x0yJCk126SsDT0N2MFySBvY0
szNFp/s8fs1Jh3pj8FjaC43HZuGWBiuqCWB4pylbQGsRvpp+tMltcKS0HfmOpoM4
Of993GkSJUaB3HAhAZiWCnclyX3Y92ulrwWpd7Dbi7LB2ztZ8zTdHjcXunvll/VZ
wyUgATKbV6qQc3tnm9UF1OuXCR1ZKBaLZ/d9vA0/0jdLnGiZHcZmtYFW8N4TF85k
GucWS4e0ypTs8Rbg5BCXsXlZ1TGjqXbpKEPR43XRoHdtz6Md07/JDg2J6vxOPZmy
hmv95/jw2ZAAHQmY6hMQnyyjOBErieNgW+KgyRNu4d+3RXCY3KzlXgE9GDR+x5+N
RT1QEmCXCK95tTANC79U8sW5WHwePWiXqXkIcMYjDviSFfvzPZDsmxVfg1C0bVcJ
I2/pA5edPeZSMw1LMUv0L9zndAs68sN+XHVOH6l0C+RCiMM5i3MxFb+5GE8Mvo22
IwJPqg6XunqXMSylSDKI
=o75n
-----END PGP SIGNATURE-----

--V0207lvV8h4k8FAm--





More information about the Kernel mailing list