Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/uebayasi-xip]: src/sys/sys Directly memory-mappable block devices (typic...
details: https://anonhg.NetBSD.org/src/rev/b932c85adb3f
branches: uebayasi-xip
changeset: 751564:b932c85adb3f
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Thu Feb 11 05:19:35 2010 +0000
description:
Directly memory-mappable block devices (typically NOR FlashROMs) can implement
DIOCGPHYSADDR and return its physical base address.
diffstat:
sys/sys/dkio.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 34495a6ad1e9 -r b932c85adb3f sys/sys/dkio.h
--- a/sys/sys/dkio.h Wed Feb 10 15:48:28 2010 +0000
+++ b/sys/sys/dkio.h Thu Feb 11 05:19:35 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dkio.h,v 1.15 2009/12/22 18:55:25 pooka Exp $ */
+/* $NetBSD: dkio.h,v 1.15.2.1 2010/02/11 05:19:35 uebayasi Exp $ */
/*
* Copyright (c) 1987, 1988, 1993
@@ -105,4 +105,7 @@
/* get disk-info dictionary */
#define DIOCGDISKINFO _IOR('d', 127, struct plistref)
+ /* get physical address if directly memory-mappable (XIP) */
+#define DIOCGPHYSADDR _IOR('d', 128, paddr_t)
+
#endif /* _SYS_DKIO_H_ */
Home |
Main Index |
Thread Index |
Old Index