Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ieee1394 Add defines for supporting page tables



details:   https://anonhg.NetBSD.org/src/rev/35deb4f1b0a3
branches:  trunk
changeset: 540577:35deb4f1b0a3
user:      jmc <jmc%NetBSD.org@localhost>
date:      Thu Dec 19 09:56:10 2002 +0000

description:
Add defines for supporting page tables

diffstat:

 sys/dev/ieee1394/sbp2reg.h |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r c4633fca5165 -r 35deb4f1b0a3 sys/dev/ieee1394/sbp2reg.h
--- a/sys/dev/ieee1394/sbp2reg.h        Thu Dec 19 09:17:01 2002 +0000
+++ b/sys/dev/ieee1394/sbp2reg.h        Thu Dec 19 09:56:10 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sbp2reg.h,v 1.4 2002/12/18 06:08:21 jmc Exp $  */
+/*     $NetBSD: sbp2reg.h,v 1.5 2002/12/19 09:56:10 jmc Exp $  */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -231,7 +231,10 @@
 #define SBP2_STATE_SUSPENDED   0x2
 #define SBP2_STATE_DEAD                0x3
 
-#define SBP2_MAXPHYS           (0x10000 - 2048)
+#define SBP2_MAXPHYS           0xffff
+#define SBP2_PHYS_SEGMENT      (0x10000 - 4)
+
+#define SBP2_PTENT_SIZE                16
 
 struct sbp2_pte_u {
        uint32_t seg_hi_length;



Home | Main Index | Thread Index | Old Index