-
大小: 9.99MB文件類型: .rar金幣: 1下載: 0 次發布日期: 2023-11-16
- 語言: 其他
- 標簽: VxWorks5.5.1??
資源簡介
VxWorks5 5 1源代碼 完整源代碼 值得閱讀
代碼片段和文件信息
/*?usrAta.c?-?ATA/ATAPI?initialization?*/
/*?Copyright?1992-2002?Wind?River?Systems?Inc.?*/
/*
modification?history
--------------------
01l02mar02jkf??SPR#73841?fixed?(cdrom)?trailing?paran?indexing?error.
?????????????????fixed?warning:?pn?unitialized?if?INCLUDE_CDROMFS.
01k26nov01jac??added?file?system?type?check?to?allow?support?for?specifying
?????????????????CDROM?filesystem.
01j02ocy01jkf??fixing?SPR#70377?usrAtaConfig?altered?char?*?arg?this?
?????????????????modifies?.text?seg?and?caused?checksum?error?for?tgtsvr.?
01i21sep01jkf??cbio?API?changes.
01h21jun00rsh??upgrade?to?dosFs?2.0
01g14oct98lrn??modified?for?DosFs?2.0
01f30jul99jkf??SPR#4429.
01e02jun98ms???created?configlette.
01d30oct97db???added?call?to?ATA_SWAP?in?usrAtaPartition.?
01c30oct97dat??added?#include?pccardLib.h?and?ataDrv.h
01b14jul97dgp??doc:?update?to?match?hard-copy
01a11may95hdn??re-written?for?ATA?driver.
*/
/*
DEscriptION
This?file?is?used?to?configure?and?initialize?the?VxWorks?ATA?support.
This?file?is?included?by?the?prjConfig.c?configuration?file?created?by?the
Project?Manager.
SEE?ALSO:?usrExtra.c
NOMANUAL
*/
#include?“vxWorks.h“
#include?“string.h“
#include?“dosFsLib.h“
#include?“dcacheCbio.h“
#include?“dpartCbio.h“
#include?“usrFdiskPartLib.h“
#include?“drv/hdisk/ataDrv.h“
#ifdef?INCLUDE_CDROMFS
#include?“cdromFsLib.h“
#endif
/*?forward?declaration?*/
/*?macro‘s?*/
#ifndef?ATA_CACHE_SIZE
#define?ATA_CACHE_SIZE?0x0
#endif?/*?!ATA_CACHE_SIZE?*/
/*******************************************************************************
*
*?usrAtaConfig?-?mount?a?DOS?file?system?from?an?ATA?hard?disk?or?a?CDROM
*????????????????file?system?from?an?ATAPI?CDROM?drive
*
*?This?routine?mounts?a?DOS?file?system?from?an?ATA?hard?disk.?Parameters:
*
*?.IP??
*?the?drive?number?of?the?hard?disk;?0?is?‘C:‘?and?1?is?‘D:‘.
*?.IP?
*?the?mount?point?for?all?partitions?which?are?expected?to?be?present
*?on?the?disk?separated?with?commas?for?example?“/ata0/ata1“?or?“C:D:“.
*?Blanks?are?not?allowed?in?this?string.??If?the?drive?is?an?ATAPI?CDROM
*?drive?then?the?CDROM?filesystem?is?specified?by?appending?“(cdrom)“
*?after?the?mount?point?name.??For?example?a?CDROM?drive?could?be?specified
*?as?“/cd(cdrom)“.
*?.LP
*
*?NOTE:?Because?VxWorks?does?not?support?creation?of?partition?tables
*?hard?disks?formatted
*?and?initialized?on?VxWorks?are?not?compatible?with?DOS?machines.??This
*?routine?does?not?refuse?to?mount?a?hard?disk?that?was?initialized?on
*?VxWorks.?Up?to?8?disk?partitions?are?supported.
*
*
*?RETURNS:?OK?or?ERROR.
*
*?SEE?ALSO:
*?‘src/config/usrAta.c‘
*?.pG?“I/O?System?Local?File?Systems?Intel?i386/i486/Pentium“
*/
STATUS?usrAtaConfig
????(
????int?????ctrl ?/*?0:?primary?address?1:?secondary?address?*/
????int?????drive ?/*?drive?number?of?hard?disk?(0?or?1)?*/
????char????*devNames????/*?mount?points?for?each?partition?*/
????)
????{
????BLK_DEV?*pBlkDev;
????CBIO_DEV_ID?cbio?masterCbio;
????STATUS??stat?=?
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????8735??2007-11-29?16:11??VxWorks5.5.1源代碼(完整源代碼)\VxWorks5.5.1源代碼(完整源代碼)\source551\.wind\uninst\data.001
?????文件???????8320??2003-10-09?07:15??VxWorks5.5.1源代碼(完整源代碼)\VxWorks5.5.1源代碼(完整源代碼)\source551\.wind\uninst\INCLUDE.TCL
?????文件????????766??2003-10-09?07:15??VxWorks5.5.1源代碼(完整源代碼)\VxWorks5.5.1源代碼(完整源代碼)\source551\.wind\uninst\REMOVE.ICO
?????文件??????19200??2003-10-09?07:15??VxWorks5.5.1源代碼(完整源代碼)\VxWorks5.5.1源代碼(完整源代碼)\source551\.wind\uninst\UNINST.BMP
?????文件??????53290??2003-10-09?07:15??VxWorks5.5.1源代碼(完整源代碼)\VxWorks5.5.1源代碼(完整源代碼)\source551\.wind\uninst\UNINST.TCL
?????文件??????20237??2003-10-08?23:56??VxWorks5.5.1源代碼(完整源代碼)\VxWorks5.5.1源代碼(完整源代碼)\source551\host\sun4-solaris2\bin\cpuGen
?????文件????????356??2003-10-09?07:15??VxWorks5.5.1源代碼(完整源代碼)\VxWorks5.5.1源代碼(完整源代碼)\source551\LICENSE.TXT
?????文件???????2927??2003-10-09?07:15??VxWorks5.5.1源代碼(完整源代碼)\VxWorks5.5.1源代碼(完整源代碼)\source551\README.TXT
?????文件??????34816??2007-03-20?14:46??VxWorks5.5.1源代碼(完整源代碼)\VxWorks5.5.1源代碼(完整源代碼)\source551\SETUP\001________________license_key.msg
?????文件????????158??2003-10-09?07:15??VxWorks5.5.1源代碼(完整源代碼)\VxWorks5.5.1源代碼(完整源代碼)\source551\SETUP\AUTORUN.INF
?????文件??????????8??2003-10-09?07:15??VxWorks5.5.1源代碼(完整源代碼)\VxWorks5.5.1源代碼(完整源代碼)\source551\SETUP\CD_STATUS
?????文件?????????29??2007-03-21?13:18??VxWorks5.5.1源代碼(完整源代碼)\VxWorks5.5.1源代碼(完整源代碼)\source551\SETUP\key.txt
?????文件????????356??2003-10-09?07:15??VxWorks5.5.1源代碼(完整源代碼)\VxWorks5.5.1源代碼(完整源代碼)\source551\SETUP\LICENSE.TXT
?????文件??????10199??2003-10-09?07:15??VxWorks5.5.1源代碼(完整源代碼)\VxWorks5.5.1源代碼(完整源代碼)\source551\SETUP\MWWRAPPER
?????文件???????2927??2003-10-09?07:15??VxWorks5.5.1源代碼(完整源代碼)\VxWorks5.5.1源代碼(完整源代碼)\source551\SETUP\README.TXT
?????文件?????177878??2003-10-09?07:15??VxWorks5.5.1源代碼(完整源代碼)\VxWorks5.5.1源代碼(完整源代碼)\source551\SETUP\RESOURCE\BITMAPS\BKGND.BMP
?????文件??????89878??2003-10-09?07:15??VxWorks5.5.1源代碼(完整源代碼)\VxWorks5.5.1源代碼(完整源代碼)\source551\SETUP\RESOURCE\BITMAPS\BKGNDSOL.BMP
?????文件??????15658??2003-10-09?07:15??VxWorks5.5.1源代碼(完整源代碼)\VxWorks5.5.1源代碼(完整源代碼)\source551\SETUP\RESOURCE\BITMAPS\DIALOG.BMP
?????文件?????102701??2003-10-09?07:15??VxWorks5.5.1源代碼(完整源代碼)\VxWorks5.5.1源代碼(完整源代碼)\source551\SETUP\RESOURCE\BITMAPS\DIALOG.PPM
?????文件???????1270??2003-10-09?07:15??VxWorks5.5.1源代碼(完整源代碼)\VxWorks5.5.1源代碼(完整源代碼)\source551\SETUP\RESOURCE\BITMAPS\FADEBG.BMP
?????文件??????19894??2003-10-09?07:15??VxWorks5.5.1源代碼(完整源代碼)\VxWorks5.5.1源代碼(完整源代碼)\source551\SETUP\RESOURCE\BITMAPS\PRODUCT.BMP
?????文件????????766??2003-10-09?07:15??VxWorks5.5.1源代碼(完整源代碼)\VxWorks5.5.1源代碼(完整源代碼)\source551\SETUP\RESOURCE\BITMAPS\REMOVE.ICO
?????文件?????120678??2003-10-09?07:15??VxWorks5.5.1源代碼(完整源代碼)\VxWorks5.5.1源代碼(完整源代碼)\source551\SETUP\RESOURCE\BITMAPS\SETUP.BMP
?????文件????????766??2003-10-09?07:15??VxWorks5.5.1源代碼(完整源代碼)\VxWorks5.5.1源代碼(完整源代碼)\source551\SETUP\RESOURCE\BITMAPS\SETUP.ICO
?????文件????????630??2003-10-09?07:15??VxWorks5.5.1源代碼(完整源代碼)\VxWorks5.5.1源代碼(完整源代碼)\source551\SETUP\RESOURCE\BITMAPS\SETUPICO.BMP
?????文件????????766??2003-10-09?07:15??VxWorks5.5.1源代碼(完整源代碼)\VxWorks5.5.1源代碼(完整源代碼)\source551\SETUP\RESOURCE\BITMAPS\SETUPUNX.ICO
?????文件??????30518??2003-10-09?07:15??VxWorks5.5.1源代碼(完整源代碼)\VxWorks5.5.1源代碼(完整源代碼)\source551\SETUP\RESOURCE\BITMAPS\TOR16.BMP
?????文件??????61080??2003-10-09?07:15??VxWorks5.5.1源代碼(完整源代碼)\VxWorks5.5.1源代碼(完整源代碼)\source551\SETUP\RESOURCE\BITMAPS\TOR256.BMP
?????文件???????7078??2003-10-09?07:15??VxWorks5.5.1源代碼(完整源代碼)\VxWorks5.5.1源代碼(完整源代碼)\source551\SETUP\RESOURCE\BITMAPS\TORNADO.ICO
?????文件??????19200??2003-10-09?07:15??VxWorks5.5.1源代碼(完整源代碼)\VxWorks5.5.1源代碼(完整源代碼)\source551\SETUP\RESOURCE\BITMAPS\UNINST.BMP
............此處省略1482個文件信息
- 上一篇:蘭州大學計算機考研試卷
- 下一篇:恩智浦智能車攝像頭組國賽3米1程序
評論
共有 條評論