193ee2104SAxel Dörfler/*
26328832fSAxel Dörfler * Copyright 2005-2008, Axel D��rfler, axeld@pinc-software.de. All rights reserved.
393ee2104SAxel Dörfler * Distributed under the terms of the MIT License.
493ee2104SAxel Dörfler */
593ee2104SAxel Dörfler#ifndef VESA_ACCELERANT_H
693ee2104SAxel Dörfler#define VESA_ACCELERANT_H
793ee2104SAxel Dörfler
893ee2104SAxel Dörfler
993ee2104SAxel Dörfler#include "vesa_info.h"
1093ee2104SAxel Dörfler
1193ee2104SAxel Dörfler
1293ee2104SAxel Dörflertypedef struct accelerant_info {
136328832fSAxel Dörfler	int					device;
1493ee2104SAxel Dörfler	bool				is_clone;
1593ee2104SAxel Dörfler
1693ee2104SAxel Dörfler	area_id				shared_info_area;
1793ee2104SAxel Dörfler	vesa_shared_info	*shared_info;
1893ee2104SAxel Dörfler
196328832fSAxel Dörfler	area_id				mode_list_area;
206328832fSAxel Dörfler		// cloned list of standard display modes
2193ee2104SAxel Dörfler	display_mode		*mode_list;
22e0c25f98SAdrien Destugues	uint16				current_mode;
236328832fSAxel Dörfler
246328832fSAxel Dörfler	vesa_mode			*vesa_modes;
2593ee2104SAxel Dörfler} accelerant_info;
2693ee2104SAxel Dörfler
2793ee2104SAxel Dörflerextern accelerant_info *gInfo;
2893ee2104SAxel Dörfler
2993ee2104SAxel Dörflerextern status_t create_mode_list(void);
3093ee2104SAxel Dörfler
3193ee2104SAxel Dörfler#endif	/* VESA_ACCELERANT_H */
32