pcidriver.h 348 B

1234567891011
  1. #ifndef _PCIDRIVER_H
  2. #define _PCIDRIVER_H
  3. /**
  4. * Evaluates if the supplied user-space address is actually BAR mapping.
  5. * @param[in] address - the user-space address
  6. * @return - the hardware address of BAR or 0 if the \p address is not BAR mapping
  7. */
  8. extern unsigned long pcidriver_resolve_bar(unsigned long address);
  9. #endif /* _PCIDRIVER_H */