summaryrefslogtreecommitdiffstats
path: root/driver/pcidriver.h
blob: d64c80a82927890d4523112ddaece91afa218211 (plain)
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 */