O1能跑的代码

This commit is contained in:
fslongjin
2022-08-01 19:43:21 +08:00
parent 28e282d157
commit 58681fd34a
19 changed files with 71 additions and 28 deletions

View File

@ -3,6 +3,9 @@
#include <driver/video/video.h>
#include <common/spinlock.h>
#pragma GCC push_options
#pragma GCC optimize("O0")
struct sched_queue_t sched_cfs_ready_queue[MAX_CPU_NUM]; // 就绪队列
/**
@ -157,4 +160,5 @@ void sched_init()
sched_cfs_ready_queue[i].cpu_exec_proc_jiffies = 5;
sched_cfs_ready_queue[i].proc_queue.virtual_runtime = 0x7fffffffffffffff;
}
}
}
#pragma GCC optimize("O0")