#ifndef    __S5PV210_DEVICE_DRIVER_LIB_H__
#define __S5PV210_DEVICE_DRIVER_LIB_H__

#if __cplusplus
extern "C"
{
#endif

void *DrvLib_MapIoSpace(UINT32 PhysicalAddress, UINT32 NumberOfBytes, BOOL CacheEnable);
void DrvLib_UnmapIoSpace(void *MappedAddress);

#define SET_BIT(val, pos) ((val) |= (0x1 << (pos)))
#define CLR_BIT(val, pos) ((val) &= (~(0x1 << (pos))))

#if __cplusplus
}
#endif

#endif    // __S5PV210_DEVICE_DRIVER_LIB_H__

