/* * Copyright 2019 Haiku, Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define TRACE_ARCH_INT #ifdef TRACE_ARCH_INT # define TRACE(x) dprintf x #else # define TRACE(x) ; #endif void arch_int_enable_io_interrupt(int irq) { } void arch_int_disable_io_interrupt(int irq) { } void arch_int_assign_to_cpu(int32 irq, int32 cpu) { // intentionally left blank; no SMP support (yet) } status_t arch_int_init(kernel_args *args) { return B_OK; } status_t arch_int_init_post_vm(kernel_args *args) { return B_OK; } status_t arch_int_init_io(kernel_args* args) { return B_OK; } status_t arch_int_init_post_device_manager(struct kernel_args *args) { return B_ENTRY_NOT_FOUND; }