Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/uebayasi-xip]: src/sys/arch/amd64/conf xmd(4) / XIP config for amd64.
details: https://anonhg.NetBSD.org/src/rev/add3d1f4643c
branches: uebayasi-xip
changeset: 751793:add3d1f4643c
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Fri Aug 27 09:41:51 2010 +0000
description:
xmd(4) / XIP config for amd64.
diffstat:
sys/arch/amd64/conf/XIP | 8 ++++++++
sys/arch/amd64/conf/majors.amd64 | 3 ++-
2 files changed, 10 insertions(+), 1 deletions(-)
diffs (29 lines):
diff -r 4ddaeddef394 -r add3d1f4643c sys/arch/amd64/conf/XIP
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/amd64/conf/XIP Fri Aug 27 09:41:51 2010 +0000
@@ -0,0 +1,8 @@
+# $NetBSD: XIP,v 1.1.2.1 2010/08/27 09:41:51 uebayasi Exp $
+
+include "arch/amd64/conf/GENERIC"
+
+options XIP
+
+pseudo-device xmd 1 # XIP memory disk device (ramdisk)
+options XMD_ROOT_SIZE=10240 # 5MB
diff -r 4ddaeddef394 -r add3d1f4643c sys/arch/amd64/conf/majors.amd64
--- a/sys/arch/amd64/conf/majors.amd64 Fri Aug 27 09:41:16 2010 +0000
+++ b/sys/arch/amd64/conf/majors.amd64 Fri Aug 27 09:41:51 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: majors.amd64,v 1.21 2008/11/12 12:35:56 ad Exp $
+# $NetBSD: majors.amd64,v 1.21.6.1 2010/08/27 09:41:52 uebayasi Exp $
#
# Device majors for amd64
#
@@ -89,6 +89,7 @@
device-major dpt char 96 dpt
device-major twe char 97 twe
device-major nsmb char 98 nsmb
+device-major xmd char 99 block 21 xmd
#
# Device majors for Xen. These are assigned here so that:
Home |
Main Index |
Thread Index |
Old Index