10Sstevel@tonic-gate/*- 20Sstevel@tonic-gate * Copyright (c) 2000 Michael Smith 30Sstevel@tonic-gate * Copyright (c) 2000 BSDi 40Sstevel@tonic-gate * All rights reserved. 53048Samaguire * 63048Samaguire * Redistribution and use in source and binary forms, with or without 70Sstevel@tonic-gate * modification, are permitted provided that the following conditions 80Sstevel@tonic-gate * are met: 90Sstevel@tonic-gate * 1. Redistributions of source code must retain the above copyright 100Sstevel@tonic-gate * notice, this list of conditions and the following disclaimer. 110Sstevel@tonic-gate * 2. Redistributions in binary form must reproduce the above copyright 120Sstevel@tonic-gate * notice, this list of conditions and the following disclaimer in the 130Sstevel@tonic-gate * documentation and/or other materials provided with the distribution. 140Sstevel@tonic-gate * 150Sstevel@tonic-gate * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 160Sstevel@tonic-gate * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 170Sstevel@tonic-gate * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 180Sstevel@tonic-gate * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 190Sstevel@tonic-gate * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 200Sstevel@tonic-gate * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 210Sstevel@tonic-gate * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 220Sstevel@tonic-gate * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 230Sstevel@tonic-gate * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 243048Samaguire * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 250Sstevel@tonic-gate * SUCH DAMAGE. 260Sstevel@tonic-gate */ 270Sstevel@tonic-gate 280Sstevel@tonic-gate/* 290Sstevel@tonic-gate * 6.6 : Stream I/O 300Sstevel@tonic-gate */ 310Sstevel@tonic-gate 323048Samaguire#include <sys/cdefs.h> 330Sstevel@tonic-gate__FBSDID("$FreeBSD$"); 340Sstevel@tonic-gate 350Sstevel@tonic-gate#include <contrib/dev/acpica/include/acpi.h> 360Sstevel@tonic-gate 370Sstevel@tonic-gatevoid 380Sstevel@tonic-gateAcpiOsPrintf(const char *Format, ...) 390Sstevel@tonic-gate{ 400Sstevel@tonic-gate va_list ap; 410Sstevel@tonic-gate 420Sstevel@tonic-gate va_start(ap, Format); 430Sstevel@tonic-gate vprintf(Format, ap); 440Sstevel@tonic-gate va_end(ap); 450Sstevel@tonic-gate} 460Sstevel@tonic-gate 470Sstevel@tonic-gatevoid 480Sstevel@tonic-gateAcpiOsVprintf(const char *Format, va_list Args) 490Sstevel@tonic-gate{ 503048Samaguire vprintf(Format, Args); 510Sstevel@tonic-gate} 520Sstevel@tonic-gate