Changeset fa86fff in mainline


Ignore:
Timestamp:
2018-08-31T12:02:20Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3012ae7, bbe5e34
Parents:
516e780
git-author:
Jakub Jermar <jakub@…> (2018-08-31 12:02:17)
git-committer:
Jakub Jermar <jakub@…> (2018-08-31 12:02:20)
Message:

Give arm32 more non-identity memory

The split on arm32 unreasonably favoured the identity memory at the
expense of non-identity.

File:
1 edited

Legend:

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

    r516e780 rfa86fff  
    4040
    4141#define KM_ARM32_IDENTITY_START         UINT32_C(0x80000000)
    42 #define KM_ARM32_IDENTITY_SIZE          UINT32_C(0x70000000)
     42#define KM_ARM32_IDENTITY_SIZE          UINT32_C(0x40000000)
    4343
    44 #define KM_ARM32_NON_IDENTITY_START     UINT32_C(0xf0000000)
     44#define KM_ARM32_NON_IDENTITY_START     UINT32_C(0xc0000000)
    4545/*
    4646 * The last virtual megabyte contains the high exception vectors (0xFFFF0000).
    4747 * Do not include this range into kernel non-identity.
    4848 */
    49 #define KM_ARM32_NON_IDENTITY_SIZE      UINT32_C(0x0ff00000)
     49#define KM_ARM32_NON_IDENTITY_SIZE      UINT32_C(0x3ff00000)
    5050
    5151extern void km_identity_arch_init(void);
Note: See TracChangeset for help on using the changeset viewer.