Subversion Repositories HelenOS

Rev

Rev 3022 | Rev 4678 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3022 Rev 4055
Line 81... Line 81...
81
        break;
81
        break;
82
    case 32:
82
    case 32:
83
        visual = VISUAL_RGB_0_8_8_8;
83
        visual = VISUAL_RGB_0_8_8_8;
84
        break;
84
        break;
85
    default:
85
    default:
86
        panic("Unsupported bits per pixel");
86
        panic("Unsupported bits per pixel.");
87
    }
87
    }
88
   
88
   
89
    fb_init(vesa_ph_addr, vesa_width, vesa_height, vesa_scanline, visual);
89
    fb_properties_t vesa_props = {
-
 
90
        .addr = vesa_ph_addr,
-
 
91
        .offset = 0,
-
 
92
        .x = vesa_width,
-
 
93
        .y = vesa_height,
-
 
94
        .scan = vesa_scanline,
-
 
95
        .visual = visual,
-
 
96
    };
-
 
97
    fb_init(&vesa_props);
-
 
98
}
-
 
99
 
-
 
100
void vesa_redraw(void)
-
 
101
{
-
 
102
    fb_redraw();
90
}
103
}
91
 
104
 
92
#endif
105
#endif
93
 
106
 
94
/** @}
107
/** @}