All of lore.kernel.org
 help / color / mirror / Atom feed
* Need for VBE helper functions?
@ 2005-12-26  1:32 Vesa Jääskeläinen
  2005-12-26 10:10 ` Marco Gerards
  0 siblings, 1 reply; 2+ messages in thread
From: Vesa Jääskeläinen @ 2005-12-26  1:32 UTC (permalink / raw)
  To: The development of GRUB 2

Hi,

I have been making video driver for VBE and currently at beginning of
that file there are codes for those VBE helpers defined in
(include/grub/i386/pc/vbe.h). As I had some issues with mixing them with
each other I renamed all kernel stubs like from grub_vbe_* to
grub_vbe_bios_* so they cannot be easily mixed.

I was thinking that is there a still need to have those helper functions
at all there? If they will be there I will use them from driver code, if
not, I will integrate the functionality to driver code. By integrating
the code to driver it would make that driver file more easier to read,
but then we lose option to use those helpers directly. One option is to
move them elsewhere, but then there is a problem what is the module name
and where.

I will update shortly (tomorrow most likely) wiki with results of the
newest API design round. After I think it is correct I will concentrate
on enhancing the terminal code to make use of newly added functionality.

Thanks,
Vesa Jääskeläinen



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Need for VBE helper functions?
  2005-12-26  1:32 Need for VBE helper functions? Vesa Jääskeläinen
@ 2005-12-26 10:10 ` Marco Gerards
  0 siblings, 0 replies; 2+ messages in thread
From: Marco Gerards @ 2005-12-26 10:10 UTC (permalink / raw)
  To: The development of GRUB 2

Vesa Jääskeläinen <chaac@nic.fi> writes:

Hi Vesa,

> I have been making video driver for VBE and currently at beginning of
> that file there are codes for those VBE helpers defined in
> (include/grub/i386/pc/vbe.h). As I had some issues with mixing them with
> each other I renamed all kernel stubs like from grub_vbe_* to
> grub_vbe_bios_* so they cannot be easily mixed.
>
> I was thinking that is there a still need to have those helper functions
> at all there? If they will be there I will use them from driver code, if
> not, I will integrate the functionality to driver code. By integrating
> the code to driver it would make that driver file more easier to read,
> but then we lose option to use those helpers directly. One option is to
> move them elsewhere, but then there is a problem what is the module name
> and where.

So what you have now is some VBE functions and a video driver and you
are wondering if they should be merged?  I think that shouldn't be
done because multiboot should also use VBE to switch video modes.

> I will update shortly (tomorrow most likely) wiki with results of the
> newest API design round. After I think it is correct I will concentrate
> on enhancing the terminal code to make use of newly added functionality.

Cool!

Thanks,
Marco




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-12-26 10:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-26  1:32 Need for VBE helper functions? Vesa Jääskeläinen
2005-12-26 10:10 ` Marco Gerards

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.