1279012Sandrew/*-
2279012Sandrew * Copyright (c) 2015 The FreeBSD Foundation
3279012Sandrew * All rights reserved.
4279012Sandrew *
5279012Sandrew * This software was developed by Andrew Turner under
6279012Sandrew * sponsorship from the FreeBSD Foundation.
7279012Sandrew *
8279012Sandrew * Redistribution and use in source and binary forms, with or without
9279012Sandrew * modification, are permitted provided that the following conditions
10279012Sandrew * are met:
11279012Sandrew * 1. Redistributions of source code must retain the above copyright
12279012Sandrew *    notice, this list of conditions and the following disclaimer.
13279012Sandrew * 2. Redistributions in binary form must reproduce the above copyright
14279012Sandrew *    notice, this list of conditions and the following disclaimer in the
15279012Sandrew *    documentation and/or other materials provided with the distribution.
16279012Sandrew *
17279012Sandrew * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
18279012Sandrew * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19279012Sandrew * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20279012Sandrew * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
21279012Sandrew * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22279012Sandrew * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23279012Sandrew * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24279012Sandrew * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25279012Sandrew * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26279012Sandrew * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27279012Sandrew * SUCH DAMAGE.
28279012Sandrew *
29279012Sandrew * $FreeBSD: releng/11.0/sys/dev/ofw/ofw_cpu.h 279012 2015-02-19 16:34:48Z andrew $
30279012Sandrew */
31279012Sandrew
32279012Sandrew#ifndef _DEV_OFW_OFW_CPU_H_
33279012Sandrew#define _DEV_OFW_OFW_CPU_H_
34279012Sandrew
35279012Sandrewtypedef boolean_t (*ofw_cpu_foreach_cb)(u_int, phandle_t, u_int, pcell_t *);
36279012Sandrewint ofw_cpu_early_foreach(ofw_cpu_foreach_cb, boolean_t);
37279012Sandrew
38279012Sandrew#endif /* _DEV_OFW_OFW_CPU_H_ */
39