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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<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 Microarchitecturebic r0, r0, #(PAGESIZE - 1) & 0x00ffbic r0, r0, #(PAGESIZE - 1) & 0xff00mcr p15, 0, ip, c7, c10, 4@ Drain Write (& Fill) Buffer1: mcr p15, 0, r0, c8, c6, 1@ invalidate D TLB entrymcr p15, 0, r0, c8, c5, 1@ invalidate I TLB entryadd r0, r0, #PAGESIZEcmp r0, r1blo 1bcpwait_ret lr, ip/** cpu_xscale_tlb_invalidate_page(page, flags)** invalidate the TLB entries for the specified page.** page: page to invalidate* flags: non-zero if we include the I TLB*/.align5ENTRY(cpu_xscale_tlb_invalidate_page)mcr p15, 0, ip, c7, c10, 4@ Drain Write (& Fill) Bufferteq r1, #0mcr p15, 0, r0, c8, c6, 1@ invalidate D TLB entrymcrnep15, 0, r3, c8, c5, 1@ invalidate I TLB entrycpwait_ret lr, ip/* ================================ TLB LOCKING==============================** The <strong>Intel</strong> ® XScale microarchitecture implements support for locking entries into* the Instruction and Data TLBs. The following functions provide the* low level support for supporting these under Linux. xscale-lock.c* implements some higher level management code. Most of the following* is taken straight out of the Developer's Manual.*/White Paper 89

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

Saved successfully!

Ooh no, something went wrong!