Changeset a9bd960d in mainline


Ignore:
Timestamp:
2013-09-29T07:12:08Z (11 years ago)
Author:
Beniamino Galvani <b.galvani@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
226f72e
Parents:
dd0c8a0
Message:

Enable 'shareable' memory attribute on armv6.

File:
1 edited

Legend:

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

    rdd0c8a0 ra9bd960d  
    278278        }
    279279       
     280#if defined(PROCESSOR_ARCH_armv6)
     281        /* FIXME: this disables caches */
     282        p->shareable = 1;
     283#else
    280284        /* Shareable is ignored for devices (non-cacheable),
    281285         * turn it off for normal memory. */
    282286        p->shareable = 0;
     287#endif
    283288       
    284289        p->non_global = !(flags & PAGE_GLOBAL);
Note: See TracChangeset for help on using the changeset viewer.