OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [doc/] [html/] [ref/] [fileio-devices.html] - Blame information for rev 174

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 28 unneback
<!-- Copyright (C) 2003 Red Hat, Inc.                                -->
2
<!-- This material may be distributed only subject to the terms      -->
3
<!-- and conditions set forth in the Open Publication License, v1.0  -->
4
<!-- or later (the latest version is presently available at          -->
5
<!-- http://www.opencontent.org/openpub/).                           -->
6
<!-- Distribution of the work or derivative of the work in any       -->
7
<!-- standard (paper) book form is prohibited unless prior           -->
8
<!-- permission is obtained from the copyright holder.               -->
9
<HTML
10
><HEAD
11
><TITLE
12
>Devices</TITLE
13
><meta name="MSSmartTagsPreventParsing" content="TRUE">
14
<META
15
NAME="GENERATOR"
16
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
17
"><LINK
18
REL="HOME"
19
TITLE="eCos Reference Manual"
20
HREF="ecos-ref.html"><LINK
21
REL="UP"
22
TITLE="File System Support Infrastructure"
23
HREF="fileio.html"><LINK
24
REL="PREVIOUS"
25
TITLE="Select"
26
HREF="fileio-select.html"><LINK
27
REL="NEXT"
28
TITLE="Writing a New Filesystem"
29
HREF="fileio-writing.html"></HEAD
30
><BODY
31
CLASS="CHAPTER"
32
BGCOLOR="#FFFFFF"
33
TEXT="#000000"
34
LINK="#0000FF"
35
VLINK="#840084"
36
ALINK="#0000FF"
37
><DIV
38
CLASS="NAVHEADER"
39
><TABLE
40
SUMMARY="Header navigation table"
41
WIDTH="100%"
42
BORDER="0"
43
CELLPADDING="0"
44
CELLSPACING="0"
45
><TR
46
><TH
47
COLSPAN="3"
48
ALIGN="center"
49
>eCos Reference Manual</TH
50
></TR
51
><TR
52
><TD
53
WIDTH="10%"
54
ALIGN="left"
55
VALIGN="bottom"
56
><A
57
HREF="fileio-select.html"
58
ACCESSKEY="P"
59
>Prev</A
60
></TD
61
><TD
62
WIDTH="80%"
63
ALIGN="center"
64
VALIGN="bottom"
65
></TD
66
><TD
67
WIDTH="10%"
68
ALIGN="right"
69
VALIGN="bottom"
70
><A
71
HREF="fileio-writing.html"
72
ACCESSKEY="N"
73
>Next</A
74
></TD
75
></TR
76
></TABLE
77
><HR
78
ALIGN="LEFT"
79
WIDTH="100%"></DIV
80
><DIV
81
CLASS="CHAPTER"
82
><H1
83
><A
84
NAME="FILEIO-DEVICES">Chapter 28. Devices</H1
85
><P
86
>Devices are accessed by means of a pseudo-filesystem, &quot;devfs&quot;, that is
87
mounted on &quot;/dev&quot;. Open operations are translated into calls to
88
<TT
89
CLASS="FUNCTION"
90
>cyg_io_lookup()</TT
91
> and if successful result in a file object whose
92
<TT
93
CLASS="STRUCTFIELD"
94
><I
95
>f_ops</I
96
></TT
97
> functions translate filesystem API functions into calls into
98
the device API.</P
99
></DIV
100
><DIV
101
CLASS="NAVFOOTER"
102
><HR
103
ALIGN="LEFT"
104
WIDTH="100%"><TABLE
105
SUMMARY="Footer navigation table"
106
WIDTH="100%"
107
BORDER="0"
108
CELLPADDING="0"
109
CELLSPACING="0"
110
><TR
111
><TD
112
WIDTH="33%"
113
ALIGN="left"
114
VALIGN="top"
115
><A
116
HREF="fileio-select.html"
117
ACCESSKEY="P"
118
>Prev</A
119
></TD
120
><TD
121
WIDTH="34%"
122
ALIGN="center"
123
VALIGN="top"
124
><A
125
HREF="ecos-ref.html"
126
ACCESSKEY="H"
127
>Home</A
128
></TD
129
><TD
130
WIDTH="33%"
131
ALIGN="right"
132
VALIGN="top"
133
><A
134
HREF="fileio-writing.html"
135
ACCESSKEY="N"
136
>Next</A
137
></TD
138
></TR
139
><TR
140
><TD
141
WIDTH="33%"
142
ALIGN="left"
143
VALIGN="top"
144
>Select</TD
145
><TD
146
WIDTH="34%"
147
ALIGN="center"
148
VALIGN="top"
149
><A
150
HREF="fileio.html"
151
ACCESSKEY="U"
152
>Up</A
153
></TD
154
><TD
155
WIDTH="33%"
156
ALIGN="right"
157
VALIGN="top"
158
>Writing a New Filesystem</TD
159
></TR
160
></TABLE
161
></DIV
162
></BODY
163
></HTML
164
>

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.