📄 usrata.html
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/usrAta.html - generated by refgen from /vobs/wpwr/target/src/config/usrAta.c --> <title> usrAta </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.htm"><i>VxWorks API Reference : OS Libraries</i></a></p></blockquote><h1>usrAta</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>usrAta</strong> - ATA/ATAPI initialization </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><a href="./usrAta.html#usrAtaConfig">usrAtaConfig</a>( )</b> - mount a DOS file system from an ATA hard disk or a CDROM<br><b><a href="./usrAta.html#usrAtaInit">usrAtaInit</a>( )</b> - intialize the hard disk driver<br><hr><a name="usrAtaConfig"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>usrAtaConfig( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>usrAtaConfig( )</strong> - mount a DOS file system from an ATA hard disk or a CDROM</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>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 */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>file system from an ATAPI CDROM drive<p>This routine mounts a DOS file system from an ATA hard disk. Parameters:<p><dl><dt><i>drive</i><dd>the drive number of the hard disk; 0 is <b>C:</b> and 1 is <b>D:</b>.<dt><i>devName</i><dd>the mount point for all partitions which are expected to be presenton 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 CDROMdrive, then the CDROM filesystem is specified by appending "(cdrom)"after the mount point name. For example, a CDROM drive could be specifiedas "/cd(cdrom)".</dl><p></blockquote><h4>NOTE</h4><blockquote><p>Because VxWorks does not support creation of partition tables,hard disks formattedand initialized on VxWorks are not compatible with DOS machines. Thisroutine does not refuse to mount a hard disk that was initialized onVxWorks. Up to 8 disk partitions are supported.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK or ERROR.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./usrAta.html#top">usrAta</a></b>, <b>src/config/usrAta.c</b>, <i>VxWorks Programmer's Guide: I/O System, Local File Systems, Intel i386/i486/Pentium</i><hr><a name="usrAtaInit"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>usrAtaInit( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>usrAtaInit( )</strong> - intialize the hard disk driver</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void usrAtaInit (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine is called from <b>usrConfig.c</b> to initialize the hard drive.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./usrAta.html#top">usrAta</a></b></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -