Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm modify comments for clarity.



details:   https://anonhg.NetBSD.org/src/rev/12107d2912a6
branches:  trunk
changeset: 579577:12107d2912a6
user:      bsh <bsh%NetBSD.org@localhost>
date:      Fri Mar 18 11:22:23 2005 +0000

description:
modify comments for clarity.

Original comments made several people misunderstand that the comment
says kernel's pagetable is at 0xa0004000.  What the comment says is
about RedBoot's pagetable.

diffstat:

 sys/arch/evbarm/g42xxeb/g42xxeb_machdep.c |   9 +++++----
 sys/arch/evbarm/lubbock/lubbock_machdep.c |  10 ++++++----
 2 files changed, 11 insertions(+), 8 deletions(-)

diffs (54 lines):

diff -r 92f643631740 -r 12107d2912a6 sys/arch/evbarm/g42xxeb/g42xxeb_machdep.c
--- a/sys/arch/evbarm/g42xxeb/g42xxeb_machdep.c Fri Mar 18 11:15:40 2005 +0000
+++ b/sys/arch/evbarm/g42xxeb/g42xxeb_machdep.c Fri Mar 18 11:22:23 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: g42xxeb_machdep.c,v 1.2 2005/03/17 16:22:57 bsh Exp $ */
+/*     $NetBSD: g42xxeb_machdep.c,v 1.3 2005/03/18 11:22:23 bsh Exp $ */
 
 /*
  * Copyright (c) 2002, 2003, 2004, 2005  Genetec Corporation.  
@@ -487,9 +487,10 @@
         * 0xfd400000 - 0xfd4fffff  N N N  FF-UART
         * 0xfd500000 - 0xfd5fffff  N N N  BT-UART
         *
-        * The first level page table is at 0xa0004000.  There are also
-        * 2 second-level tables at 0xa0008000 and 0xa0008400.
-        *
+        * RedBoot's first level page table is at 0xa0004000.  There
+        * are also 2 second-level tables at 0xa0008000 and
+        * 0xa0008400.  We will continue to use them until we switch to
+        * our pagetable by setttb().
         */
 
        cpu_domains((DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2)) | DOMAIN_CLIENT);
diff -r 92f643631740 -r 12107d2912a6 sys/arch/evbarm/lubbock/lubbock_machdep.c
--- a/sys/arch/evbarm/lubbock/lubbock_machdep.c Fri Mar 18 11:15:40 2005 +0000
+++ b/sys/arch/evbarm/lubbock/lubbock_machdep.c Fri Mar 18 11:22:23 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lubbock_machdep.c,v 1.6 2005/03/17 16:22:56 bsh Exp $ */
+/*     $NetBSD: lubbock_machdep.c,v 1.7 2005/03/18 11:22:23 bsh Exp $ */
 
 /*
  * Copyright (c) 2002, 2003, 2005  Genetec Corporation.  All rights reserved.
@@ -112,7 +112,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lubbock_machdep.c,v 1.6 2005/03/17 16:22:56 bsh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lubbock_machdep.c,v 1.7 2005/03/18 11:22:23 bsh Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -501,8 +501,10 @@
         * 0xfd400000 - 0xfd4fffff  N N N  FF-UART
         * 0xfd500000 - 0xfd5fffff  N N N  BT-UART
         *
-        * The first level page table is at 0xa0004000.  There are also
-        * 2 second-level tables at 0xa0008000 and 0xa0008400.
+        * RedBoot's first level page table is at 0xa0004000.  There
+        * are also 2 second-level tables at 0xa0008000 and
+        * 0xa0008400.  We will continue to use them until we switch to
+        * our pagetable by setttb().
         *
         */
 



Home | Main Index | Thread Index | Old Index