Revision 95219897 vl.h

b/vl.h
254 254
typedef struct DisplayState DisplayState;
255 255
typedef struct TextConsole TextConsole;
256 256

  
257
extern TextConsole *vga_console;
258

  
259
TextConsole *graphic_console_init(DisplayState *ds);
260
int is_active_console(TextConsole *s);
257
typedef void (*vga_hw_update_ptr)(void *);
258
typedef void (*vga_hw_invalidate_ptr)(void *);
259
typedef void (*vga_hw_screen_dump_ptr)(void *, const char *);
260

  
261
TextConsole *graphic_console_init(DisplayState *ds, vga_hw_update_ptr update,
262
                                  vga_hw_invalidate_ptr invalidate,
263
                                  vga_hw_screen_dump_ptr screen_dump,
264
                                  void *opaque);
265
void vga_hw_update(void);
266
void vga_hw_invalidate(void);
267
void vga_hw_screen_dump(const char *filename);
268

  
269
int is_graphic_console(void);
261 270
CharDriverState *text_console_init(DisplayState *ds);
262 271
void console_select(unsigned int index);
263 272

  
......
673 682
int vga_initialize(PCIBus *bus, DisplayState *ds, uint8_t *vga_ram_base, 
674 683
                   unsigned long vga_ram_offset, int vga_ram_size,
675 684
                   unsigned long vga_bios_offset, int vga_bios_size);
676
void vga_update_display(void);
677
void vga_invalidate_display(void);
678
void vga_screen_dump(const char *filename);
679 685

  
680 686
/* cirrus_vga.c */
681 687
void pci_cirrus_vga_init(PCIBus *bus, DisplayState *ds, uint8_t *vga_ram_base, 
......
844 850
void lance_init(NICInfo *nd, int irq, uint32_t leaddr, uint32_t ledaddr);
845 851

  
846 852
/* tcx.c */
847
void *tcx_init(DisplayState *ds, uint32_t addr, uint8_t *vram_base,
853
void tcx_init(DisplayState *ds, uint32_t addr, uint8_t *vram_base,
848 854
	       unsigned long vram_offset, int vram_size, int width, int height);
849
void tcx_update_display(void *opaque);
850
void tcx_invalidate_display(void *opaque);
851
void tcx_screen_dump(void *opaque, const char *filename);
852 855

  
853 856
/* slavio_intctl.c */
854 857
void *slavio_intctl_init();
......
976 979
void smc91c111_init(NICInfo *, uint32_t, void *, int);
977 980

  
978 981
/* pl110.c */
979
void *pl110_init(DisplayState *ds, uint32_t base, void *pic, int irq);
980
void pl110_update_display(void *opaque);
981
void pl110_invalidate_display(void *opaque);
982
void *pl110_init(DisplayState *ds, uint32_t base, void *pic, int irq, int);
982 983

  
983 984
#endif /* defined(QEMU_TOOL) */
984 985

  

Also available in: Unified diff