[haiku-commits] Re: r39586 - haiku/trunk/src/add-ons/kernel/drivers/common

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 25 Nov 2010 17:47:25 +0100

Ingo Weinhold <ingo_weinhold@xxxxxx> wrote:
> On 2010-11-23 at 22:14:12 [+0100], Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
> > wrote:
> > Ingo Weinhold <ingo_weinhold@xxxxxx> wrote:
> > > BTW, what was this driver used for again?
> > That's what runs GDB's full screen console.
> Interesting. I thought this was implemented in consoled. Is there a
> particular reason to have this in a kernel driver? I suppose in
> userland
> one could even reuse a part of Terminal's code.

It mostly has legacy reasons; you would just need a call to retrieve
the current frame buffer configuration from the kernel. Also, it uses
the console module stuff from the kernel (which would need to be
replaced for userland).

Bye,
   Axel.


Other related posts: