From owner-cvs-all@FreeBSD.ORG Sat Nov 18 21:52:27 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4628416A403; Sat, 18 Nov 2006 21:52:27 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EC3C43D72; Sat, 18 Nov 2006 21:52:21 +0000 (GMT) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kAILqQwc091616; Sat, 18 Nov 2006 21:52:26 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kAILqQWt091613; Sat, 18 Nov 2006 21:52:26 GMT (envelope-from marcel) Message-Id: <200611182152.kAILqQWt091613@repoman.freebsd.org> From: Marcel Moolenaar Date: Sat, 18 Nov 2006 21:52:26 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/ia64/ia64 interrupt.c machdep.c mp_machdep.c src/sys/ia64/include kdb.h pcpu.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Nov 2006 21:52:27 -0000 marcel 2006-11-18 21:52:26 UTC FreeBSD src repository Modified files: sys/ia64/ia64 interrupt.c machdep.c mp_machdep.c sys/ia64/include kdb.h pcpu.h Log: Now that printf() needs the PCPU, set it up before we call printf(). Change the pc_pcb field from a pointer to struct pcb to struct pcb so that sizeof(struct pcb) includes the PCB we use for IPI_STOP. Statically declare early_pcb so that we don't have to allocate the PCB for thread0. This way we can setup the PCPU before cninit() and thus before we use printf(). Revision Changes Path 1.56 +1 -1 src/sys/ia64/ia64/interrupt.c 1.211 +8 -20 src/sys/ia64/ia64/machdep.c 1.62 +2 -2 src/sys/ia64/ia64/mp_machdep.c 1.4 +1 -1 src/sys/ia64/include/kdb.h 1.18 +4 -2 src/sys/ia64/include/pcpu.h