1*53e202c1Schristos /* $NetBSD: aml_env.h,v 1.1 2007/01/14 04:36:13 christos Exp $ */ 2*53e202c1Schristos 3*53e202c1Schristos /*- 4*53e202c1Schristos * Copyright (c) 1999 Takanori Watanabe 5*53e202c1Schristos * All rights reserved. 6*53e202c1Schristos * 7*53e202c1Schristos * Redistribution and use in source and binary forms, with or without 8*53e202c1Schristos * modification, are permitted provided that the following conditions 9*53e202c1Schristos * are met: 10*53e202c1Schristos * 1. Redistributions of source code must retain the above copyright 11*53e202c1Schristos * notice, this list of conditions and the following disclaimer. 12*53e202c1Schristos * 2. Redistributions in binary form must reproduce the above copyright 13*53e202c1Schristos * notice, this list of conditions and the following disclaimer in the 14*53e202c1Schristos * documentation and/or other materials provided with the distribution. 15*53e202c1Schristos * 16*53e202c1Schristos * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 17*53e202c1Schristos * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18*53e202c1Schristos * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19*53e202c1Schristos * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 20*53e202c1Schristos * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21*53e202c1Schristos * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22*53e202c1Schristos * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23*53e202c1Schristos * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24*53e202c1Schristos * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25*53e202c1Schristos * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26*53e202c1Schristos * SUCH DAMAGE. 27*53e202c1Schristos * 28*53e202c1Schristos * Id: aml_env.h,v 1.11 2000/08/08 14:12:05 iwasaki Exp 29*53e202c1Schristos * $FreeBSD: src/usr.sbin/acpi/amldb/aml/aml_env.h,v 1.2 2000/11/09 06:24:45 iwasaki Exp $ 30*53e202c1Schristos */ 31*53e202c1Schristos 32*53e202c1Schristos #ifndef _AML_ENV_H_ 33*53e202c1Schristos #define _AML_ENV_H_ 34*53e202c1Schristos 35*53e202c1Schristos #include <aml/aml_name.h> 36*53e202c1Schristos #include <aml/aml_obj.h> 37*53e202c1Schristos #include <aml/aml_status.h> 38*53e202c1Schristos 39*53e202c1Schristos struct aml_environ { 40*53e202c1Schristos u_int8_t *dp; 41*53e202c1Schristos u_int8_t *end; 42*53e202c1Schristos enum aml_status stat; 43*53e202c1Schristos struct aml_name *curname; 44*53e202c1Schristos struct aml_name tempname; 45*53e202c1Schristos union aml_object tempobject; 46*53e202c1Schristos }; 47*53e202c1Schristos 48*53e202c1Schristos #endif /* !_AML_ENV_H_ */ 49