📄 archsimnt.h
字号:
/* archSimsparc.h - simsparc specific header *//* Copyright 1993-95 Wind River Systems, Inc. *//*modification history--------------------01d,13mar01,sn SPR 73723 - define supported toolchains01c,21sep01,jmp only include ntcontext.h if _ASMLANGUAGE not defined (SPR# 34669).01b,29jul98,ms added WV_INSTRUMENTATION01a,03sep97,cym written*/#ifndef _ASMLANGUAGE#include "arch/simnt/ntcontext.h"#endif#ifndef __INCarchSimnt#define __INCarchSimnt#ifdef __cplusplusextern "C" {#endif#define _ARCH_SUPPORTS_GCC#define WV_INSTRUMENTATION#define _BYTE_ORDER _LITTLE_ENDIAN#define _ALLOC_ALIGN_SIZE 8 /* 8-byte alignment */#define _STACK_ALIGN_SIZE 8 /* 8-byte alignment */#define _DYNAMIC_BUS_SIZING FALSE /* no dynamic bus sizing *//* defines for stdarg.h *//* Amount of space required in an argument list for an arg of type TYPE. TYPE may alternatively be an expression whose type is used. */#define __va_rounded_size(TYPE) \ (((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))#define _ARCH_va_start(AP, LASTARG) \ (__builtin_saveregs (), AP = ((char *) __builtin_next_arg (LASTARG)))#define _ARCH_va_end(AP)/* RECORD_TYPE args passed using the C calling convention are passed by invisible reference. ??? RECORD_TYPE args passed in the stack are made to be word-aligned; for an aggregate that is not word-aligned, we advance the pointer to the first non-reg slot. */#define _ARCH_va_arg(pvar,TYPE) \__extension__ \({ TYPE __va_temp; \ ((__builtin_classify_type (__va_temp) >= 12) \ ? ((pvar) += __va_rounded_size (TYPE *), \ **(TYPE **) ((pvar) - __va_rounded_size (TYPE *))) \ : __va_rounded_size (TYPE) == 8 \ ? ({ union {TYPE d; int i[2];} u; \ u.i[0] = ((int *) (pvar))[0]; \ u.i[1] = ((int *) (pvar))[1]; \ (pvar) += 8; \ u.d; }) \ : ((pvar) += __va_rounded_size (TYPE), \ *((TYPE *) ((pvar) - __va_rounded_size (TYPE)))));})#ifdef __cplusplus}#endif#endif /* __INCarchSimnt */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -