2 Jul 18:39
IO-Flexpage support added
Matthieu Lemerre <racin <at> free.fr>
2005-07-02 16:39:30 GMT
2005-07-02 16:39:30 GMT
Hi, This patch adds IO-Flexpages support to the Hurd. For those who don't know, IO-Flexpage is the way to give to tasks access to IO-ports on IA32 and AMD64 machines, and works like Flexpage (with limitations). It is part of L4 X.2 spec and was implemented recently in pistachio CVS. This patch makes wortel request a IOFpage containing all IO ports from sigma0, and makes deva ask it back from wortel. Future device drivers (and regular applications?) will then receive specific io ports from deva when they ask for it. One little thing was missing from sigma0 to get it working; I sent a patch that hopefully the L4ka team will integrate (or a better one). I attach it for those who would want to try. I added support for both IO-Flexpage and no IO-Flexpage in the kernel at first, and I had to factorize wortel/sigma0.c a little. Then Marcus told me we should simply drop support for kernel without IO-Flexpages support, but I kept the factorization anyway. I think it's pretty harmless. Thanks, Matthieu deva/Changelog: 2005-07-02 Matthieu Lemerre <racin <at> free.fr>(Continue reading)
RSS Feed