kernel: add c++ support
This commit is contained in:
@@ -4,6 +4,10 @@
|
||||
#include <socks/machine/cpu.h>
|
||||
#include <socks/sched.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef enum cpu_flags {
|
||||
CPU_ONLINE = 0x01u,
|
||||
} cpu_flags_t;
|
||||
@@ -30,4 +34,8 @@ extern void cpu_set_online(unsigned int cpu_id);
|
||||
|
||||
extern unsigned int cpu_get_highest_available(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user