~ubuntu-branches/ubuntu/saucy/seabios/saucy-proposed

« back to all changes in this revision

Viewing changes to vgasrc/vgahw.h

  • Committer: Package Import Robot
  • Author(s): Michael Tokarev
  • Date: 2013-07-08 21:34:44 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20130708213444-6ed9q23j39x143lu
Tags: 1.7.3-1
Multi-Arch: allowed

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
#include "clext.h" // clext_set_mode
8
8
#include "bochsvga.h" // bochsvga_set_mode
9
9
#include "stdvga.h" // stdvga_set_mode
10
 
#include "geodevga.h" // geodevga_init
 
10
#include "geodevga.h" // geodevga_setup
11
11
 
12
12
static inline struct vgamode_s *vgahw_find_mode(int mode) {
13
13
    if (CONFIG_VGA_CIRRUS)
34
34
        stdvga_list_modes(seg, dest, last);
35
35
}
36
36
 
37
 
static inline int vgahw_init(void) {
 
37
static inline int vgahw_setup(void) {
38
38
    if (CONFIG_VGA_CIRRUS)
39
 
        return clext_init();
 
39
        return clext_setup();
40
40
    if (CONFIG_VGA_BOCHS)
41
 
        return bochsvga_init();
 
41
        return bochsvga_setup();
42
42
    if (CONFIG_VGA_GEODEGX2 || CONFIG_VGA_GEODELX)
43
 
        return geodevga_init();
44
 
    return stdvga_init();
 
43
        return geodevga_setup();
 
44
    return stdvga_setup();
45
45
}
46
46
 
47
47
static inline int vgahw_get_window(struct vgamode_s *vmode_g, int window) {