From owner-p4-projects@FreeBSD.ORG Sat Dec 10 05:31:11 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 E5E8C16A423; Sat, 10 Dec 2005 05:31:10 +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 A4A8516A420 for ; Sat, 10 Dec 2005 05:31:10 +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 507ED43D55 for ; Sat, 10 Dec 2005 05:31:10 +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 jBA5VAAg077513 for ; Sat, 10 Dec 2005 05:31:10 GMT (envelope-from imp@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jBA5VA2u077510 for perforce@freebsd.org; Sat, 10 Dec 2005 05:31:10 GMT (envelope-from imp@freebsd.org) Date: Sat, 10 Dec 2005 05:31:10 GMT Message-Id: <200512100531.jBA5VA2u077510@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 87999 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: Sat, 10 Dec 2005 05:31:11 -0000 http://perforce.freebsd.org/chv.cgi?CH=87999 Change 87999 by imp@imp_Speedy on 2005/12/10 05:30:47 remove obsolete debug statements. Affected files ... .. //depot/projects/arm/src/sys/arm/at91/kb920x_machdep.c#10 edit Differences ... ==== //depot/projects/arm/src/sys/arm/at91/kb920x_machdep.c#10 (text+ko) ==== @@ -284,10 +284,12 @@ pmap_map_chunk(l1pagetable, KERNBASE, KERNPHYSADDR, (((uint32_t)(&end) - KERNBASE) + PAGE_SIZE) & ~(PAGE_SIZE - 1), VM_PROT_READ|VM_PROT_WRITE, PTE_CACHE); +#if 1 /* XXX PA == VA XXX */ pmap_map_chunk(l1pagetable, KERNPHYSADDR, KERNPHYSADDR, (((uint32_t)(&end) - KERNBASE) + L1_S_SIZE) & ~(L1_S_SIZE - 1), VM_PROT_READ|VM_PROT_WRITE, PTE_CACHE); +#endif afterkern = round_page(((vm_offset_t)&end + L1_S_SIZE) & ~(L1_S_SIZE - 1)); for (i = 0; i < KERNEL_PT_AFKERNEL_NUM; i++) { @@ -325,15 +327,10 @@ printf("pa is %x va is %x\n", kernel_l1pt.pv_pa, kernel_l1pt.pv_va); pmap_devmap_bootstrap(l1pagetable, kb920x_devmap); - printf("1"); cpu_domains((DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2)) | DOMAIN_CLIENT); - printf("1"); setttb(kernel_l1pt.pv_pa); - printf("1"); cpu_tlb_flushID(); - printf("1"); cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2)); - printf("1"); /* * Pages were allocated during the secondary bootstrap for the @@ -368,7 +365,6 @@ /* Set stack for exception handlers */ - printf("9"); data_abort_handler_address = (u_int)data_abort_handler; prefetch_abort_handler_address = (u_int)prefetch_abort_handler; undefined_handler_address = (u_int)undefinedinstruction_bounce; @@ -384,9 +380,6 @@ arm_vector_init(ARM_VECTORS_LOW, ARM_VEC_ALL); - - printf("a"); - pmap_curmaxkvaddr = afterkern + 0x100000 * (KERNEL_PT_KERN_NUM - 1); pmap_bootstrap(freemempos, KERNVIRTADDR + 3 * memsize, @@ -395,7 +388,6 @@ msgbufinit(msgbufp, MSGBUF_SIZE); mutex_init(); - printf("b"); i = 0; dump_avail[0] = KERNPHYSADDR; dump_avail[1] = KERNPHYSADDR + memsize; @@ -410,9 +402,7 @@ init_param1(); init_param2(memsize / PAGE_SIZE); avail_end = KERNPHYSADDR + memsize - 1; - printf("c"); kdb_init(); - printf("d"); return ((void *)(kernelstack.pv_va + USPACE_SVC_STACK_TOP - sizeof(struct pcb))); }