scheduler: continue work

This commit is contained in:
Matheus
2025-08-23 13:54:45 -03:00
parent 1787658989
commit 7a890ac41d
13 changed files with 197 additions and 33 deletions
+5
View File
@@ -53,10 +53,15 @@ typedef struct cpu_t {
sched_run_queue_t rt_queue;
sched_calendar_queue_t ts_queue;
sched_run_queue_t idle_queue;
int last_interactivity;
int last_queue;
size_t thread_count;
spinlock_t sched_lock;
timerentry_t calendar_tick_timer_entry;
void *topology_node;
// architecture specific, does not need to be exposed
uint64_t gdt[7];
+1 -1
View File
@@ -12,7 +12,7 @@ extern size_t arch_smp_cpusawake;
extern cpu_t **smp_cpus;
void arch_smp_wakeup(void);
void arch_smp_sendipi(cpu_t *targcpu, isr_t *isr, int target, bool nmi);
void arch_smp_send_ipi(cpu_t *targcpu, isr_t *isr, int target, bool nmi);
void arch_smp_haltallothers(void);
size_t arch_smp_get_cpu_count(void);