home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
unix
/
volume26
/
sysinfo-1.0
/
part01
/
info-bsd43.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-04-10
|
1KB
|
81 lines
/*
* Copyright (c) 1992 Michael A. Cooper.
* This software may be freely distributed provided it is not sold for
* profit and the author is credited appropriately.
*/
#ifndef lint
static char *RCSid = "$Header: /src/common/usc/bin/sysinfo/RCS/info-bsd43.c,v 1.2 1992/04/26 23:32:06 mcooper Exp $";
#endif
/*
* $Log: info-bsd43.c,v $
* Revision 1.2 1992/04/26 23:32:06 mcooper
* Add Copyright notice
*
* Revision 1.1 1992/03/31 02:39:03 mcooper
* Initial revision
*
* Revision 1.1 1992/03/31 02:39:03 mcooper
* Initial revision
*
*/
/*
* 4.3BSD specific info
*/
#include "system.h"
#include "defs.h"
#include <sys/types.h>
#include <machine/cpu.h>
#include <nlist.h>
/*
* No device support
*/
DEVDATATAB DevDataTab[] = {
{ 0 },
};
/*
* MachineID symbol
*/
struct nlist MachineIDNL[] = {
#if defined(COFF)
{ "machineid" },
#else
{ "_machineid" },
#endif /* COFF */
{ 0 },
};
/*
* Model's as found in kernel variable "machineid" and
* defined in <machine/cpu.h>.
*/
NAMETAB ModelTab[] = {
#ifdef HP_320
{ HP_320, "HP9000/320" },
#endif
#ifdef HP_330
{ HP_330, "HP9000/330" },
#endif
#ifdef HP_340
{ HP_340, "HP9000/340" },
#endif
#ifdef HP_350
{ HP_350, "HP9000/350" },
#endif
#ifdef HP_360
{ HP_360, "HP9000/360" },
#endif
#ifdef HP_370
{ HP_370, "HP9000/370" },
#endif
{ 0 },
};