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_PRIVATE_H 6 #define VESA_PRIVATE_H 7 8 9 #include <Drivers.h> 10 #include <Accelerant.h> 11 #include <PCI.h> 12 13 14 #define DEVICE_NAME "vesa" 15 #define VESA_ACCELERANT_NAME "vesa.accelerant" 16 17 18 struct vesa_get_supported_modes; 19 20 struct vesa_info { 21 uint32 cookie_magic; 22 int32 open_count; 23 int32 id; 24 pci_info *pci; 25 struct vesa_shared_info *shared_info; 26 area_id shared_area; 27 }; 28 29 extern status_t vesa_init(vesa_info &info); 30 extern void vesa_uninit(vesa_info &info); 31 32 #endif /* VESA_PRIVATE_H */ 33