From owner-p4-projects@FreeBSD.ORG Wed Dec 14 18:24:16 2005 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 72FB716A422; Wed, 14 Dec 2005 18:24:16 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3584116A41F for ; Wed, 14 Dec 2005 18:24:16 +0000 (GMT) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED87643D45 for ; Wed, 14 Dec 2005 18:24:15 +0000 (GMT) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jBEIOFid082498 for ; Wed, 14 Dec 2005 18:24:15 GMT (envelope-from imp@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jBEIOFRd082495 for perforce@freebsd.org; Wed, 14 Dec 2005 18:24:15 GMT (envelope-from imp@freebsd.org) Date: Wed, 14 Dec 2005 18:24:15 GMT Message-Id: <200512141824.jBEIOFRd082495@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to imp@freebsd.org using -f From: Warner Losh To: Perforce Change Reviews Cc: Subject: PERFORCE change 88184 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2005 18:24:17 -0000 http://perforce.freebsd.org/chv.cgi?CH=88184 Change 88184 by imp@imp_Speedy on 2005/12/14 18:23:17 Force single user mode, and bring back the VA == PA thing. I'll test it again with it off in a second. Affected files ... .. //depot/projects/arm/src/sys/arm/at91/kb920x_machdep.c#12 edit Differences ... ==== //depot/projects/arm/src/sys/arm/at91/kb920x_machdep.c#12 (text+ko) ==== @@ -271,7 +271,7 @@ pmap_map_chunk(l1pagetable, KERNBASE, KERNPHYSADDR, (((uint32_t)(&end) - KERNBASE) + PAGE_SIZE) & ~(PAGE_SIZE - 1), VM_PROT_READ|VM_PROT_WRITE, PTE_CACHE); -#if 0 +#if 1 /* XXX PA == VA XXX */ pmap_map_chunk(l1pagetable, KERNPHYSADDR, KERNPHYSADDR, (((uint32_t)(&end) - KERNBASE) + L1_S_SIZE) & ~(L1_S_SIZE - 1), @@ -389,6 +389,7 @@ init_param2(memsize / PAGE_SIZE); avail_end = KERNPHYSADDR + memsize - 1; kdb_init(); + boothowto = RB_SINGLE; return ((void *)(kernelstack.pv_va + USPACE_SVC_STACK_TOP - sizeof(struct pcb))); }