📄 md.h
字号:
/* * i386/linux/md.h * Linux i386 configuration information. * * Copyright (c) 1996, 1997 * Transvirtual Technologies, Inc. All rights reserved. * * Copyright (c) 2003 * Kaffe.org contributors. See ChangeLog for details. * * See the file "license.terms" for information on usage and redistribution * of this file. */#ifndef __ki386_linux_md_h#define __ki386_linux_md_h#include "i386/common.h"#include "i386/sysdepCallMethod.h"#include "i386/threads.h"/* Linux requires a little initialisation */extern void init_md(void);#define INIT_MD() init_md()/* Function prototype for signal handlers */#if defined(HAVE_STRUCT_SIGCONTEXT_STRUCT) && !defined(__GLIBC__)/* Linux < 2.1.1 */#define SIGNAL_ARGS(sig, sc) \ int sig, struct sigcontext_struct sc#define SIGNAL_CONTEXT_POINTER(scp) struct sigcontext_struct * scp#elif defined(HAVE_STRUCT_SIGCONTEXT) || defined(__GLIBC__)/* Linux >= 2.1.1 or Linux 2.0.x with glibc2 */#define SIGNAL_ARGS(sig, sc) \ int sig, struct sigcontext sc#define SIGNAL_CONTEXT_POINTER(scp) struct sigcontext * scp#else#error Do not know how to define SIGNAL_ARGS#endif#define GET_SIGNAL_CONTEXT_POINTER(sc) (&sc)#define SIGNAL_PC(scp) (scp)->eip#if defined(TRANSLATOR)#include "jit-md.h"#endif#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -