1*0d75fa6dSvisa /* $OpenBSD: autoconf.h,v 1.2 2017/06/08 12:02:52 visa Exp $ */ 2c301e791Smiod 3c301e791Smiod /* 4c301e791Smiod * Copyright (c) 2010 Miodrag Vallat. 5c301e791Smiod * 6c301e791Smiod * Permission to use, copy, modify, and distribute this software for any 7c301e791Smiod * purpose with or without fee is hereby granted, provided that the above 8c301e791Smiod * copyright notice and this permission notice appear in all copies. 9c301e791Smiod * 10c301e791Smiod * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 11c301e791Smiod * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12c301e791Smiod * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 13c301e791Smiod * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 14c301e791Smiod * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 15c301e791Smiod * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 16c301e791Smiod * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17c301e791Smiod */ 18c301e791Smiod 19c301e791Smiod /* 20c301e791Smiod * Common defines used by autoconf on all mips64-based platforms. 21c301e791Smiod */ 22c301e791Smiod 23c301e791Smiod #ifndef _MIPS64_AUTOCONF_H_ 24c301e791Smiod #define _MIPS64_AUTOCONF_H_ 25c301e791Smiod 26c301e791Smiod #include <machine/cpu.h> /* for struct cpu_hwinfo */ 27c301e791Smiod 28c301e791Smiod struct cpu_attach_args { 29c301e791Smiod struct mainbus_attach_args caa_maa; 30c301e791Smiod struct cpu_hwinfo *caa_hw; 31c301e791Smiod }; 32c301e791Smiod 33c301e791Smiod extern struct cpu_hwinfo bootcpu_hwinfo; 34c301e791Smiod 35*0d75fa6dSvisa void unmap_startup(void); 36*0d75fa6dSvisa 37c301e791Smiod #endif /* _MIPS64_AUTOCONF_H_ */ 38