Re: Exposing ROM's though sysfs

Martin Mares
2004-07-30T20:54:37Z

> I don't think anyone wants an x86 emulator builtin to the kernel for this
> purpose.

Well, most people probably do not want a x86 emulator running random ROMs
in the userspace, either :-) But unfortunately the world is ugly (at least
these parts of it).

However, point taken. (Although it will not be easy, since you have to avoid
kernel drivers touching the device until you can run the ROM in userspace.)

> We can get away without caching a copy of the ROM in the kernel if we require
> userspace to cache it before the driver takes control of the card (i.e. at
> POST time). Otherwise, the kernel will have to take care of it.

In case of the video cards, it is probably the right path to go.

Have a nice fortnight
--
Martin `MJ' Mares <mj@ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
Maintenance-free: When it breaks, it can't be fixed...