604c7e97a7e531764c1db39fe1471b6a17796690
[akaros.git] / kern / arch / sparc / smp.h
1 #ifndef ROS_ARCH_SMP_H
2 #define ROS_ARCH_SMP_H
3
4 #include <arch/types.h>
5 #include <arch/arch.h>
6 #include <atomic.h>
7
8 typedef volatile uint8_t wait_list_t[MAX_NUM_CPUS];
9
10 typedef struct
11 {
12         wait_list_t wait_list;
13         spinlock_t lock;
14 } handler_wrapper_t;
15
16 #endif