From owner-p4-projects@FreeBSD.ORG Fri Sep 12 10:26:30 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 6CD2A16A4C1; Fri, 12 Sep 2003 10:26:30 -0700 (PDT) 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 2B17A16A4BF for ; Fri, 12 Sep 2003 10:26:30 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DE9943FFD for ; Fri, 12 Sep 2003 10:26:29 -0700 (PDT) (envelope-from peter@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h8CHQT0U075786 for ; Fri, 12 Sep 2003 10:26:29 -0700 (PDT) (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h8CHQSTE075783 for perforce@freebsd.org; Fri, 12 Sep 2003 10:26:28 -0700 (PDT) Date: Fri, 12 Sep 2003 10:26:28 -0700 (PDT) Message-Id: <200309121726.h8CHQSTE075783@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm To: Perforce Change Reviews Subject: PERFORCE change 37962 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Sep 2003 17:26:30 -0000 http://perforce.freebsd.org/chv.cgi?CH=37962 Change 37962 by peter@peter_hammer on 2003/09/12 10:25:51 Tweaks to survive 'make depend' Affected files ... .. //depot/projects/hammer/sys/amd64/amd64/identcpu.c#13 edit .. //depot/projects/hammer/sys/amd64/amd64/mp_machdep.c#4 edit .. //depot/projects/hammer/sys/amd64/amd64/mpboot.s#4 edit .. //depot/projects/hammer/sys/amd64/amd64/nexus.c#12 edit .. //depot/projects/hammer/sys/amd64/include/pcpu.h#10 edit .. //depot/projects/hammer/sys/amd64/isa/atpic_vector.s#2 edit .. //depot/projects/hammer/sys/amd64/isa/npx.c#7 edit .. //depot/projects/hammer/sys/conf/files.amd64#23 edit Differences ... ==== //depot/projects/hammer/sys/amd64/amd64/identcpu.c#13 (text+ko) ==== @@ -60,7 +60,7 @@ #include #include -#include +#include /* XXX - should be in header file: */ void printcpuinfo(void); ==== //depot/projects/hammer/sys/amd64/amd64/mp_machdep.c#4 (text+ko) ==== @@ -26,7 +26,6 @@ #include __FBSDID("$FreeBSD: src/sys/i386/i386/mp_machdep.c,v 1.216 2003/09/10 01:36:48 jhb Exp $"); -#include "opt_apic.h" #include "opt_cpu.h" #include "opt_kstack_pages.h" @@ -34,10 +33,6 @@ #if !defined(SMP) #error How did you get here? #endif - -#ifndef DEV_APIC -#error The apic device is required for SMP, add "device apic" to your config file. -#endif #endif /* not lint */ #include ==== //depot/projects/hammer/sys/amd64/amd64/mpboot.s#4 (text+ko) ==== @@ -34,8 +34,6 @@ * $FreeBSD: src/sys/i386/i386/mpboot.s,v 1.20 2003/03/30 05:24:52 jake Exp $ */ -#include "opt_pmap.h" - #include /* miscellaneous asm macros */ #include #include ==== //depot/projects/hammer/sys/amd64/amd64/nexus.c#12 (text+ko) ==== @@ -46,7 +46,7 @@ #include #include #include -#include +#include #include #include #include ==== //depot/projects/hammer/sys/amd64/include/pcpu.h#10 (text+ko) ==== @@ -40,7 +40,8 @@ */ #define PCPU_MD_FIELDS \ struct pcpu *pc_prvspace; /* Self-reference */ \ - register_t pc_scratch_rsp; /* User %rsp in syscall */ + struct pmap *pc_curpmap; \ + register_t pc_scratch_rsp; /* User %rsp in syscall */ \ u_int pc_apic_id; #if defined(lint) ==== //depot/projects/hammer/sys/amd64/isa/atpic_vector.s#2 (text+ko) ==== @@ -40,8 +40,6 @@ * master and slave interrupt controllers. */ -#include "opt_auto_eoi.h" - #include #include #ifdef PC98 ==== //depot/projects/hammer/sys/amd64/isa/npx.c#7 (text+ko) ==== @@ -69,7 +69,7 @@ #include #include -#include +#include #ifdef DEV_ISA #include #endif ==== //depot/projects/hammer/sys/conf/files.amd64#23 (text+ko) ==== @@ -8,13 +8,13 @@ # dependency lines other than the first are silently ignored. # -ia32_genassym.o optional ia32 \ +ia32_genassym.o standard \ dependency "$S/compat/ia32/ia32_genassym.c" \ compile-with "${CC} ${CFLAGS:N-fno-common} -c ${.IMPSRC}" \ no-obj no-implicit-rule \ clean "ia32_genassym.o" # -ia32_assym.h optional ia32 \ +ia32_assym.h standard \ dependency "$S/kern/genassym.sh ia32_genassym.o" \ compile-with "env NM=${NM} sh $S/kern/genassym.sh ia32_genassym.o > ${.TARGET}" \ no-obj no-implicit-rule before-depend \ @@ -65,14 +65,12 @@ amd64/amd64/exception.S standard amd64/amd64/identcpu.c standard amd64/amd64/initcpu.c standard -amd64/amd64/intr_machdep.c standard amd64/amd64/io_apic.c standard amd64/amd64/legacy.c standard amd64/amd64/local_apic.c standard amd64/amd64/locore.S standard no-obj amd64/amd64/machdep.c standard amd64/amd64/mem.c standard -amd64/amd64/mp_clock.c optional smp amd64/amd64/mp_machdep.c optional smp amd64/amd64/mpboot.s optional smp amd64/amd64/mptable.c standard