diff options
| author | Michael Brown | 2008-10-12 03:11:50 +0200 |
|---|---|---|
| committer | Michael Brown | 2008-10-12 03:15:34 +0200 |
| commit | aef6d0df5cf4e4c917e44d6b145802fa206da246 (patch) | |
| tree | 69218e362822816b15dc0e9b4c95b19a6c943778 /src/arch/i386/core | |
| parent | [i386] Remove obsolete functions from virtaddr.h (diff) | |
| download | ipxe-aef6d0df5cf4e4c917e44d6b145802fa206da246.tar.gz ipxe-aef6d0df5cf4e4c917e44d6b145802fa206da246.tar.xz ipxe-aef6d0df5cf4e4c917e44d6b145802fa206da246.zip | |
[ioapi] Absorb virt_to_phys() and phys_to_virt() into the I/O API
Diffstat (limited to 'src/arch/i386/core')
| -rw-r--r-- | src/arch/i386/core/x86_io.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/arch/i386/core/x86_io.c b/src/arch/i386/core/x86_io.c index 926f1d60a..1aab6c964 100644 --- a/src/arch/i386/core/x86_io.c +++ b/src/arch/i386/core/x86_io.c @@ -65,10 +65,13 @@ static void x86_writeq ( uint64_t data, volatile uint64_t *io_addr ) { : : "A" ( data ), "r" ( io_addr ) ); } -PROVIDE_IOAPI_INLINE ( x86, iounmap ); -PROVIDE_IOAPI_INLINE ( x86, io_to_bus ); +PROVIDE_IOAPI_INLINE ( x86, virt_to_phys ); +PROVIDE_IOAPI_INLINE ( x86, phys_to_virt ); PROVIDE_IOAPI_INLINE ( x86, virt_to_bus ); PROVIDE_IOAPI_INLINE ( x86, bus_to_virt ); +PROVIDE_IOAPI_INLINE ( x86, ioremap ); +PROVIDE_IOAPI_INLINE ( x86, iounmap ); +PROVIDE_IOAPI_INLINE ( x86, io_to_bus ); PROVIDE_IOAPI_INLINE ( x86, readb ); PROVIDE_IOAPI_INLINE ( x86, readw ); PROVIDE_IOAPI_INLINE ( x86, readl ); |
