common.h
来自「kaffe Java 解释器语言,源码,Java的子集系统,开放源代码」· C头文件 代码 · 共 39 行
H
39 行
/* * ia64/common.h * Common IA-64 configuration information. * * Copyright (c) 2001 * MandrakeSoft. All rights reserved. * * See the file "license.terms" for information on usage and redistribution * of this file. */#ifndef __ia64_common_h#define __ia64_common_h#define NEED_STACK_ALIGN#define STACK_ALIGN(p) ((((unsigned long)(p)) & 15) ^ (unsigned long)(p))#if NEED_sysdepCallMethod#include "sysdepCallMethod.h"#endif/* * Do an atomic compare and exchange. The address 'A' is checked * against value 'O' and if they match it's exchanged with value 'N'. * We return '1' if the exchange is sucessful, otherwise 0. */#ifdef HAVE_IA64INTRIN_H#include <ia64intrin.h>#endif/* Intel Itanium Processor-specific ABI defines __sync_bool_compare_and_swap primitive (7.4.3). */#undef COMPARE_AND_EXCHANGE#define COMPARE_AND_EXCHANGE(A, O, N) \ __sync_bool_compare_and_swap((A), (O), (N))#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?