Subversion Repositories HelenOS-historic

Rev

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

Rev 1310 Rev 1311
Line 59... Line 59...
59
 
59
 
60
static count_t vesa_frame_order(void)
60
static count_t vesa_frame_order(void)
61
{
61
{
62
    __u32 x = vesa_scanline*vesa_height;
62
    __u32 x = vesa_scanline*vesa_height;
63
    if (x <= FRAME_SIZE)
63
    if (x <= FRAME_SIZE)
64
        return 1;
64
        return 0;
65
 
65
 
66
    return (fnzb32(x - 1) + 1) - FRAME_WIDTH;
66
    return (fnzb32(x - 1) + 1) - FRAME_WIDTH;
67
}
67
}
68
 
68
 
69
void vesa_init(void)
69
void vesa_init(void)