Hi,

I just wanted to give everyone who cares an early heads-up regarding the
changes which are now brewing in lp:~jakub/helenos/mm.

Basically, the changes are as follows:

- CMD_MEM_READ/WRITE_* is gone in favour of the standard
  CMD_PIO_READ/WRITE_*
- the associated dirty hacks are gone too
- besides the IRQ commands themselves, the driver also needs to supply
  a list of used PIO ranges (i.e. [physical base, size] pairs)
- attempts to use addresses outside of declared PIO ranges will be
  caught
- the IRQ pseudocode now needs to use the physical / hardware / parent-
  provided addresses, as opposed to using addresses obtained from
  pio_enable() or any other sort of virtual / userspace address.
- i8024, ne2k, e1k, rtl8139, uhci and ohci drivers have already been
  converted; the rest of the drivers still needs checking
- so far, only ia32 is known to build now

The benefits:

- no difference between ports and memory mapped registers (this time
  for sure)
- no need for the IRQ handler to switch to the driver's address space
  to be able to address the PIO registers of interest

Jakub

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/cgi-bin/listinfo/helenos-devel

Reply via email to