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
32 #include "bochsga_pio.h"
33 #include "bochsga_engines.h"
48 udi_index_t pio_index;
51 udi_pio_handle_t pio_handles[N_PIO];
53 udi_boolean_t output_enable;
61 udi_ubit32_t max_width; // 1024 or 1280
62 udi_ubit32_t max_height; // 768 or 1024
65 engine_t engines[N_ENGINES];
68 #define BOCHSGA_MIN_WIDTH 360
69 #define BOCHSGA_MIN_HEIGHT 240