/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool
1
2
3
4
5
6
7
8
9
10
11
#ifndef _PCIDRIVER_H
#define _PCIDRIVER_H

/**
 * Evaluates if the supplied user-space address is actually BAR mapping.
 * @param[in] address	- the user-space address
 * @return		- the hardware address of BAR or 0 if the \p address is not BAR mapping
 */
extern unsigned long pcidriver_resolve_bar(unsigned long address);

#endif /* _PCIDRIVER_H */