2 * UDI Bochs Graphics Driver
3 * By John Hodge (thePowersGang)
8 #ifndef _BOCHSGA_COMMON_H_
9 #define _BOCHSGA_COMMON_H_
12 * Definitions to match udiprops.txt
15 #define BOCHSGA_META_BUS 1
16 #define BOCHSGA_META_GFX 2
18 #define BOCHSGA_OPS_DEV 1
19 #define BOCHSGA_OPS_GFX 2
21 #define BOCHSGA_CB_BUS_BIND 1
22 #define BOCHSGA_CB_GFX_BIND 2
23 #define BOCHSGA_CB_GFX_STATE 3
24 #define BOCHSGA_CB_GFX_RANGE 4
25 #define BOCHSGA_CB_GFX_COMMAND 5
27 #define BOCHSGA_MSGNUM_PROPUNK 1001
28 #define BOCHSGA_MSGNUM_BUFUNK 1002
33 #include "bochsga_pio.h"
50 udi_index_t pio_index;
53 udi_pio_handle_t pio_handles[N_PIO];
55 udi_boolean_t output_enable;
63 udi_ubit32_t max_width; // 1024 or 1280
64 udi_ubit32_t max_height; // 768 or 1024
67 engine_t engines[N_ENGINES];
70 #define BOCHSGA_MIN_WIDTH 360
71 #define BOCHSGA_MIN_HEIGHT 240