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/page.h

    r95b7d4df r06f10ac  
    5353
    5454#define KA2PA(x) \
    55         (((uintptr_t) (x)) - UINT64_C(0xffffffff80000000) + physmem_base)
     55        (((uintptr_t) (x)) - UINT64_C(0xffffffff00000000) + physmem_base)
    5656#define PA2KA(x) \
    57         (((uintptr_t) (x)) + UINT64_C(0xffffffff80000000) - physmem_base)
     57        (((uintptr_t) (x)) + UINT64_C(0xffffffff00000000) - physmem_base)
    5858
    5959#endif /* __ASSEMBLER__ */
Note: See TracChangeset for help on using the changeset viewer.