aboutsummaryrefslogtreecommitdiff
path: root/include/apos/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/apos/cpu.h')
-rw-r--r--include/apos/cpu.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/apos/cpu.h b/include/apos/cpu.h
index a55fbad..81fb07e 100644
--- a/include/apos/cpu.h
+++ b/include/apos/cpu.h
@@ -1,7 +1,9 @@
#ifndef APOS_CPU_H
#define APOS_CPU_H
-unsigned cpu_id();
+#include <apos/tcb.h>
+
+id_t cpu_id();
/* TODO: add more cpu handling functions */
#endif /* APOS_CPU_H */