complete globals patch
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5708 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
6626d6e057
commit
d527030693
26
src/add-ons/accelerants/matrox/engine/mga_globals.c
Normal file
26
src/add-ons/accelerants/matrox/engine/mga_globals.c
Normal file
@ -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
|
||||||
|
};
|
10
src/add-ons/accelerants/matrox/engine/mga_globals.h
Normal file
10
src/add-ons/accelerants/matrox/engine/mga_globals.h
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user