summaryrefslogtreecommitdiffstats
path: root/qemu/roms/openbios/drivers/cuda.h
blob: d3818c03cee1a3cec92d565e4d726382853d28bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "adb_bus.h"

struct cuda_t {
	phys_addr_t base;
	adb_bus_t *adb_bus;
};
typedef struct cuda_t cuda_t;

enum {
	CHARDEV_KBD = 0,
	CHARDEV_MOUSE,
	CHARDEV_SERIAL,
	CHARDEV_DISPLAY,
	CHARDEV_LAST,
};

cuda_t *cuda_init (const char *path, phys_addr_t base);