attach.h

来自「该项目主要是将wingdows程序直接运行在linux上」· C头文件 代码 · 共 64 行

H
64
字号
/* * attach.h * * Copyright (C) 2006  Insigme Co., Ltd * * Authors:  * - Liwei Zhou * * This software has been developed while working on the Linux Unified Kernel * project (http://linux.insigma.com.cn) in the Insigma Reaserch Institute,   * which is a subdivision of Insigma Co., Ltd (http://www.insigma.com.cn). *  * The project is sponsored by Insigma Co., Ltd. * * The authors can be reached at linux@insigma.com.cn. * * This program is free software; you can redistribute it and/or modify it * under the terms of  the GNU General  Public License as published by the * Free Software Foundation; either version 2 of the  License, or (at your * option) any later version. * * Revision History: *   Jan 2006 - Created. *//*  * attach.h * Reference to ReactOS code */ #ifndef _ATTACH_H#define _ATTACH_H#include "../win32.h"#include "../process.h"#include "../thread.h"#include "../apc.h"#ifdef CONFIG_UNIFIED_KERNEL#define MM_STACK_SIZE             (3*4096)VOID STDCALLMmUpdatePageDir(struct mm_struct *mm, PVOID Address, ULONG Size);VOID STDCALLKiMoveApcState(struct  kapc_state *OldState, struct  kapc_state *NewState);VOID STDCALLKiAttachProcess(struct kthread *Thread, 		struct kprocess *Process, 		UCHAR ApcLock, 		struct  kapc_state *SavedApcState);struct mm_struct *KeAttachProcess(struct kprocess *Process);VOID STDCALLKeDetachProcess (struct mm_struct *mm);#endif /* CONFIG_UNIFIED_KERNEL */#endif /* _ATTACH_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?