[syslinux] [RFC][PATCH] Gfxboot COMBOOT module

Steffen Winterfeldt wfeldt at suse.de
Tue Nov 25 03:16:09 PST 2008


On Mon, 24 Nov 2008, Sebastian Herbszt wrote:

> H. Peter Anvin wrote:
> > Sebastian Herbszt wrote:
> >> 
> >>> Without looking at the original gfxboot patch, it would seem like
> >>> gfxboot did raw I/O but it is mearly a lingering reference.
> >> 
> >> This API is used by gfxboot core to open the graphical and other files (e.g. gfxboot.cfg).
> >> 
> > 
> > Why not just use the normal file I/O calls for that?
> 
> Can you explain this a bit?
> gfxboot core (bincode.asm) does use the callbacks, e.g. cb_fopen, for file I/O.
> cb_fopen uses INT 22h AX=0007h. This is "the normal file I/O", right?
> I am not sure what cb_readsector, which uses INT 22h AX=0019h, is good for.
> gfxboot core says "internal function" and i was not able to find references to it.

It is currently used to get some info from the iso9660 header. Also, it
would be needed if you're going to parse the partition table.


Steffen

-- 
Der frühe Wirt holt sich den Wurm.




More information about the Syslinux mailing list