RMGR-Extension to control I/O access
Michael Hohmuth
hohmuth at innocent.com
Fri Oct 22 17:43:30 CEST 1999
Christian Stueble <stueble at amaunet.cs.uni-dortmund.de> writes:
> > That is exactly what io flex pages are designed for. Initially sigma0
> > has access to all io ports and can use io flex pages to grant port
> > access to other task. If sigma0 grants access a subset of the io
> > address space (adressses which are accessed by in/out instructions)
> > the task gets an io permission bitmap. If sigma0 (or someone else)
> > grants access to the whole io address space l4 changes the iopl so
> > that any thread in this task can access any port and can even disable
> > interrupts.
> I understand the x86 manual in that way: i/o access is permitted only if the
> tasks CPL <= IOPL _and_ if appropriated bits are set to 0.
No, that´s ``or,´´ not ``and.´´
> Generally, only two new IPC messages (to the RMGR or sigma0?) are
> necessary:
Rmgr
> 1) demandPort( port_nr, size )
> 2) releasePort( port_nr, size )
Yes, that´s right.
> Does someone know, why the l4 reference manual restricts the granularity of
> port access to 16 byte?
No, I don´t. Maybe Jochen can shed some light on this?
Michael
--
hohmuth at innocent.com, hohmuth at sax.de
http://www.sax.de/~hohmuth/
More information about the l4-hackers
mailing list