03831d35f7499c87d51205817c93e9a8d42c4baestevel * CDDL HEADER START
03831d35f7499c87d51205817c93e9a8d42c4baestevel * The contents of this file are subject to the terms of the
2983dda76a6d296fdb560c88114fe41caad1b84fMichael Bergknoff * Common Development and Distribution License (the "License").
2983dda76a6d296fdb560c88114fe41caad1b84fMichael Bergknoff * You may not use this file except in compliance with the License.
03831d35f7499c87d51205817c93e9a8d42c4baestevel * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
03831d35f7499c87d51205817c93e9a8d42c4baestevel * See the License for the specific language governing permissions
03831d35f7499c87d51205817c93e9a8d42c4baestevel * and limitations under the License.
03831d35f7499c87d51205817c93e9a8d42c4baestevel * When distributing Covered Code, include this CDDL HEADER in each
03831d35f7499c87d51205817c93e9a8d42c4baestevel * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
03831d35f7499c87d51205817c93e9a8d42c4baestevel * If applicable, add the following below this CDDL HEADER, with the
03831d35f7499c87d51205817c93e9a8d42c4baestevel * fields enclosed by brackets "[]" replaced with your own identifying
03831d35f7499c87d51205817c93e9a8d42c4baestevel * information: Portions Copyright [yyyy] [name of copyright owner]
03831d35f7499c87d51205817c93e9a8d42c4baestevel * CDDL HEADER END
2983dda76a6d296fdb560c88114fe41caad1b84fMichael Bergknoff * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
03831d35f7499c87d51205817c93e9a8d42c4baestevel struct mem_total memory_total; /* Total memory in system */
03831d35f7499c87d51205817c93e9a8d42c4baestevel struct grp_info grps; /* Info on all groups in system */
03831d35f7499c87d51205817c93e9a8d42c4baestevel * silently check for any types of machine errors
03831d35f7499c87d51205817c93e9a8d42c4baestevel * Now display the machine's configuration. We do this if we
03831d35f7499c87d51205817c93e9a8d42c4baestevel * are not logging or exit_code is set (machine is broke).
03831d35f7499c87d51205817c93e9a8d42c4baestevel * Display system banner
2983dda76a6d296fdb560c88114fe41caad1b84fMichael Bergknoff log_printf(dgettext(TEXT_DOMAIN, "System Configuration: "
2983dda76a6d296fdb560c88114fe41caad1b84fMichael Bergknoff "Oracle Corporation %s %s\n"), uts_buf.machine,
2983dda76a6d296fdb560c88114fe41caad1b84fMichael Bergknoff get_prop_val(find_prop(root, "banner-name")), 0);
03831d35f7499c87d51205817c93e9a8d42c4baestevel /* display system clock frequency */
03831d35f7499c87d51205817c93e9a8d42c4baestevel value = get_prop_val(find_prop(root, "clock-frequency"));
03831d35f7499c87d51205817c93e9a8d42c4baestevel /* Display the Memory Size */
03831d35f7499c87d51205817c93e9a8d42c4baestevel display_memorysize(tree, kstats, &grps, &memory_total);
03831d35f7499c87d51205817c93e9a8d42c4baestevel /* Display platform specific configuration info */
03831d35f7499c87d51205817c93e9a8d42c4baestevel /* Display the CPU devices */
03831d35f7499c87d51205817c93e9a8d42c4baestevel /* Display the Memory configuration */
03831d35f7499c87d51205817c93e9a8d42c4baestevel /* Display all the IO cards. */
03831d35f7499c87d51205817c93e9a8d42c4baestevel * Display any Hot plugged, disabled and failed board(s)
03831d35f7499c87d51205817c93e9a8d42c4baestevel * where appropriate.
03831d35f7499c87d51205817c93e9a8d42c4baestevel display_diaginfo((syserrlog || (logging && exit_code)),
03831d35f7499c87d51205817c93e9a8d42c4baestevelerror_check(Sys_tree *tree, struct system_kstat_data *kstats)
03831d35f7499c87d51205817c93e9a8d42c4baestevel * This function is intentionally empty
03831d35f7499c87d51205817c93e9a8d42c4baestevel return (0);
03831d35f7499c87d51205817c93e9a8d42c4baestevel * This function is intentionally empty
03831d35f7499c87d51205817c93e9a8d42c4baestevel return (0);
03831d35f7499c87d51205817c93e9a8d42c4baesteveldisplay_hp_fail_fault(Sys_tree *tree, struct system_kstat_data *kstats)
03831d35f7499c87d51205817c93e9a8d42c4baestevel * This function is intentionally empty
03831d35f7499c87d51205817c93e9a8d42c4baesteveldisplay_diaginfo(int flag, Prom_node *root, Sys_tree *tree,
03831d35f7499c87d51205817c93e9a8d42c4baestevel * This function is intentionally empty
03831d35f7499c87d51205817c93e9a8d42c4baestevel * This function is intentionally empty
03831d35f7499c87d51205817c93e9a8d42c4baestevel * The various platforms can over-ride this function to
03831d35f7499c87d51205817c93e9a8d42c4baestevel * return any platform specific configuration information
03831d35f7499c87d51205817c93e9a8d42c4baestevel * they may wish to return in addition to the generic output.
03831d35f7499c87d51205817c93e9a8d42c4baestevel * This function is intentionally empty