ofw_machdep.h (192067) | ofw_machdep.h (212054) |
---|---|
1/*- 2 * Copyright (c) 2001 by Thomas Moestl <tmm@FreeBSD.org>. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 8 unchanged lines hidden (view full) --- 17 * IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 18 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 19 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 20 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 21 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 22 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE 23 * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * | 1/*- 2 * Copyright (c) 2001 by Thomas Moestl <tmm@FreeBSD.org>. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 8 unchanged lines hidden (view full) --- 17 * IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 18 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 19 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 20 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 21 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 22 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE 23 * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * |
25 * $FreeBSD: head/sys/powerpc/include/ofw_machdep.h 192067 2009-05-14 00:34:26Z nwhitehorn $ | 25 * $FreeBSD: head/sys/powerpc/include/ofw_machdep.h 212054 2010-08-31 15:27:46Z nwhitehorn $ |
26 */ 27 28#ifndef _MACHINE_OFW_MACHDEP_H_ 29#define _MACHINE_OFW_MACHDEP_H_ 30 31#include <sys/cdefs.h> 32#include <sys/types.h> 33#include <sys/rman.h> --- 4 unchanged lines hidden (view full) --- 38typedef uint32_t cell_t; 39 40int OF_decode_addr(phandle_t, int, bus_space_tag_t *, bus_space_handle_t *); 41void OF_getetheraddr(device_t dev, u_char *addr); 42 43void OF_initial_setup(void *fdt_ptr, void *junk, int (*openfirm)(void *)); 44boolean_t OF_bootstrap(void); 45 | 26 */ 27 28#ifndef _MACHINE_OFW_MACHDEP_H_ 29#define _MACHINE_OFW_MACHDEP_H_ 30 31#include <sys/cdefs.h> 32#include <sys/types.h> 33#include <sys/rman.h> --- 4 unchanged lines hidden (view full) --- 38typedef uint32_t cell_t; 39 40int OF_decode_addr(phandle_t, int, bus_space_tag_t *, bus_space_handle_t *); 41void OF_getetheraddr(device_t dev, u_char *addr); 42 43void OF_initial_setup(void *fdt_ptr, void *junk, int (*openfirm)(void *)); 44boolean_t OF_bootstrap(void); 45 |
46void OF_halt(void); | |
47void OF_reboot(void); 48 49void ofw_mem_regions(struct mem_region **, int *, struct mem_region **, int *); 50 51#endif /* _MACHINE_OFW_MACHDEP_H_ */ | 46void OF_reboot(void); 47 48void ofw_mem_regions(struct mem_region **, int *, struct mem_region **, int *); 49 50#endif /* _MACHINE_OFW_MACHDEP_H_ */ |