1*53e202c1Schristos /* $NetBSD: aml_amlmem.h,v 1.1 2007/01/14 04:36:13 christos Exp $ */ 2*53e202c1Schristos 3*53e202c1Schristos /*- 4*53e202c1Schristos * Copyright (c) 1999 Mitsuru IWASAKI <iwasaki@FreeBSD.org> 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_amlmem.h,v 1.12 2000/08/08 14:12:05 iwasaki Exp 29*53e202c1Schristos * $FreeBSD: src/usr.sbin/acpi/amldb/aml/aml_amlmem.h,v 1.2 2000/11/09 06:24:45 iwasaki Exp $ 30*53e202c1Schristos */ 31*53e202c1Schristos 32*53e202c1Schristos #ifndef _AML_AMLMEM_H_ 33*53e202c1Schristos #define _AML_AMLMEM_H_ 34*53e202c1Schristos 35*53e202c1Schristos /* 36*53e202c1Schristos * AML Namespace Memory Management 37*53e202c1Schristos */ 38*53e202c1Schristos 39*53e202c1Schristos #include <aml/aml_memman.h> 40*53e202c1Schristos 41*53e202c1Schristos enum { 42*53e202c1Schristos memid_aml_namestr = 0, 43*53e202c1Schristos memid_aml_num, 44*53e202c1Schristos memid_aml_string, 45*53e202c1Schristos memid_aml_buffer, 46*53e202c1Schristos memid_aml_package, 47*53e202c1Schristos memid_aml_field, 48*53e202c1Schristos memid_aml_method, 49*53e202c1Schristos memid_aml_mutex, 50*53e202c1Schristos memid_aml_opregion, 51*53e202c1Schristos memid_aml_powerres, 52*53e202c1Schristos memid_aml_processor, 53*53e202c1Schristos memid_aml_bufferfield, 54*53e202c1Schristos memid_aml_event, 55*53e202c1Schristos memid_aml_objtype, 56*53e202c1Schristos memid_aml_name, 57*53e202c1Schristos memid_aml_name_group, 58*53e202c1Schristos memid_aml_objref, 59*53e202c1Schristos memid_aml_regfield, 60*53e202c1Schristos memid_aml_environ, 61*53e202c1Schristos memid_aml_local_stack, 62*53e202c1Schristos memid_aml_mutex_queue, 63*53e202c1Schristos }; 64*53e202c1Schristos 65*53e202c1Schristos extern struct memman *aml_memman; 66*53e202c1Schristos 67*53e202c1Schristos #endif /* !_AML_AMLMEM_H_ */ 68