mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 16:26:31 +00:00
O1能跑的代码
This commit is contained in:
@ -9,7 +9,6 @@
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <common/cpu.h>
|
||||
#include <common/glib.h>
|
||||
#include <mm/mm.h>
|
||||
@ -19,6 +18,8 @@
|
||||
#include <filesystem/VFS/VFS.h>
|
||||
#include <common/wait_queue.h>
|
||||
|
||||
// #pragma GCC push_options
|
||||
// #pragma GCC optimize("O0")
|
||||
// 进程最大可拥有的文件描述符数量
|
||||
#define PROC_MAX_FD_NUM 16
|
||||
|
||||
@ -364,3 +365,4 @@ extern struct mm_struct initial_mm;
|
||||
extern struct thread_struct initial_thread;
|
||||
extern union proc_union initial_proc_union;
|
||||
extern struct process_control_block *initial_proc[MAX_CPU_NUM];
|
||||
// #pragma GCC pop_options
|
Reference in New Issue
Block a user