iPXE
Defines | Functions
iomap_pages.h File Reference

I/O mapping API using page tables. More...

Go to the source code of this file.

Defines

#define IOMAP_PREFIX_pages   __pages_

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
static __always_inline
unsigned long 
IOMAP_INLINE (pages, io_to_bus)(volatileconst void *io_addr)

Detailed Description

I/O mapping API using page tables.

Definition in file iomap_pages.h.


Define Documentation

#define IOMAP_PREFIX_pages   __pages_

Definition at line 15 of file iomap_pages.h.


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )
static __always_inline unsigned long IOMAP_INLINE ( pages  ,
io_to_bus   
) const volatile [inline, static]

Definition at line 19 of file iomap_pages.h.

                                                                   {
        /* Not easy to do; just return the CPU address for debugging purposes */
        return ( ( intptr_t ) io_addr );
}