10.07.2015 Views

Intel 80310 I/O Processor Chipset AAU Coding Techniques

Intel 80310 I/O Processor Chipset AAU Coding Techniques

Intel 80310 I/O Processor Chipset AAU Coding Techniques

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Intel</strong> ® <strong>80310</strong> I/O <strong>Processor</strong> <strong>Chipset</strong> <strong>AAU</strong> <strong>Coding</strong> <strong>Techniques</strong>MMU Functions for <strong>Intel</strong> ® XScale Microarchitecture/** cpu_xscale_check_bugs()*/ENTRY(cpu_xscale_check_bugs)mrs ip, cpsrbic ip, ip, #F_BITmsr cpsr, ipmov pc, lr/** cpu_xscale_proc_init()** Nothing too exciting at the moment*/ENTRY(cpu_xscale_proc_init)mov pc, lr/** cpu_xscale_proc_fin()*/ENTRY(cpu_xscale_proc_fin)str lr, [sp, #-4]!mov r0, #F_BIT|I_BIT|SVC_MODEmsr cpsr_c, r0mrc p15, 0, r0, c1, c0, 0@ ctrl registerbic r0, r0, #0x1800@ ...IZ...........bic r0, r0, #0x0006@ .............CA.mcr p15, 0, r0, c1, c0, 0@ disable cachesblcpu_xscale_cache_clean_invalidate_all@ clean cachesldr pc, [sp], #4/** cpu_xscale_reset(loc)White Paper 77

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!