so that we can include firmware-dependant code in generic drivers to be
able to extract metadata information like MAC addresses and out-of-band
interrupts from the ACPI/FDT tables.
ok kettenis@
-/* $OpenBSD: param.h,v 1.3 2018/01/05 17:42:35 kettenis Exp $ */
+/* $OpenBSD: param.h,v 1.4 2018/08/09 12:19:32 patrick Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
#define STACKALIGNBYTES (16 - 1)
#define STACKALIGN(p) ((u_long)(p) &~ STACKALIGNBYTES)
+#define __HAVE_ACPI
+#define __HAVE_FDT
+
#endif /* _KERNEL */
#endif /* _MACHINE_PARAM_H_ */
-/* $OpenBSD: param.h,v 1.2 2016/08/20 19:42:55 kettenis Exp $ */
+/* $OpenBSD: param.h,v 1.3 2018/08/09 12:19:32 patrick Exp $ */
/*
* Copyright (c) 1994,1995 Mark Brinicombe.
#define MSGBUFSIZE (8 * PAGE_SIZE)
#endif
+#ifdef _KERNEL
+#define __HAVE_FDT
+#endif
+
#endif /* _MACHINE_PARAM_H_ */
-/* $OpenBSD: param.h,v 1.4 2013/03/23 16:12:26 deraadt Exp $ */
+/* $OpenBSD: param.h,v 1.5 2018/08/09 12:19:32 patrick Exp $ */
/* Public Domain */
#include <mips64/param.h>
+#ifdef _KERNEL
+#define __HAVE_FDT
+#endif
+
#endif /* _MACHINE_PARAM_H_ */