Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 07a8ef5 in mainline


Ignore:
Timestamp:
2012-04-02T22:14:02Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
a5f007f
Parents:
71ca5a4
Message:

armv7, pagetable: Set additional flags.

File:
1 edited

Legend:

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

    r71ca5a4 r07a8ef5  
    264264                p->should_be_zero_0 = 0;
    265265                p->should_be_zero_1 = 0;
     266                p->domain = 0;
    266267        }
    267268}
     
    292293        }
    293294       
    294         p->cacheable = p->bufferable = (flags & PAGE_CACHEABLE) != 0;
     295        p->cacheable = (flags & PAGE_CACHEABLE);
     296       
     297        /* even devices can use bufferable */
     298        p->bufferable = 1;
     299        p->tex = 0;
     300       
     301        /* Shareable is ignored for devices (non-cacheable),
     302         * turn it on for normal memory. */
     303        p->shareable = 1;
     304       
     305        p->non_global = !(flags & PAGE_GLOBAL);
    295306       
    296307        /* default access permission: kernel only*/
Note: See TracChangeset for help on using the changeset viewer.