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

Changeset 34ab31c in mainline


Ignore:
Timestamp:
2012-06-07T09:03:24Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
master
Children:
e6a78b9
Parents:
306f0de
Message:

Cosmetic reordering of page protection bits.

Location:
kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/src/mm/page.c

    r306f0de r34ab31c  
    5757        uintptr_t cur;
    5858        unsigned int identity_flags =
    59             PAGE_CACHEABLE | PAGE_EXEC | PAGE_GLOBAL | PAGE_WRITE;
     59            PAGE_GLOBAL | PAGE_CACHEABLE | PAGE_EXEC | PAGE_WRITE | PAGE_READ;
    6060               
    6161        page_mapping_operations = &pt_mapping_operations;
  • kernel/genarch/src/mm/page_pt.c

    r306f0de r34ab31c  
    346346                SET_PTL1_ADDRESS(ptl0, PTL0_INDEX(addr), KA2PA(l1));
    347347                SET_PTL1_FLAGS(ptl0, PTL0_INDEX(addr),
    348                     PAGE_PRESENT | PAGE_USER | PAGE_EXEC | PAGE_CACHEABLE |
    349                     PAGE_WRITE);
     348                    PAGE_PRESENT | PAGE_USER | PAGE_CACHEABLE |
     349                    PAGE_EXEC | PAGE_WRITE | PAGE_READ);
    350350        }
    351351}
Note: See TracChangeset for help on using the changeset viewer.