mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 08:06:32 +00:00
o3能运行
This commit is contained in:
@ -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
|
@ -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
|
Reference in New Issue
Block a user