This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

help needed


        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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]