Not being an expert on ARM cpu's and architectures can someone tell me
if the coprocessor interface (p15) is part of the CPU (ARM6, ARM7)or
part of the architecture (v3, v4, v4T)?

Which of the two forms below should be used


ENTRY(cpu_arm6_reset)
ENTRY(cpu_arm7_reset)
  mov r0, #0
  mcr p15, 0, r0, c7, c0, 0  @ flush cache
#ifdef CONFIG_CPU_32v4
  mcr p15, 0, r0, c8, c7, 0  @ flush TLB (v4)
#else
  mcr p15, 0, r0, c5, c0, 0  @ flush TLB (v3)
#endif
@  mcr p15, 0, r0, c5, c0, 0  @ flush TLB
  mov pc, lr


---------------------------------------
ENTRY(cpu_arm720T_reset)
  mov r0, #0
  mcr p15, 0, r0, c7, c0, 0  @ flush cache
  mcr p15, 0, r0, c8, c7, 0  @ flush TLB (v4)
  mov pc, lr



Thanks,

Soctt


unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++        Please use [EMAIL PROTECTED] for           ++
++                        kernel-related discussions.                      ++

Reply via email to