Searched refs:gc_image (Results 1 – 3 of 3) sorted by relevance
43 struct bhyvegc_image *gc_image; member51 struct bhyvegc_image *gc_image; in bhyvegc_init() local55 gc_image = calloc(1, sizeof(struct bhyvegc_image)); in bhyvegc_init()56 gc_image->width = width; in bhyvegc_init()57 gc_image->height = height; in bhyvegc_init()59 gc_image->data = fbaddr; in bhyvegc_init()62 gc_image->data = calloc(width * height, sizeof (uint32_t)); in bhyvegc_init()66 gc->gc_image = gc_image; in bhyvegc_init()69 pthread_mutex_init(&gc_image->mtx, NULL); in bhyvegc_init()79 pthread_mutex_lock(&gc->gc_image->mtx); in bhyvegc_set_fbaddr()[all …]
112 struct bhyvegc_image *gc_image; member160 if (!sc->gc_image->vgamode && sc->memregs.width == 0 && in pci_fbuf_write()163 sc->gc_image->vgamode = 1; in pci_fbuf_write()166 } else if (sc->gc_image->vgamode && sc->memregs.width != 0 && in pci_fbuf_write()169 sc->gc_image->vgamode = 0; in pci_fbuf_write()360 if (sc->vga_full && sc->gc_image->vgamode) { in pci_fbuf_render()444 sc->gc_image = console_get_image(); in pci_fbuf_init()
60 struct bhyvegc_image *gc_image; member196 old_width = sc->gc_image->width; in vga_check_size()197 old_height = sc->gc_image->height; in vga_check_size()255 sc->gc_image->data[offset] = vga_get_pixel(sc, x, y); in vga_render_graphics()318 sc->gc_image->data[offset] = vga_get_text_pixel(sc, x, y); in vga_render_text()331 memset(sc->gc_image->data, 0, in vga_render()332 sc->gc_image->width * sc->gc_image->height * in vga_render()1199 if (sc->gc_image) in vga_port_out_handler()1200 sc->gc_image->vgamode = 1; in vga_port_out_handler()1312 sc->gc_image = console_get_image(); in vga_init()