bzr branch
http://suren.me/webbzr/alps/pcitool
365
by Suren A. Chilingaryan
Restructure driver headers |
1 |
#ifndef _PCIDRIVER_H
|
2 |
#define _PCIDRIVER_H
|
|
3 |
||
4 |
/**
|
|
5 |
* Evaluates if the supplied user-space address is actually BAR mapping.
|
|
6 |
* @param[in] address - the user-space address
|
|
7 |
* @return - the hardware address of BAR or 0 if the \p address is not BAR mapping
|
|
8 |
*/
|
|
9 |
extern unsigned long pcidriver_resolve_bar(unsigned long address); |
|
10 |
||
11 |
#endif /* _PCIDRIVER_H */ |