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

Ignore:
Timestamp:
2021-08-22T19:08:44Z (8 weeks ago)
Author:
Martin Decky <martin@…>
Branches:
master
Children:
c21cc26
Parents:
95b7d4df
Message:

Implement support for HiKey? 960

Initial support for the 96Boards HiKey? 960 board.

  • The kernel identity mapping has been extended to 4 GiB. The initial bootstrap mapping maps 3 GiB as nornal memory and the next 1 GiB as device memory to support early UART debugging output.
  • The istate_t has been padded in order to preserve the stack pointer alignment invariant.

The current implementation is limited to UP and UART input/output.

File:
1 edited

Legend:

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

    r95b7d4df r06f10ac  
    4141#include <typedefs.h>
    4242
    43 #define KM_ARM64_IDENTITY_START  UINT64_C(0xffffffff80000000)
    44 #define KM_ARM64_IDENTITY_SIZE   UINT64_C(0x0000000080000000)
     43#define KM_ARM64_IDENTITY_START  UINT64_C(0xffffffff00000000)
     44#define KM_ARM64_IDENTITY_SIZE   UINT64_C(0x0000000100000000)
    4545
    4646#define KM_ARM64_NON_IDENTITY_START  UINT64_C(0xffff000000000000)
    47 #define KM_ARM64_NON_IDENTITY_SIZE   UINT64_C(0x0000ffff80000000)
     47#define KM_ARM64_NON_IDENTITY_SIZE   UINT64_C(0x0000ffff00000000)
    4848
    4949extern void km_identity_arch_init(void);
     
    5353#else /* __ASSEMBLER__ */
    5454
    55 #define KM_ARM64_IDENTITY_START  0xffffffff80000000
    56 #define KM_ARM64_IDENTITY_SIZE   0x0000000080000000
     55#define KM_ARM64_IDENTITY_START  0xffffffff00000000
     56#define KM_ARM64_IDENTITY_SIZE   0x0000000100000000
    5757
    5858#define KM_ARM64_NON_IDENTITY_START  0xffff000000000000
    59 #define KM_ARM64_NON_IDENTITY_SIZE   0x0000ffff80000000
     59#define KM_ARM64_NON_IDENTITY_SIZE   0x0000ffff00000000
    6060
    6161#endif /* __ASSEMBLER__ */
Note: See TracChangeset for help on using the changeset viewer.