/[grub]/grub2/term/i386/pc/vesafb.c
ViewVC logotype

Diff of /grub2/term/i386/pc/vesafb.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by okuji, Sat Aug 20 05:26:51 2005 UTC revision 1.4 by marco_g, Sun Nov 13 15:47:09 2005 UTC
# Line 142  grub_virtual_screen_setup (grub_uint32_t Line 142  grub_virtual_screen_setup (grub_uint32_t
142  }  }
143    
144  static grub_err_t  static grub_err_t
145  grub_vesafb_init (void)  grub_vesafb_mod_init (void)
146  {  {
147    grub_uint32_t use_mode = GRUB_VBE_DEFAULT_VIDEO_MODE;    grub_uint32_t use_mode = GRUB_VBE_DEFAULT_VIDEO_MODE;
148    struct grub_vbe_info_block controller_info;    struct grub_vbe_info_block controller_info;
# Line 200  grub_vesafb_init (void) Line 200  grub_vesafb_init (void)
200  }  }
201    
202  static grub_err_t  static grub_err_t
203  grub_vesafb_fini (void)  grub_vesafb_mod_fini (void)
204  {  {
205    grub_virtual_screen_free ();    grub_virtual_screen_free ();
206    
# Line 589  grub_vesafb_setcursor (int on) Line 589  grub_vesafb_setcursor (int on)
589  static struct grub_term grub_vesafb_term =  static struct grub_term grub_vesafb_term =
590    {    {
591      .name = "vesafb",      .name = "vesafb",
592      .init = grub_vesafb_init,      .init = grub_vesafb_mod_init,
593      .fini = grub_vesafb_fini,      .fini = grub_vesafb_mod_fini,
594      .putchar = grub_vesafb_putchar,      .putchar = grub_vesafb_putchar,
595      .getcharwidth = grub_vesafb_getcharwidth,      .getcharwidth = grub_vesafb_getcharwidth,
596      .checkkey = grub_console_checkkey,      .checkkey = grub_console_checkkey,
# Line 606  static struct grub_term grub_vesafb_term Line 606  static struct grub_term grub_vesafb_term
606      .next = 0      .next = 0
607    };    };
608    
609  GRUB_MOD_INIT  GRUB_MOD_INIT(vesafb)
610  {  {
611    my_mod = mod;    my_mod = mod;
612    grub_term_register (&grub_vesafb_term);    grub_term_register (&grub_vesafb_term);
613  }  }
614    
615  GRUB_MOD_FINI  GRUB_MOD_FINI(vesafb)
616  {  {
617    grub_term_unregister (&grub_vesafb_term);    grub_term_unregister (&grub_vesafb_term);
618  }  }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26