Date: Sat, 18 Nov 2006 21:52:26 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ia64/ia64 interrupt.c machdep.c mp_machdep.c src/sys/ia64/include kdb.h pcpu.h Message-ID: <200611182152.kAILqQWt091613@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611182152.kAILqQWt091613>