h6. [[OS SWI Calls]] h6(. » OS_MMUControl h2. OS_MMUControl h5. (SWI &6B) |_<^{width:4em}. Entry | | |/2<^. R0 |<^. "Reason code":#reason (bits 0 -7), | |<^. Flags (bits 8 – 31) which are reason code specific | |\2<^. All other registers are dependent on reason code| |_<^{width:4em}. Exit | | |\2<^. All other registers dependent on reason code| h4. Use The purpose of this call is to read/modify the ARM system control register (formerly known as the MMU control register), and to allow cache/TLB operations to be performed. h4. Notes The action performed depends on the reason code value in R0. The flags (passed by R0 on entry) are specific to each reason code. h4(#reason). Reason Codes |_<^{width:4em}. #|_<^{width:4em}. Hex #|_<^. Action| |<^. 0|<^. &00|<^. [[OS_MMUControl 0|Modify system control register]]| |<^. 1|<^. &01|<^. [[OS_MMUControl 1|Cache flush request]]| |<^. 2|<^. &02|<^. [[OS_MMUControl 2|Get ARMop]]|