mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-10 03:56:49 +00:00
增加对current.h的条件编译
This commit is contained in:
parent
a9a253cd1c
commit
a296b79dbc
@ -1,6 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
#if ARCH(X86_64)
|
||||
#include <arch/x86_64/current.h>
|
||||
#else
|
||||
#error Unsupported architecture!
|
||||
#endif
|
||||
#include "proc-types.h"
|
||||
|
||||
/**
|
||||
|
@ -17,7 +17,13 @@
|
||||
#include <filesystem/VFS/VFS.h>
|
||||
#include <common/wait_queue.h>
|
||||
#include <mm/mm-types.h>
|
||||
|
||||
#if ARCH(X86_64)
|
||||
#include <arch/x86_64/current.h>
|
||||
#else
|
||||
#error Unsupported architecture!
|
||||
#endif
|
||||
|
||||
#include "proc-types.h"
|
||||
|
||||
// 设置初始进程的PCB
|
||||
|
Loading…
x
Reference in New Issue
Block a user