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.
This commit is contained in:
bsh 2005-03-18 11:22:23 +00:00
parent 08498f7926
commit 25645b8f42
2 changed files with 11 additions and 8 deletions

View File

@ -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 @@ initarm(void *arg)
* 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);

View File

@ -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 @@ initarm(void *arg)
* 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().
*
*/