scheduler: cpu target

This commit is contained in:
Matheus
2023-07-09 11:28:46 -03:00
parent eade84e294
commit e4d2b8f657
2 changed files with 38 additions and 10 deletions
+2
View File
@@ -28,6 +28,7 @@ typedef struct thread_t {
struct thread_t *sleepprev;
struct proc_t *proc;
struct cpu_t *cpu;
struct cpu_t *cputarget;
context_t context;
extracontext_t extracontext;
void *kernelstack;
@@ -88,5 +89,6 @@ void sched_setroot(vnode_t *);
thread_t *sched_newthread(void *ip, size_t kstacksize, int priority, proc_t *proc, void *ustack);
void sched_destroyproc(proc_t *);
void sched_destroythread(thread_t *);
void sched_targetcpu(struct cpu_t *cpu);
#endif