xref: /haiku/src/system/kernel/arch/sparc/arch_int.cpp (revision 02463fb461904c264e5d559f6ec1de92cf35e436)
1 /*
2  * Copyright 2003-2011, Haiku, Inc. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *      Adrien Destugues, pulkomandy@pulkomandy.tk
7  */
8 
9 
10 #include <int.h>
11 
12 
13 status_t
arch_int_init(kernel_args * args)14 arch_int_init(kernel_args *args)
15 {
16 	return B_OK;
17 }
18 
19 
20 status_t
arch_int_init_post_vm(kernel_args * args)21 arch_int_init_post_vm(kernel_args *args)
22 {
23 	return B_OK;
24 }
25 
26 
27 status_t
arch_int_init_post_device_manager(struct kernel_args * args)28 arch_int_init_post_device_manager(struct kernel_args *args)
29 {
30 	return B_OK;
31 }
32 
33 
34 status_t
arch_int_init_io(kernel_args * args)35 arch_int_init_io(kernel_args* args)
36 {
37 	return B_OK;
38 }
39 
40 
41 void
arch_int_enable_io_interrupt(int32 irq)42 arch_int_enable_io_interrupt(int32 irq)
43 {
44 }
45 
46 
47 void
arch_int_disable_io_interrupt(int32 irq)48 arch_int_disable_io_interrupt(int32 irq)
49 {
50 }
51 
52 
53 int32
arch_int_assign_to_cpu(int32 irq,int32 cpu)54 arch_int_assign_to_cpu(int32 irq, int32 cpu)
55 {
56 	// Not yet supported.
57 	return 0;
58 }
59