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/] [cache-command.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
>cache</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="Common Commands"
23
HREF="common-commands.html"><LINK
24
REL="PREVIOUS"
25
TITLE="baudrate"
26
HREF="baudrate-command.html"><LINK
27
REL="NEXT"
28
TITLE="channel"
29
HREF="channel-command.html"></HEAD
30
><BODY
31
CLASS="REFENTRY"
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="baudrate-command.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="channel-command.html"
72
ACCESSKEY="N"
73
>Next</A
74
></TD
75
></TR
76
></TABLE
77
><HR
78
ALIGN="LEFT"
79
WIDTH="100%"></DIV
80
><H1
81
><A
82
NAME="CACHE-COMMAND">cache</H1
83
><DIV
84
CLASS="REFNAMEDIV"
85
><A
86
NAME="AEN3044"
87
></A
88
><H2
89
>Name</H2
90
>cache&nbsp;--&nbsp;Control hardware caches</DIV
91
><DIV
92
CLASS="REFSYNOPSISDIV"
93
><A
94
NAME="AEN3047"><H2
95
>Synopsis</H2
96
><P
97
><B
98
CLASS="COMMAND"
99
>cache</B
100
>  [on | off]</P
101
></DIV
102
><DIV
103
CLASS="REFSECT1"
104
><A
105
NAME="AEN3053"
106
></A
107
><H2
108
>Arguments</H2
109
><DIV
110
CLASS="INFORMALTABLE"
111
><A
112
NAME="AEN3055"><P
113
></P
114
><TABLE
115
BORDER="1"
116
CLASS="CALSTABLE"
117
><THEAD
118
><TR
119
><TH
120
WIDTH="25%"
121
ALIGN="LEFT"
122
VALIGN="TOP"
123
>Name</TH
124
><TH
125
WIDTH="25%"
126
ALIGN="LEFT"
127
VALIGN="TOP"
128
>Type</TH
129
><TH
130
WIDTH="25%"
131
ALIGN="LEFT"
132
VALIGN="TOP"
133
>Description</TH
134
><TH
135
WIDTH="25%"
136
ALIGN="LEFT"
137
VALIGN="TOP"
138
>Default</TH
139
></TR
140
></THEAD
141
><TBODY
142
><TR
143
><TD
144
WIDTH="25%"
145
ALIGN="LEFT"
146
VALIGN="TOP"
147
>on</TD
148
><TD
149
WIDTH="25%"
150
ALIGN="LEFT"
151
VALIGN="TOP"
152
>&nbsp;</TD
153
><TD
154
WIDTH="25%"
155
ALIGN="LEFT"
156
VALIGN="TOP"
157
>Turn the caches on</TD
158
><TD
159
WIDTH="25%"
160
ALIGN="LEFT"
161
VALIGN="TOP"
162
><SPAN
163
CLASS="emphasis"
164
><I
165
CLASS="EMPHASIS"
166
>none</I
167
></SPAN
168
></TD
169
></TR
170
><TR
171
><TD
172
WIDTH="25%"
173
ALIGN="LEFT"
174
VALIGN="TOP"
175
>off</TD
176
><TD
177
WIDTH="25%"
178
ALIGN="LEFT"
179
VALIGN="TOP"
180
>&nbsp;</TD
181
><TD
182
WIDTH="25%"
183
ALIGN="LEFT"
184
VALIGN="TOP"
185
>Turn the caches off</TD
186
><TD
187
WIDTH="25%"
188
ALIGN="LEFT"
189
VALIGN="TOP"
190
><SPAN
191
CLASS="emphasis"
192
><I
193
CLASS="EMPHASIS"
194
>none</I
195
></SPAN
196
></TD
197
></TR
198
></TBODY
199
></TABLE
200
><P
201
></P
202
></DIV
203
></DIV
204
><DIV
205
CLASS="REFSECT1"
206
><A
207
NAME="AEN3080"
208
></A
209
><H2
210
>Description</H2
211
><P
212
>The <B
213
CLASS="COMMAND"
214
>cache</B
215
> command is used to manipulate the caches on the processor. </P
216
><P
217
>With no options, this command specifies the state of the system caches.</P
218
><P
219
>When an option is given, the caches are turned off or on appropriately.</P
220
></DIV
221
><DIV
222
CLASS="REFSECT1"
223
><A
224
NAME="AEN3086"
225
></A
226
><H2
227
>Examples</H2
228
><P
229
>Show the current cache state.
230
<TABLE
231
BORDER="5"
232
BGCOLOR="#E0E0F0"
233
WIDTH="70%"
234
><TR
235
><TD
236
><PRE
237
CLASS="SCREEN"
238
>
239
RedBoot&#62; <TT
240
CLASS="USERINPUT"
241
><B
242
>cache</B
243
></TT
244
>
245
Data cache: On, Instruction cache: On</PRE
246
></TD
247
></TR
248
></TABLE
249
> </P
250
><P
251
>Disable the caches.
252
<TABLE
253
BORDER="5"
254
BGCOLOR="#E0E0F0"
255
WIDTH="70%"
256
><TR
257
><TD
258
><PRE
259
CLASS="SCREEN"
260
>
261
RedBoot&#62; <TT
262
CLASS="USERINPUT"
263
><B
264
>cache off</B
265
></TT
266
>
267
RedBoot&#62; <TT
268
CLASS="USERINPUT"
269
><B
270
>cache</B
271
></TT
272
>
273
Data cache: Off, Instruction cache: Off</PRE
274
></TD
275
></TR
276
></TABLE
277
> </P
278
><P
279
>Enable the caches.
280
<TABLE
281
BORDER="5"
282
BGCOLOR="#E0E0F0"
283
WIDTH="70%"
284
><TR
285
><TD
286
><PRE
287
CLASS="SCREEN"
288
>
289
RedBoot&#62; <TT
290
CLASS="USERINPUT"
291
><B
292
>cache on</B
293
></TT
294
>
295
RedBoot&#62; <TT
296
CLASS="USERINPUT"
297
><B
298
>cache</B
299
></TT
300
>
301
Data cache: On, Instruction cache: On</PRE
302
></TD
303
></TR
304
></TABLE
305
>
306
      </P
307
></DIV
308
><DIV
309
CLASS="NAVFOOTER"
310
><HR
311
ALIGN="LEFT"
312
WIDTH="100%"><TABLE
313
SUMMARY="Footer navigation table"
314
WIDTH="100%"
315
BORDER="0"
316
CELLPADDING="0"
317
CELLSPACING="0"
318
><TR
319
><TD
320
WIDTH="33%"
321
ALIGN="left"
322
VALIGN="top"
323
><A
324
HREF="baudrate-command.html"
325
ACCESSKEY="P"
326
>Prev</A
327
></TD
328
><TD
329
WIDTH="34%"
330
ALIGN="center"
331
VALIGN="top"
332
><A
333
HREF="ecos-ref.html"
334
ACCESSKEY="H"
335
>Home</A
336
></TD
337
><TD
338
WIDTH="33%"
339
ALIGN="right"
340
VALIGN="top"
341
><A
342
HREF="channel-command.html"
343
ACCESSKEY="N"
344
>Next</A
345
></TD
346
></TR
347
><TR
348
><TD
349
WIDTH="33%"
350
ALIGN="left"
351
VALIGN="top"
352
>baudrate</TD
353
><TD
354
WIDTH="34%"
355
ALIGN="center"
356
VALIGN="top"
357
><A
358
HREF="common-commands.html"
359
ACCESSKEY="U"
360
>Up</A
361
></TD
362
><TD
363
WIDTH="33%"
364
ALIGN="right"
365
VALIGN="top"
366
>channel</TD
367
></TR
368
></TABLE
369
></DIV
370
></BODY
371
></HTML
372
>

powered by: WebSVN 2.1.0

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