altivec_dy4.h

来自「Curtiss-Wright Controls Embedded Computi」· C头文件 代码 · 共 88 行

H
88
字号
/* altivec_dy4.h - DY 4 VME-182 board series vxWorks file. *//********************************************************************** * *   Copyright (c) 2003-2004, Dy 4 Systems All rights reserved. *   This Source Code is the Property of Dy 4 Systems Inc. and can *   only be used in accordance with Source Code License *   Agreement of Dy 4 Systems Inc. dba (doing business as)  *   CURTISS-WRIGHT CONTROLS EMBEDDED COMPUTING, "CWCEC". * **********************************************************************//* Copyright 1984 - 1997 Wind River Systems, Inc. *//*modification history--------------------01c,02jun03, rgs        Changed file name from altivec.h to altivec_dy4.h.01b,28may03, rgs        Standard file header added.01a,17oct00, trc        Initial release.*//*DESCRIPTION:Prototypes and constants related to Altivec multi-tasking support.INCLUDE FILES:SEE ALSO: altivec.c*/#ifndef __ALTIVEC_H__#define __ALTIVEC_H__/* *  New task create option bit:  this will be superseded  *  when wind river supports the Altivec. */#ifndef VX_ALTIVEC#define VX_ALTIVEC		0x02000000	/* tspawn option	*/#endif/* *  Save the address of the register save area within *  the ALTIVEC_RSAVE field of the TCB.  The register  *  save area will be RSAVE_SIZE longwords in length: *  32 vector registers, + 4 for vscr, +1 for vrsave. */#define ALTIVEC_RSAVE		spare1#define ALTIVEC_RSAVE_SIZE	(32*4 + 4 + 1)/* *  Altivec Init function must be called during BSP initialization, *  after malloc's are allowed.  This function has no effect when *  called from a non-Altivec processor. */void sysAltivecInit (void);/* *  Altivec enable function must be called from tasks wishing to use *  the Altivec (unless those tasks were created with the Altivec *  option). */int sysAltivecEnable (void);/* *  Context save/restore functions */ void sysAltivecLoad (void *);void sysAltivecStore (void *);#endif

⌨️ 快捷键说明

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