Changeset f9f758e in mainline for kernel


Ignore:
Timestamp:
2013-08-05T22:09:36Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e13ba75
Parents:
8abcf4e
Message:

armv7: Use write-through caches.

Works correctly and still offers significant improvement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/include/arch/mm/page_armv6.h

    r8abcf4e rf9f758e  
    236236        if (flags & PAGE_CACHEABLE) {
    237237                /*
    238                  * Write-back, write-allocate memory, see ch. B3.8.2
     238                 * Write-through, no write-allocate memory, see ch. B3.8.2
    239239                 * (p. B3-1358) of ARM Architecture reference manual.
    240240                 */
    241                 p->tex = 1;
     241                //TODO: Use writeback, write-allocate caches
     242                p->tex = 6;
    242243                p->cacheable = 1;
    243                 p->bufferable = 1;
     244                p->bufferable = 0;
    244245        } else {
    245246                /*
Note: See TracChangeset for help on using the changeset viewer.