1/*
2	Copyright 1999, Be Incorporated.   All Rights Reserved.
3	This file may be used under the terms of the Be Sample Code License.
4
5	Other authors:
6	Mark Watson,
7	Rudolf Cornelissen 8/2004
8*/
9
10#include "std.h"
11
12int fd;
13shared_info *si;
14area_id shared_info_area;
15vuint32 *regs;
16area_id regs_area;
17display_mode *my_mode_list;
18area_id	my_mode_list_area;
19int accelerantIsClone;
20
21crtc_validate_timing 	head1_validate_timing;
22crtc_set_timing 		head1_set_timing;
23crtc_depth				head1_depth;
24crtc_dpms				head1_dpms;
25crtc_dpms_fetch			head1_dpms_fetch;
26crtc_set_display_pitch	head1_set_display_pitch;
27crtc_set_display_start	head1_set_display_start;
28crtc_cursor_init		head1_cursor_init;
29crtc_cursor_show		head1_cursor_show;
30crtc_cursor_hide		head1_cursor_hide;
31crtc_cursor_define		head1_cursor_define;
32crtc_cursor_position	head1_cursor_position;
33
34crtc_validate_timing	head2_validate_timing;
35crtc_set_timing			head2_set_timing;
36crtc_depth				head2_depth;
37crtc_dpms				head2_dpms;
38crtc_dpms_fetch			head2_dpms_fetch;
39crtc_set_display_pitch	head2_set_display_pitch;
40crtc_set_display_start	head2_set_display_start;
41crtc_cursor_init		head2_cursor_init;
42crtc_cursor_show		head2_cursor_show;
43crtc_cursor_hide		head2_cursor_hide;
44crtc_cursor_define		head2_cursor_define;
45crtc_cursor_position	head2_cursor_position;
46
47dac_mode				head1_mode;
48dac_palette				head1_palette;
49dac_set_pix_pll			head1_set_pix_pll;
50dac_pix_pll_find		head1_pix_pll_find;
51
52dac_mode				head2_mode;
53dac_palette				head2_palette;
54dac_set_pix_pll			head2_set_pix_pll;
55dac_pix_pll_find		head2_pix_pll_find;
56
57eng_get_set_pci eng_pci_access=
58	{
59		VIA_PRIVATE_DATA_MAGIC,
60		0,
61		4,
62		0
63	};
64
65eng_in_out_isa eng_isa_access=
66	{
67		VIA_PRIVATE_DATA_MAGIC,
68		0,
69		1,
70		0
71	};
72