display_sun4u.c revision 03831d35f7499c87d51205817c93e9a8d42c4bae
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright (c) 1999-2000 by Sun Microsystems, Inc.
* All rights reserved.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <ctype.h>
#include <string.h>
#include <kvm.h>
#include <varargs.h>
#include <time.h>
#include <dirent.h>
#include <fcntl.h>
#include <sys/openpromio.h>
#include <libintl.h>
#include <syslog.h>
#include "pdevinfo.h"
#include "display.h"
#include "pdevinfo_sun4u.h"
#include "display_sun4u.h"
#include "libprtdiag.h"
#if !defined(TEXT_DOMAIN)
#define TEXT_DOMAIN "SYS_TEST"
#endif
extern int sys_clk;
int
struct system_kstat_data *kstats,
int syserrlog)
{
int exit_code = 0; /* init to all OK */
void *value; /* used for opaque PROM data */
/*
* silently check for any types of machine errors
*/
/*
* Now display the machine's configuration. We do this if we
* are not logging or exit_code is set (machine is broke).
*/
/*
* Display system banner
*/
"banner-name")), 0);
/* display system clock frequency */
"frequency: %d MHz\n"), sys_clk, 0);
}
/* Display the Memory Size */
/* Display platform specific configuration info */
/* Display the CPU devices */
/* Display the Memory configuration */
/* Display all the IO cards. */
(void) display_io_devices(tree);
/*
* Display any Hot plugged, disabled and failed board(s)
* where appropriate.
*/
}
return (exit_code);
}
int
{
#ifdef lint
#endif
/*
* This function is intentionally empty
*/
return (0);
}
int
{
#ifdef lint
#endif
/*
* This function is intentionally empty
*/
return (0);
}
void
{
#ifdef lint
#endif
/*
* This function is intentionally empty
*/
}
void
struct system_kstat_data *kstats)
{
#ifdef lint
#endif
/*
* This function is intentionally empty
*/
}
void
{
#ifdef lint
#endif
/*
* This function is intentionally empty
*/
}
void
display_boardnum(int num)
{
}
/*
* The various platforms can over-ride this function to
* return any platform specific configuration information
* they may wish to return in addition to the generic output.
*/
void
{
/*
* This function is intentionally empty
*/
}