Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm26/include Add a minimal bus_space_mmap which al...



details:   https://anonhg.NetBSD.org/src/rev/23d8b6dbe50e
branches:  trunk
changeset: 514849:23d8b6dbe50e
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Tue Sep 11 11:38:59 2001 +0000

description:
Add a minimal bus_space_mmap which always fails.  The MEMC can only map DRAM
into the user's address space -- I/O devices can only ever be got at by the
kernel.

diffstat:

 sys/arch/arm26/include/bus.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r aea190c8f170 -r 23d8b6dbe50e sys/arch/arm26/include/bus.h
--- a/sys/arch/arm26/include/bus.h      Tue Sep 11 10:50:52 2001 +0000
+++ b/sys/arch/arm26/include/bus.h      Tue Sep 11 11:38:59 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus.h,v 1.5 2001/06/12 20:16:23 bjh21 Exp $ */
+/* $NetBSD: bus.h,v 1.6 2001/09/11 11:38:59 bjh21 Exp $ */
 
 /*-
  * Copyright (c) 2000 Ben Harris
@@ -70,6 +70,9 @@
 #define bus_space_alloc(t, rs, re, s, a, b, c, ap, hp) (-1)
 #define bus_space_free(t, h, s) /* Do nothing */
 
+/* Mapping bus space into user address space (impossible on arm26) */
+#define bus_space_mmap(t, a, o, p, f) (-1)
+
 /* Used by ne2000.c */
 #define BUS_SPACE_ALIGNED_POINTER ALIGNED_POINTER
 



Home | Main Index | Thread Index | Old Index