From owner-p4-projects Thu Apr 11 20:35:50 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 2274837B405; Thu, 11 Apr 2002 20:35:39 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6B02137B41C for ; Thu, 11 Apr 2002 20:35:35 -0700 (PDT) Received: (from perforce@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3C3ZZU22826 for perforce@freebsd.org; Thu, 11 Apr 2002 20:35:35 -0700 (PDT) (envelope-from peter@freebsd.org) Date: Thu, 11 Apr 2002 20:35:35 -0700 (PDT) Message-Id: <200204120335.g3C3ZZU22826@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm Subject: PERFORCE change 9592 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://people.freebsd.org/~peter/p4db/chv.cgi?CH=9592 Change 9592 by peter@peter_thunder on 2002/04/11 20:35:14 Note to self: do not use variables before they are initialized. Affected files ... ... //depot/projects/ia64/sys/ia64/ia64/machdep.c#24 edit Differences ... ==== //depot/projects/ia64/sys/ia64/ia64/machdep.c#24 (text+ko) ==== @@ -669,7 +669,6 @@ */ pcpup = (struct pcpu *) pmap_steal_memory(PAGE_SIZE); pcpu_init(pcpup, 0, PAGE_SIZE); - pcpup->pc_current_pmap = kernel_pmap; ia64_set_k4((u_int64_t) pcpup); PCPU_SET(curthread, &thread0); @@ -695,6 +694,7 @@ * Initialize the virtual memory system. */ pmap_bootstrap(); + pcpup->pc_current_pmap = kernel_pmap; /* * Initialize debuggers, and break into them if appropriate. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message