1 /* 2 * Copyright 2005-2008, Axel Dörfler, axeld@pinc-software.de. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef VESA_ACCELERANT_H 6 #define VESA_ACCELERANT_H 7 8 9 #include "vesa_info.h" 10 11 12 typedef struct accelerant_info { 13 int device; 14 bool is_clone; 15 16 area_id shared_info_area; 17 vesa_shared_info *shared_info; 18 19 area_id mode_list_area; 20 // cloned list of standard display modes 21 display_mode *mode_list; 22 23 vesa_mode *vesa_modes; 24 } accelerant_info; 25 26 extern accelerant_info *gInfo; 27 28 extern status_t create_mode_list(void); 29 30 #endif /* VESA_ACCELERANT_H */ 31