Re: Framebuffer address and kernel video mode

2009-02-07 Thread Robert Millan
On Thu, Feb 05, 2009 at 02:54:28PM -0800, Colin D Bennett wrote: > > Well, we could do this, but I don't really like the idea of making > framebuffer address and bytes_per_scan line parts of the generic video > API. > > I think it would be OK to make these data accessible as an optional > feature

Re: Framebuffer address and kernel video mode

2009-02-07 Thread Robert Millan
On Thu, Feb 05, 2009 at 09:44:59PM +0100, phcoder wrote: > Hello. First of all some good news: I managed to boot xnu kernel. To do > so I need to set it to video mode and pass video mode info to kernel. > Now I do it in adapter-specific way which is bad and ugly. So I would > like to propose an

Re: Framebuffer address and kernel video mode

2009-02-06 Thread phcoder
Colin D Bennett wrote: feature. That is, potentially future video drivers might not use a framebuffer. (OpenGL driver? :-) In this context I would think more about X11 or vnc driver > The VBE driver can return the framebuffer address, but if another driver can't provide it, then maybe NULL

Re: Framebuffer address and kernel video mode

2009-02-05 Thread Colin D Bennett
On Thu, 05 Feb 2009 21:44:59 +0100 phcoder wrote: > Hello. First of all some good news: I managed to boot xnu kernel. To do > so I need to set it to video mode and pass video mode info to kernel. > Now I do it in adapter-specific way which is bad and ugly. So I would > like to propose an inter