[ECOS] help needed

Vinayak P Risbud vinayak@multitech.co.in
Tue Sep 17 05:48:00 GMT 2002


        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



More information about the Ecos-discuss mailing list