On Wed, Dec 21, 2011 at 5:39 PM, Kevin O'Connor firstname.lastname@example.org wrote:
I'm not sure which scheme makes the most sense. I could see using the "cirrus" scheme - each hardware type defines its own "handle_10" and "vga_post" in a file dedicated to that hardware, which then check for hardware specific functions and call "library" code for the standard stuff. However, I'm not sure how much code duplication there would be for things like the VBE calls which seem to contain a mix of standard info and hardware specific info.
Happy new year,
I havn't studied the cirrus code yet, but the part which implements the VBE interface should be quite simillar from one driver to another, so I don't think it is necessary to let every hardware type redefine its own int10 handler, at least for the vesa part.