Changeset 1f271d9 in mainline for kernel/arch/arm32/include/cp15.h
- Timestamp:
- 2013-01-10T22:31:57Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7dc8bf1
- Parents:
- 467f0c0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/include/cp15.h
r467f0c0 r1f271d9 45 45 { \ 46 46 uint32_t val; \ 47 asm volatile ( "mrc p15, opc1, %0, crn, crm, opc2\n" : "=r" (val) ); \47 asm volatile ( "mrc p15, "#opc1", %0, "#crn", "#crm", "#opc2"\n" : "=r" (val) ); \ 48 48 return val; \ 49 49 } … … 51 51 static inline void name##_write(uint32_t val) \ 52 52 { \ 53 asm volatile ( "mrc p15, opc1, %0, crn, crm, opc2\n" :: "r" (val) ); \53 asm volatile ( "mrc p15, "#opc1", %0, "#crn", "#crm", "#opc2"\n" :: "r" (val) ); \ 54 54 } 55 55
Note:
See TracChangeset
for help on using the changeset viewer.