File: cacheflush.2

package info (click to toggle)
manpages-pt 20040726-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,988 kB
  • sloc: sh: 45; makefile: 16
file content (69 lines) | stat: -rw-r--r-- 2,467 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
.\" Written by Ralf Baechle (ralf@waldorf-gmbh.de),
.\" Copyright (c) 1994, 1995 Waldorf GMBH
.\"
.\" This is free documentation; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of
.\" the License, or (at your option) any later version.
.\"
.\" The GNU General Public License's references to "object code"
.\" and "executables" are to be interpreted as the output of any
.\" document formatting or typesetting system, including
.\" intermediate and printed output.
.\"
.\" This manual is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public
.\" License along with this manual; if not, write to the Free
.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
.\" USA.
.\"
.TH CACHEFLUSH 2 "27 Junho 1995" "Linux 2.0.32" "Manual do Programador Linux"
.SH NOME
cacheflush \- descarrega o contedo do cache de instrues e/ou dados
.SH SINOPSE
.nf
.B #include <asm/cachectl.h>
.sp
.BI "int cacheflush(char *" addr ", int "nbytes ", int "cache ");"
.fi
.SH DESCRIO
.B cacheflush
descarrega o contedo dos cache(s) indicados pelo usurio nos endereos
de addr at (addr+nbytes-1). Cache pode ser um destes:
.TP
.B ICACHE
Descarrega o cache de instrues
.TP
.B DCACHE
Escreve de volta para a memria e invalida as linhas vlidas de cache afetadas.
.TP
.B BCACHE
O mesmo que 
.B (ICACHE|DCACHE).
.PP
.SH "VALOR DE RETORNO"
.B cacheflush
returna 0 em caso de sucesso ou -1 em caso de erro. Se erros forem detectados,
errno indicar o erro.
.SH ERROS
.TP
.B EINVAL
parmetro cache no corresponde a ICACHE, DCACHE, ou BCACHE.
.TP
.B EFAULT
Algum ou todos os endereos no intervalo de addr
at (addr+nbytes-1) no esto acessveis.
.PP
.SH BUGS
A implementao corrente ignora os parmetros addr e nbytes.
Consequentemente sempre todo o cache  descarregado.
.SH NOTA
Esse chamada ao sistema est disponvel apenas em sistemas baseados em MIPS.
Ela no deve ser usada em programas concebidos para serem portados.
.SH TRADUZIDO POR LDP-BR em 21/08/2000.
\&\fR\&\f(CWMarcelo D. Beckmann <marcelobeckmann@yahoo.com> (traduo)\fR
\&\fR\&\f(CWFbio Henrique F. Silva <fabiohfs@mail.com> (reviso)\fR