o3能运行

This commit is contained in:
fslongjin
2022-08-01 20:40:27 +08:00
parent 58681fd34a
commit e806bbc0c8
23 changed files with 118 additions and 57 deletions

View File

@ -161,4 +161,4 @@ void sched_init()
sched_cfs_ready_queue[i].proc_queue.virtual_runtime = 0x7fffffffffffffff;
}
}
#pragma GCC optimize("O0")
#pragma GCC pop_options

View File

@ -3,6 +3,8 @@
#include <common/glib.h>
#include <process/process.h>
#pragma GCC push_options
#pragma GCC optimize("O0")
// @todo: 用红黑树重写cfs的队列
struct sched_queue_t
{
@ -45,4 +47,6 @@ void sched_init();
* @brief 当时钟中断到达时,更新时间片
*
*/
void sched_update_jiffies();
void sched_update_jiffies();
#pragma GCC pop_options