Generic hardware access library
|
00001 #ifndef __PCIDeviceIdentifier 00002 #define __PCIDeviceIdentifier 00003 00004 #include <stdint.h> 00005 #include "hal/DeviceIdentifier.hh" 00006 #include "hal/BusAdapterException.hh" 00007 00008 namespace HAL { 00009 00027 class PCIDeviceIdentifier : public DeviceIdentifier { 00028 public: 00032 virtual uint32_t getPCIBusAddress( uint32_t iBar ) const 00033 throw( BusAdapterException )= 0; 00034 virtual bool doSwap() const = 0; 00035 }; 00036 00037 } /* namespace HAL */ 00038 00039 #endif /* __PCIDeviceIdentifier */