mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Prefer phys_addr_t for physical addresses. Resort to uintptr_t where a conversion to pointer occurs, since the physical address may be larger (e.g., sparc32). v2: * Use phys_addr_t. Signed-off-by: Andreas Färber <andreas.faerber@web.de> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@933 f158a5a8-5612-0410-a976-696ce0be7e32
18 lines
263 B
C
18 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);
|