Deliberately #include the appropriate arch-specific param.h to get

the correct value for NBSG, even when building with a different sun68k
target.
This commit is contained in:
nathanw 2002-05-23 03:50:37 +00:00
parent da51df2271
commit eb5a18d259
3 changed files with 21 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: sun2.c,v 1.3 2001/12/15 23:02:34 fredette Exp $ */
/* $NetBSD: sun2.c,v 1.4 2002/05/23 03:50:37 nathanw Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -46,6 +46,12 @@
#define get_segmap sun2_get_segmap
#define set_segmap sun2_set_segmap
/*
* We need to get the sun2 NBSG definition, even if we're
* building this with a different sun68k target.
*/
#include <arch/sun2/include/param.h>
#include <sys/param.h>
#include <machine/idprom.h>
#include <machine/mon.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: sun3.c,v 1.2 2001/11/30 16:00:27 fredette Exp $ */
/* $NetBSD: sun3.c,v 1.3 2002/05/23 03:50:37 nathanw Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -48,6 +48,12 @@
#define get_segmap sun3_get_segmap
#define set_segmap sun3_set_segmap
/*
* We need to get the sun3 NBSG definition, even if we're
* building this with a different sun68k target.
*/
#include <arch/sun3/include/param.h>
#include <sys/param.h>
#include <machine/idprom.h>
#include <machine/mon.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: sun3x.c,v 1.2 2001/11/30 16:00:28 fredette Exp $ */
/* $NetBSD: sun3x.c,v 1.3 2002/05/23 03:50:37 nathanw Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -46,6 +46,12 @@
#define get_pte sun3x_get_pte
#define set_pte sun3x_set_pte
/*
* We need to get the sun3x NBSG definition, even if we're
* building this with a different sun68k target.
*/
#include <arch/sun3/include/param3x.h>
#include <sys/param.h>
#include <machine/mon.h>