#ifndef __ASM_XENCONS_H__
#define __ASM_XENCONS_H__

struct dom0_vga_console_info;
void dom0_init_screen_info(const struct dom0_vga_console_info *info);

void xencons_force_flush(void);
void xencons_resume(void);

/* Interrupt work hooks. Receive data, or kick data out. */
void xencons_rx(char *buf, unsigned len, struct pt_regs *regs);
void xencons_tx(void);

int xencons_ring_init(void);
int xencons_ring_send(const char *data, unsigned len);

void xencons_early_setup(void);

#endif /* __ASM_XENCONS_H__ */
