Changeset 2e55443 in mainline


Ignore:
Timestamp:
2013-02-14T22:07:31Z (12 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f942226e
Parents:
f69ac6c
Message:

bootloader: fix the pte_level0_descriptor_t structure

The first level descriptor has only 3 permission bits (AP[1:0] and AP[2]), the fourth is the "shareable" bit.

Location:
boot/arch/arm32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/arm32/include/mm.h

    rf69ac6c r2e55443  
    8181        unsigned int access_permission_0 : 2;
    8282        unsigned int tex : 3;
    83         unsigned int access_permission_1 : 2;
     83        unsigned int access_permission_1 : 1;
     84        unsigned int shareable : 1;
    8485        unsigned int non_global : 1;
    8586        unsigned int should_be_zero_2 : 1;
  • boot/arch/arm32/src/mm.c

    rf69ac6c r2e55443  
    103103        pte->tex = 0;
    104104        pte->access_permission_1 = 0;
     105        pte->shareable = 0;
    105106        pte->non_global = 0;
    106107        pte->should_be_zero_2 = 0;
Note: See TracChangeset for help on using the changeset viewer.