diff --git a/src/add-ons/accelerants/matrox/engine/mga_globals.c b/src/add-ons/accelerants/matrox/engine/mga_globals.c new file mode 100644 index 0000000000..e616f6f130 --- /dev/null +++ b/src/add-ons/accelerants/matrox/engine/mga_globals.c @@ -0,0 +1,26 @@ +/* + Copyright 1999, Be Incorporated. All Rights Reserved. + This file may be used under the terms of the Be Sample Code License. + + Other authors: + Mark Watson +*/ + +#include "mga_std.h" + +int fd; +shared_info *si; +area_id shared_info_area; +vuint32 *regs; +area_id regs_area; +display_mode *my_mode_list; +area_id my_mode_list_area; +int accelerantIsClone; + +gx00_get_set_pci gx00_pci_access= + { + GX00_PRIVATE_DATA_MAGIC, + 0, + 4, + 0 + }; diff --git a/src/add-ons/accelerants/matrox/engine/mga_globals.h b/src/add-ons/accelerants/matrox/engine/mga_globals.h new file mode 100644 index 0000000000..ba5534deed --- /dev/null +++ b/src/add-ons/accelerants/matrox/engine/mga_globals.h @@ -0,0 +1,10 @@ +extern int fd; +extern shared_info *si; +extern area_id shared_info_area; +extern area_id regs_area; +extern vuint32 *regs; +extern display_mode *my_mode_list; +extern area_id my_mode_list_area; +extern int accelerantIsClone; + +extern gx00_get_set_pci gx00_pci_access;