summaryrefslogtreecommitdiff
path: root/kernel/src/scheduler/ap_startup.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/src/scheduler/ap_startup.c')
-rw-r--r--kernel/src/scheduler/ap_startup.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/src/scheduler/ap_startup.c b/kernel/src/scheduler/ap_startup.c
new file mode 100644
index 0000000..43b1a51
--- /dev/null
+++ b/kernel/src/scheduler/ap_startup.c
@@ -0,0 +1,5 @@
+// this C code can be anywhere you want it, no relocation needed
+void ap_startup(int apicid) {
+ // do what you want to do on the AP
+ while(1);
+}