Project

General

Profile

Revision 111

implemented 3rd function

View differences:

graphics.c
73 73
    return (vbe_mem_info.BitsPerPixel + 7) >> 3;
74 74
}
75 75

  
76
uint16_t get_RedMaskSize(void){
77
    return vbe_mem_info.RedMaskSize;
78
}
79

  
80
uint16_t get_GreenMaskSize(void){
81
    return vbe_mem_info.GreenMaskSize;
82
}
83

  
84
uint16_t get_BlueMaskSize(void){
85
    return vbe_mem_info.BlueMaskSize;
86
}
87

  
76 88
int (map_vram)(void) {
77 89
    int r;
78 90
    unsigned int vram_base = get_phys_addr();

Also available in: Unified diff