資源簡介
PCI 控制 硬件 測試指令
通過測試指令向PCI發(fā)送地址和數(shù)據(jù),到達外部測試版

代碼片段和文件信息
/*******************************************************************************
?*?Copyright?(c)?2006?PLX?Technology?Inc.
?*
?*?PLX?Technology?Inc.?licenses?this?software?under?specific?terms?and
?*?conditions.??Use?of?any?of?the?software?or?derviatives?thereof?in?any
?*?product?without?a?PLX?Technology?chip?is?strictly?prohibited.
?*
?*?PLX?Technology?Inc.?provides?this?software?AS?IS?WITHOUT?ANY?WARRANTY
?*?EXPRESS?OR?IMPLIED?INCLUDING?WITHOUT?LIMITATION?ANY?WARRANTY?OF
?*?MERCHANTABILITY?OR?FITNESS?FOR?A?PARTICULAR?PURPOSE.??PLX?makes?no?guarantee
?*?or?representations?regarding?the?use?of?or?the?results?of?the?use?of
?*?the?software?and?documentation?in?terms?of?correctness?accuracy
?*?reliability?currentness?or?otherwise;?and?you?rely?on?the?software
?*?documentation?and?results?solely?at?your?own?risk.
?*
?*?IN?NO?EVENT?SHALL?PLX?BE?LIABLE?FOR?ANY?LOSS?OF?USE?LOSS?OF?BUSINESS
?*?LOSS?OF?PROFITS?INDIRECT?INCIDENTAL?SPECIAL?OR?CONSEQUENTIAL?DAMAGES
?*?OF?ANY?KIND.??IN?NO?EVENT?SHALL?PLX‘S?TOTAL?LIABILITY?EXCEED?THE?SUM
?*?PAID?TO?PLX?FOR?THE?PRODUCT?LICENSED?HEREUNDER.
?*
?******************************************************************************/
/******************************************************************************
?*
?*?File?Name:
?*
?*??????ConsFunc.c
?*
?*?Description:
?*
?*??????Provides?a?common?layer?to?work?with?the?console
?*
?*?Revision?History:
?*
?*??????03-01-06?:?PCI?SDK?v4.40
?*
?******************************************************************************/
#include?“ConsFunc.h“
#include?“PlxTypes.h“
/*************************************
?*????????????Globals
?************************************/
static?unsigned?char??_Gbl_bThrottleOutput?=?FALSE;
static?unsigned?short?_Gbl_LineCount???????=?0;
static?unsigned?short?_Gbl_LineCountMax????=?DEFAULT_SCREEN_SIZE?-?SCREEN_THROTTLE_OFFSET;
/******************************************************************
?*
?*?Function???:??ConsoleInitialize
?*
?*?Description:??Initialize?the?console
?*
?*****************************************************************/
void
ConsoleInitialize(
????void
????)
{
#if?defined(PLX_LINUX)
????WINDOW?*pActiveWin;
????//?Initialize?console
????pActiveWin?=?initscr();
????//?Allow?insert/delete?of?lines?(for?scrolling)
????idlok(
????????pActiveWin
????????TRUE
????????);
????//?Allow?console?to?scroll
????scrollok(
????????pActiveWin
????????TRUE
????????);
????//?Disable?buffering?to?provide?input?immediately?to?app
????cbreak();
????//?getch?will?echo?characters
????echo();
????//?Enable?blocking?mode?(for?getch?&?scanw)
????nodelay(
????????stdscr
????????FALSE
????????);
????//?Set?the?max?line?count?based?on?current?screen?size
????_Gbl_LineCountMax?=?getmaxy(stdscr)?-?SCREEN_THROTTLE_OFFSET;
#elif?defined(_WIN32)?||?defined(_WIN64)
????CONSOLE_SCREEN_BUFFER_INFO?csbi;
????//?Get?the
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????2882??2006-04-03?17:22??Pci5.87\Ascii.h
?????文件???????6559??2006-04-03?17:22??Pci5.87\Bem.h
?????文件??????19171??2006-04-03?17:22??Pci5.87\ConsFunc.c
?????文件???????6470??2006-04-03?17:22??Pci5.87\ConsFunc.h
?????文件??????35716??2006-04-03?17:22??Pci5.87\Cpu860.h
?????文件???????8959??2006-04-03?17:22??Pci5.87\LocalApi.h
?????文件???????6326??2008-11-15?16:54??Pci5.87\Pci.dsp
?????文件????????512??2008-08-21?11:26??Pci5.87\Pci.dsw
?????文件???????8231??2000-07-07?18:04??Pci5.87\pci.h
?????文件????2466816??2011-03-07?11:36??Pci5.87\Pci.ncb
?????文件??????????0??2008-08-23?16:50??Pci5.87\Pci.ncb?(無法打開)
?????文件????????951??2011-02-16?17:40??Pci5.87\Pci.plg
?????文件??????11356??2006-04-03?17:22??Pci5.87\PciApi.h
?????文件???????7482??2006-04-03?17:22??Pci5.87\PciDrvApi.h
?????文件???????3586??2006-04-03?17:22??Pci5.87\PciRegs.h
?????文件???????9855??2006-04-03?17:22??Pci5.87\PciTypes.h
?????文件???????9080??2006-04-03?17:22??Pci5.87\Plx.h
?????文件???????2115??2006-04-03?17:22??Pci5.87\PlxApi.h
?????文件???????2337??2006-04-03?17:22??Pci5.87\PlxDefinitionsCheck.h
?????文件???????3788??2006-04-03?17:22??Pci5.87\PlxError.h
?????文件??????13068??2006-04-03?17:22??Pci5.87\PlxInit.c
?????文件???????6581??2006-12-25?10:35??Pci5.87\PlxInit.cpp
?????文件???????2449??2008-10-16?16:09??Pci5.87\PlxInit.h
?????文件??????12489??2006-04-03?17:22??Pci5.87\PlxIoctl.h
?????文件??????13133??2006-04-03?17:22??Pci5.87\PlxProtocol.h
?????文件???????2633??2006-04-03?17:22??Pci5.87\PlxQueue.h
?????文件??????11806??2006-04-03?17:22??Pci5.87\PlxTypes.h
?????文件???????1595??2008-08-21?11:26??Pci5.87\ReadMe.txt
?????文件???????7701??2006-04-03?17:22??Pci5.87\Reg8311.h
?????文件???????4054??2006-04-03?17:22??Pci5.87\Reg9030.h
............此處省略41個文件信息
評論
共有 條評論