historical/m0-applesillicon.git/xnu-qemu-arm64-5.1.0/roms/openbios/drivers/cuda.h
2024-01-16 11:20:27 -06:00

17 lines
263 B
C

#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);