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

Changeset a5f007f in mainline


Ignore:
Timestamp:
2012-04-02T22:33:33Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
1bd99214
Parents:
07a8ef5
Message:

armv7, paging: Make User mapped devices not shareable.

Otherwise it causes pagefault. No idea why…

File:
1 edited

Legend:

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

    r07a8ef5 ra5f007f  
    312312                if (!(flags & PAGE_WRITE))
    313313                        p->access_permission_1 = PTE_AP1_RO;
     314                if (!(flags & PAGE_CACHEABLE)) {
     315                        p->tex = 0x2;
     316                        p->bufferable = 0;
     317                        p->cacheable = 0;
     318                }
    314319        }
    315320}
Note: See TracChangeset for help on using the changeset viewer.