1 7c478bd9Sstevel@tonic-gate/* 2 7c478bd9Sstevel@tonic-gate * CDDL HEADER START 3 7c478bd9Sstevel@tonic-gate * 4 7c478bd9Sstevel@tonic-gate * The contents of this file are subject to the terms of the 5 *9a70fc3bSMark J. Nelson * Common Development and Distribution License (the "License"). 6 *9a70fc3bSMark J. Nelson * You may not use this file except in compliance with the License. 7 7c478bd9Sstevel@tonic-gate * 8 7c478bd9Sstevel@tonic-gate * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9 7c478bd9Sstevel@tonic-gate * or http://www.opensolaris.org/os/licensing. 10 7c478bd9Sstevel@tonic-gate * See the License for the specific language governing permissions 11 7c478bd9Sstevel@tonic-gate * and limitations under the License. 12 7c478bd9Sstevel@tonic-gate * 13 7c478bd9Sstevel@tonic-gate * When distributing Covered Code, include this CDDL HEADER in each 14 7c478bd9Sstevel@tonic-gate * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 7c478bd9Sstevel@tonic-gate * If applicable, add the following below this CDDL HEADER, with the 16 7c478bd9Sstevel@tonic-gate * fields enclosed by brackets "[]" replaced with your own identifying 17 7c478bd9Sstevel@tonic-gate * information: Portions Copyright [yyyy] [name of copyright owner] 18 7c478bd9Sstevel@tonic-gate * 19 7c478bd9Sstevel@tonic-gate * CDDL HEADER END 20 7c478bd9Sstevel@tonic-gate */ 21 7c478bd9Sstevel@tonic-gate/* Copyright (c) 1988 AT&T */ 22 7c478bd9Sstevel@tonic-gate/* All Rights Reserved */ 23 7c478bd9Sstevel@tonic-gate 24 7c478bd9Sstevel@tonic-gate 25 7c478bd9Sstevel@tonic-gate/* 26 7c478bd9Sstevel@tonic-gate * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 27 7c478bd9Sstevel@tonic-gate * Use is subject to license terms. 28 7c478bd9Sstevel@tonic-gate */ 29 7c478bd9Sstevel@tonic-gate 30 *9a70fc3bSMark J. Nelson .file "sysinfo.s" 31 7c478bd9Sstevel@tonic-gate 32 7c478bd9Sstevel@tonic-gate/* C library -- sysinfo */ 33 7c478bd9Sstevel@tonic-gate/* int sysinfo(cmd, buf, count) */ 34 7c478bd9Sstevel@tonic-gate 35 7c478bd9Sstevel@tonic-gate#include <sys/asm_linkage.h> 36 7c478bd9Sstevel@tonic-gate 37 7c478bd9Sstevel@tonic-gate ANSI_PRAGMA_WEAK(sysinfo,function) 38 7c478bd9Sstevel@tonic-gate 39 7c478bd9Sstevel@tonic-gate#include "SYS.h" 40 7c478bd9Sstevel@tonic-gate 41 7c478bd9Sstevel@tonic-gate SYSCALL2_RVAL1(sysinfo,systeminfo) 42 7c478bd9Sstevel@tonic-gate RET 43 7c478bd9Sstevel@tonic-gate SET_SIZE(sysinfo) 44