1/* 2 * Copyright 2018-2022, Haiku, Inc. All rights reserved. 3 * Distributed under the terms of the MIT license. 4 */ 5#ifndef _FBSD_COMPAT_MACHINE_BUS_H_ 6#define _FBSD_COMPAT_MACHINE_BUS_H_ 7 8#include <machine/_bus.h> 9#include <machine/cpufunc.h> 10 11#if defined(__i386__) || defined(__amd64__) 12# include <machine/x86/bus.h> 13#elif (defined(__riscv) && __riscv_xlen == 64) 14# include <machine/generic/bus.h> 15#else 16# error Need a bus.h for this arch! 17#endif 18 19#endif /* _FBSD_COMPAT_MACHINE_BUS_H_ */ 20