Searched refs:sctlr (Results 1 – 1 of 1) sorted by relevance
/picolibc-latest/picocrt/machine/arm/ |
D | crt0.c | 226 uint32_t sctlr; in _cstart() local 227 __asm__("mrc p15, 0, %0, c1, c0, 0" : "=r" (sctlr)); in _cstart() 228 sctlr |= (1 << 30); in _cstart() 229 __asm__("mcr p15, 0, %0, c1, c0, 0" : : "r" (sctlr)); in _cstart() 280 uint32_t sctlr; in _cstart() local 281 __asm__("mrc p15, 0, %0, c1, c0, 0" : "=r" (sctlr)); in _cstart() 282 sctlr |= SCTLR_ICACHE | SCTLR_BRANCH_PRED | SCTLR_DATA_L2 | SCTLR_MMU; in _cstart() 283 sctlr &= ~SCTLR_TRE; in _cstart() 284 __asm__("mcr p15, 0, %0, c1, c0, 0\n" :: "r" (sctlr)); in _cstart()
|