mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-30 05:58:22 +00:00
scheduler: continue work
This commit is contained in:
@@ -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];
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user