summaryrefslogtreecommitdiff
path: root/sys/inc/mu
diff options
context:
space:
mode:
Diffstat (limited to 'sys/inc/mu')
-rw-r--r--sys/inc/mu/cpu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/inc/mu/cpu.h b/sys/inc/mu/cpu.h
index d123f43..288ba9e 100644
--- a/sys/inc/mu/cpu.h
+++ b/sys/inc/mu/cpu.h
@@ -30,7 +30,9 @@
#ifndef _MU_CPU_H_
#define _MU_CPU_H_ 1
+#include <sys/queue.h>
#include <sys/types.h>
+#include <os/process.h>
#include <md/mcb.h>
/*
@@ -38,10 +40,14 @@
*
* @id: Logical ID of the processor
* @mcb: Machine core block
+ * @curproc: Current process
+ * @pqueue: Process queue
*/
struct cpu_info {
uint8_t id;
struct mcb mcb;
+ struct process *curproc;
+ TAILQ_HEAD(, process) pqueue;
};
/*