BXE: min->MIN, plus an spatch
[akaros.git] / kern / arch / riscv / smp.h
1 #ifndef ROS_ARCH_SMP_H
2 #define ROS_ARCH_SMP_H
3
4 #include <ros/common.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 /* !ROS_ARCH_SMP_H */