using int 13h to access DOC
David Woodhouse
dwmw2 at passion.cygnus.co.uk
Thu Jul 20 10:24:40 EDT 2000
On Wed, 19 Jul 2000, Matt Hortman wrote:
> Shoot this down: Since the M-Sys firmware in the DOC simply installs
> an int 13h handler, why not use it to access the DOC using "bios"
> calls. I realize that the kernel probably overwrites that handler but
> that could be fixed. I don't know, however, about using a real-mode
> interrupt from a device driver. It seems too simple to work. What
> have I overlooked?
It's complex and unreliable. You can't trust BIOSen and the M-Systems code
requires a _lot_ of low memory to be untouched.
There was, however, a patch for the 1.1 kernel which did this, I
believe. It is theoretically possible. Better just to complete the
existing GPL'd driver that we have though - it's probably easier.
Note - with the new 2.02 boot protocol for the Linux kernel, we should be
able to boot happily from DiskOnChip even with the huge EBDA that its
firmware requires. New bootloaders and 2.4 kernels should 'just work'
according to hpa. There's a patch available for the 2.2 kernel to support
the 2.02 protocol too.
--
dwmw2
To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org
More information about the linux-mtd
mailing list