1 /* 2 * Copyright 2006-2010, Haiku, Inc. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Axel Dörfler, axeld@pinc-software.de 7 * Clemens Zeidler, haiku@clemens-zeidler.de 8 */ 9 #ifndef RADEON_RD_PRIVATE_H 10 #define RADEON_RD_PRIVATE_H 11 12 13 #include <AGP.h> 14 #include <KernelExport.h> 15 #include <PCI.h> 16 17 18 #include "radeon_hd.h" 19 #include "lock.h" 20 21 22 struct radeon_info { 23 int32 open_count; 24 status_t init_status; 25 int32 id; 26 pci_info* pci; 27 uint8* registers; 28 area_id registers_area; 29 area_id framebuffer_area; 30 31 struct radeon_shared_info* shared_info; 32 area_id shared_area; 33 34 const char* device_identifier; 35 DeviceType device_type; 36 }; 37 38 39 extern status_t radeon_hd_init(radeon_info& info); 40 extern void radeon_hd_uninit(radeon_info& info); 41 42 #endif /* RADEON_RD_PRIVATE_H */ 43