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 int16 current_mode; // index in the mode_list, or -1 if using a custom mode 23 24 vesa_mode *vesa_modes; 25 } accelerant_info; 26 27 extern accelerant_info *gInfo; 28 29 extern status_t create_mode_list(void); 30 31 #endif /* VESA_ACCELERANT_H */ 32