This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
help needed
- From: Vinayak P Risbud <vinayak at multitech dot co dot in>
- To: Ecos-Discuss <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 17 Sep 2002 18:03:23 +0530
- Subject: [ECOS] help needed
- Organization: Multi-Tech Software Systems
Hi I am using gnu assembler to compile this code.
Can any one explain me, what is the meaning of last 3 statements
?
asm volatile (
\
"mrc p15,0,r1,c1,c0,0;"
\
"orr r1,r1,#0x1000;"
\
"orr r1,r1,#0x0003;" /* enable ICache (also ensures */
\
/* that MMU and alignment faults */
\
/* are enabled) */
\
"mcr p15,0,r1,c1,c0,0"
\
:
\
:
\
: "r1" /* Clobber list */
\
);
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss