Generate dependencies on the CPU type options (I386_CPU, I486_CPU, ...)
This commit is contained in:
parent
2708e4180f
commit
1484fa567d
@ -1,4 +1,4 @@
|
||||
# $NetBSD: files.i386,v 1.99 1998/01/15 07:40:06 thorpej Exp $
|
||||
# $NetBSD: files.i386,v 1.100 1998/01/15 19:47:36 thorpej Exp $
|
||||
#
|
||||
# new style config file for i386 architecture
|
||||
#
|
||||
@ -8,6 +8,9 @@ maxpartitions 8
|
||||
|
||||
maxusers 2 16 64
|
||||
|
||||
# Processor type options.
|
||||
defopt opt_cputype.h I386_CPU I486_CPU I586_CPU I686_CPU
|
||||
|
||||
file arch/i386/i386/autoconf.c
|
||||
file arch/i386/i386/conf.c
|
||||
file arch/i386/i386/db_disasm.c ddb
|
||||
|
@ -1,5 +1,4 @@
|
||||
|
||||
/* $NetBSD: locore.s,v 1.179 1997/11/19 11:11:22 mycroft Exp $ */
|
||||
/* $NetBSD: locore.s,v 1.180 1998/01/15 19:47:37 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1993, 1994, 1995, 1997
|
||||
@ -41,6 +40,8 @@
|
||||
* @(#)locore.s 7.3 (Berkeley) 5/13/91
|
||||
*/
|
||||
|
||||
#include "opt_cputype.h"
|
||||
|
||||
#include "npx.h"
|
||||
#include "assym.h"
|
||||
#include "apm.h"
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: machdep.c,v 1.270 1998/01/13 12:52:16 mrg Exp $ */
|
||||
/* $NetBSD: machdep.c,v 1.271 1998/01/15 19:47:39 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
|
||||
@ -78,6 +78,8 @@
|
||||
* @(#)machdep.c 7.4 (Berkeley) 6/3/91
|
||||
*/
|
||||
|
||||
#include "opt_cputype.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/signalvar.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pmap.c,v 1.51 1998/01/13 12:52:21 mrg Exp $ */
|
||||
/* $NetBSD: pmap.c,v 1.52 1998/01/15 19:47:42 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1993, 1994, 1995, 1997 Charles M. Hannum. All rights reserved.
|
||||
@ -78,6 +78,8 @@
|
||||
* and to when physical maps must be made correct.
|
||||
*/
|
||||
|
||||
#include "opt_cputype.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/proc.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: endian.h,v 1.21 1997/10/09 15:42:22 bouyer Exp $ */
|
||||
/* $NetBSD: endian.h,v 1.22 1998/01/15 19:47:43 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Charles M. Hannum. All rights reserved.
|
||||
@ -75,7 +75,11 @@ __END_DECLS
|
||||
|
||||
#ifdef __GNUC__
|
||||
|
||||
#if defined(_KERNEL) && !defined(I386_CPU)
|
||||
#if defined(_KERNEL) && !defined(_LKM)
|
||||
#include "opt_cputype.h"
|
||||
#endif
|
||||
|
||||
#if defined(_KERNEL) && !defined(_LKM) && !defined(I386_CPU)
|
||||
#define __byte_swap_long_variable(x) \
|
||||
({ register in_addr_t __x = (x); \
|
||||
__asm ("bswap %1" \
|
||||
|
Loading…
Reference in New Issue
Block a user