Revision 99a0949b console.h
b/console.h | ||
---|---|---|
279 | 279 |
return ds->surface->pf.bytes_per_pixel; |
280 | 280 |
} |
281 | 281 |
|
282 |
typedef unsigned long console_ch_t;
|
|
283 |
static inline void console_write_ch(console_ch_t *dest, uint32_t ch)
|
|
282 |
typedef unsigned long a_console_ch;
|
|
283 |
static inline void console_write_ch(a_console_ch *dest, uint32_t ch)
|
|
284 | 284 |
{ |
285 | 285 |
cpu_to_le32wu((uint32_t *) dest, ch); |
286 | 286 |
} |
... | ... | |
288 | 288 |
typedef void (*vga_hw_update_ptr)(void *); |
289 | 289 |
typedef void (*vga_hw_invalidate_ptr)(void *); |
290 | 290 |
typedef void (*vga_hw_screen_dump_ptr)(void *, const char *); |
291 |
typedef void (*vga_hw_text_update_ptr)(void *, console_ch_t *);
|
|
291 |
typedef void (*vga_hw_text_update_ptr)(void *, a_console_ch *);
|
|
292 | 292 |
|
293 | 293 |
DisplayState *graphic_console_init(vga_hw_update_ptr update, |
294 | 294 |
vga_hw_invalidate_ptr invalidate, |
... | ... | |
299 | 299 |
void vga_hw_update(void); |
300 | 300 |
void vga_hw_invalidate(void); |
301 | 301 |
void vga_hw_screen_dump(const char *filename); |
302 |
void vga_hw_text_update(console_ch_t *chardata);
|
|
302 |
void vga_hw_text_update(a_console_ch *chardata);
|
|
303 | 303 |
|
304 | 304 |
int is_graphic_console(void); |
305 | 305 |
int is_fixedsize_console(void); |
Also available in: Unified diff