diff options
author | nyan <nyan@FreeBSD.org> | 2003-09-23 08:22:34 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2003-09-23 08:22:34 +0000 |
commit | 2ae09c9acefe7434b4283d932e326a961af2723f (patch) | |
tree | 7c37e05e21434e51e4ee071cbbd03a0e312848b9 /sys/pc98 | |
parent | ac7d8771f0bd6a8543c290e4857c2350d581c282 (diff) | |
download | FreeBSD-src-2ae09c9acefe7434b4283d932e326a961af2723f.zip FreeBSD-src-2ae09c9acefe7434b4283d932e326a961af2723f.tar.gz |
Implement the bus_space_map() function to allocate resources and initialize
a bus_handle, but currently it does only initializing a bus_handle.
Diffstat (limited to 'sys/pc98')
-rw-r--r-- | sys/pc98/i386/busiosubr.c | 8 | ||||
-rw-r--r-- | sys/pc98/pc98/busiosubr.c | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/sys/pc98/i386/busiosubr.c b/sys/pc98/i386/busiosubr.c index d8fadad..f88e8e4 100644 --- a/sys/pc98/i386/busiosubr.c +++ b/sys/pc98/i386/busiosubr.c @@ -197,6 +197,14 @@ i386_bus_space_handle_free(bus_space_tag_t t, bus_space_handle_t bsh, /************************************************************************* * map *************************************************************************/ +int +i386_memio_map(bus_space_tag_t t, bus_addr_t bpa, bus_size_t size, int flags, + bus_space_handle_t *bshp) +{ + + return i386_bus_space_handle_alloc(t, bpa, size, bshp); +} + void i386_memio_unmap(bus_space_tag_t t, bus_space_handle_t bsh, bus_size_t size) { diff --git a/sys/pc98/pc98/busiosubr.c b/sys/pc98/pc98/busiosubr.c index d8fadad..f88e8e4 100644 --- a/sys/pc98/pc98/busiosubr.c +++ b/sys/pc98/pc98/busiosubr.c @@ -197,6 +197,14 @@ i386_bus_space_handle_free(bus_space_tag_t t, bus_space_handle_t bsh, /************************************************************************* * map *************************************************************************/ +int +i386_memio_map(bus_space_tag_t t, bus_addr_t bpa, bus_size_t size, int flags, + bus_space_handle_t *bshp) +{ + + return i386_bus_space_handle_alloc(t, bpa, size, bshp); +} + void i386_memio_unmap(bus_space_tag_t t, bus_space_handle_t bsh, bus_size_t size) { |