Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

iomap_pages.h 509B

123456789101112131415161718192021222324
  1. #ifndef _IPXE_IOMAP_PAGES_H
  2. #define _IPXE_IOMAP_PAGES_H
  3. /** @file
  4. *
  5. * I/O mapping API using page tables
  6. *
  7. */
  8. FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
  9. #ifdef IOMAP_PAGES
  10. #define IOMAP_PREFIX_pages
  11. #else
  12. #define IOMAP_PREFIX_pages __pages_
  13. #endif
  14. static inline __always_inline unsigned long
  15. IOMAP_INLINE ( pages, io_to_bus ) ( volatile const void *io_addr ) {
  16. /* Not easy to do; just return the CPU address for debugging purposes */
  17. return ( ( intptr_t ) io_addr );
  18. }
  19. #endif /* _IPXE_IOMAP_PAGES_H */