summaryrefslogtreecommitdiffstats
path: root/sys/pc98/i386
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2003-09-23 08:22:34 +0000
committernyan <nyan@FreeBSD.org>2003-09-23 08:22:34 +0000
commit2ae09c9acefe7434b4283d932e326a961af2723f (patch)
tree7c37e05e21434e51e4ee071cbbd03a0e312848b9 /sys/pc98/i386
parentac7d8771f0bd6a8543c290e4857c2350d581c282 (diff)
downloadFreeBSD-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/i386')
-rw-r--r--sys/pc98/i386/busiosubr.c8
1 files changed, 8 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)
{
OpenPOWER on IntegriCloud