xref: /netbsd-src/sys/arch/arm/acpi/acpi_table.h (revision d91cc587440a71d61f9cfdf2020554cbd2504662)
1*d91cc587Sjmcneill /* $NetBSD: acpi_table.h,v 1.1 2018/10/12 22:15:04 jmcneill Exp $ */
2*d91cc587Sjmcneill 
3*d91cc587Sjmcneill /*-
4*d91cc587Sjmcneill  * Copyright (c) 2018 The NetBSD Foundation, Inc.
5*d91cc587Sjmcneill  * All rights reserved.
6*d91cc587Sjmcneill  *
7*d91cc587Sjmcneill  * This code is derived from software contributed to The NetBSD Foundation
8*d91cc587Sjmcneill  * by Jared McNeill <jmcneill@invisible.ca>.
9*d91cc587Sjmcneill  *
10*d91cc587Sjmcneill  * Redistribution and use in source and binary forms, with or without
11*d91cc587Sjmcneill  * modification, are permitted provided that the following conditions
12*d91cc587Sjmcneill  * are met:
13*d91cc587Sjmcneill  * 1. Redistributions of source code must retain the above copyright
14*d91cc587Sjmcneill  *    notice, this list of conditions and the following disclaimer.
15*d91cc587Sjmcneill  * 2. Redistributions in binary form must reproduce the above copyright
16*d91cc587Sjmcneill  *    notice, this list of conditions and the following disclaimer in the
17*d91cc587Sjmcneill  *    documentation and/or other materials provided with the distribution.
18*d91cc587Sjmcneill  *
19*d91cc587Sjmcneill  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
20*d91cc587Sjmcneill  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21*d91cc587Sjmcneill  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22*d91cc587Sjmcneill  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
23*d91cc587Sjmcneill  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24*d91cc587Sjmcneill  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25*d91cc587Sjmcneill  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26*d91cc587Sjmcneill  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27*d91cc587Sjmcneill  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28*d91cc587Sjmcneill  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29*d91cc587Sjmcneill  * POSSIBILITY OF SUCH DAMAGE.
30*d91cc587Sjmcneill  */
31*d91cc587Sjmcneill 
32*d91cc587Sjmcneill #ifndef _ARM_ACPI_TABLE_H
33*d91cc587Sjmcneill #define _ARM_ACPI_TABLE_H
34*d91cc587Sjmcneill 
35*d91cc587Sjmcneill ACPI_STATUS	acpi_table_map(ACPI_PHYSICAL_ADDRESS, void **);
36*d91cc587Sjmcneill ACPI_STATUS	acpi_table_find(const char *, void **);
37*d91cc587Sjmcneill void		acpi_table_unmap(ACPI_TABLE_HEADER *);
38*d91cc587Sjmcneill 
39*d91cc587Sjmcneill #endif /* !_ARM_ACPI_TABLE_H */
40