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