1extern int fd; 2extern shared_info *si; 3extern area_id shared_info_area; 4extern area_id regs_area; 5extern vuint32 *regs; 6extern display_mode *my_mode_list; 7extern area_id my_mode_list_area; 8extern int accelerantIsClone; 9 10extern eng_get_set_pci eng_pci_access; 11extern eng_in_out_isa eng_isa_access; 12 13 14typedef status_t (*crtc_validate_timing)(uint16*, uint16*, uint16*, uint16*, uint16*, uint16*, uint16*, uint16*); 15typedef status_t (*crtc_set_timing)(display_mode); 16typedef status_t (*crtc_depth)(int); 17typedef status_t (*crtc_dpms)(bool, bool, bool); 18typedef status_t (*crtc_dpms_fetch)(bool*, bool*, bool*); 19typedef status_t (*crtc_set_display_pitch)(void); 20typedef status_t (*crtc_set_display_start)(uint32, uint8); 21typedef status_t (*crtc_cursor_init)(void); 22typedef status_t (*crtc_cursor_show)(void); 23typedef status_t (*crtc_cursor_hide)(void); 24typedef status_t (*crtc_cursor_define)(uint8*, uint8*); 25typedef status_t (*crtc_cursor_position)(uint16, uint16); 26 27typedef status_t (*dac_mode)(int, float); 28typedef status_t (*dac_palette)(uint8[256], uint8[256], uint8[256]); 29typedef status_t (*dac_set_pix_pll)(display_mode); 30typedef status_t (*dac_pix_pll_find)(display_mode, float*, uint8*, uint8*, uint8*, uint8); 31 32extern crtc_validate_timing head1_validate_timing; 33extern crtc_set_timing head1_set_timing; 34extern crtc_depth head1_depth; 35extern crtc_dpms head1_dpms; 36extern crtc_dpms_fetch head1_dpms_fetch; 37extern crtc_set_display_pitch head1_set_display_pitch; 38extern crtc_set_display_start head1_set_display_start; 39extern crtc_cursor_init head1_cursor_init; 40extern crtc_cursor_show head1_cursor_show; 41extern crtc_cursor_hide head1_cursor_hide; 42extern crtc_cursor_define head1_cursor_define; 43extern crtc_cursor_position head1_cursor_position; 44 45extern crtc_validate_timing head2_validate_timing; 46extern crtc_set_timing head2_set_timing; 47extern crtc_depth head2_depth; 48extern crtc_dpms head2_dpms; 49extern crtc_dpms_fetch head2_dpms_fetch; 50extern crtc_set_display_pitch head2_set_display_pitch; 51extern crtc_set_display_start head2_set_display_start; 52extern crtc_cursor_init head2_cursor_init; 53extern crtc_cursor_show head2_cursor_show; 54extern crtc_cursor_hide head2_cursor_hide; 55extern crtc_cursor_define head2_cursor_define; 56extern crtc_cursor_position head2_cursor_position; 57 58extern dac_mode head1_mode; 59extern dac_palette head1_palette; 60extern dac_set_pix_pll head1_set_pix_pll; 61extern dac_pix_pll_find head1_pix_pll_find; 62 63extern dac_mode head2_mode; 64extern dac_palette head2_palette; 65extern dac_set_pix_pll head2_set_pix_pll; 66extern dac_pix_pll_find head2_pix_pll_find; 67