From d527030693a77fd804e8fe98c1fb31ecc6a00601 Mon Sep 17 00:00:00 2001 From: shatty Date: Thu, 18 Dec 2003 17:26:35 +0000 Subject: [PATCH] complete globals patch git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5708 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../accelerants/matrox/engine/mga_globals.c | 26 +++++++++++++++++++ .../accelerants/matrox/engine/mga_globals.h | 10 +++++++ 2 files changed, 36 insertions(+) create mode 100644 src/add-ons/accelerants/matrox/engine/mga_globals.c create mode 100644 src/add-ons/accelerants/matrox/engine/mga_globals.h 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;