From: sun Date: Thu, 2 Aug 2007 20:07:23 +0800 (CST) Subject: [U-Boot-Users] about embedded assembly Message-ID: <718789.22176.qm@web15607.mail.cnb.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de hello,all The following program is from MARVELL U-Boot if(mvCtrlModelGet() == MV_5281_DEV_ID) /* Orion 2 */ { __asm__ __volatile__("mrc p15, 0, %0, c14, c0, 0" : "=r" (temp):: "memory"); if (temp & 0x10000000) { printf("CPU: Write allocate enabled\n"); } else { printf("CPU: Write allocate Disabled\n"); } } I don't understand what's the following sentense mean,please detailed explain it,thanks __asm__ __volatile__("mrc p15, 0, %0, c14, c0, 0" : "=r" (temp):: "memory"); --------------------------------- ????????3.5G???20M??? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.denx.de/pipermail/u-boot/attachments/20070802/ad2c3664/attachment.htm