usrWdbAltivec.c
资源名称:ixp425BSP.rar [点击查看]
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:
VxWorks
开发平台:
C/C++
- /* usrWdbAltivec.c - optional Altivec support for the WDB agent */
- /* Copyright 1997-1998 Wind River Systems, Inc. */
- /*
- modification history
- --------------------
- 01a,10apr01,kab created.
- */
- /*
- DESCRIPTION
- This library configures the WDB agent's Altivec support.
- */
- extern void wdbTgtHasAltivecSet(void);
- /******************************************************************************
- *
- * wdbAltivecInit - initialize Altivec support
- */
- void wdbAltivecInit (void)
- {
- /* no altivec - return */
- if (altivecProbe() == ERROR)
- return;
- /* mark altivec unit as available */
- wdbTgtHasAltivecSet();
- }