📄 common.h
字号:
/* * 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -