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

Changeset 06f10ac in mainline for boot/arch/arm64/include/arch/arch.h


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
  • boot/arch/arm64/include/arch/arch.h

    r95b7d4df r06f10ac  
    4141
    4242#define BOOT_OFFSET  0x80000
     43
    4344#ifndef __ASSEMBLER__
    44 #define KA2PA(x)  (((uintptr_t) (x)) - UINT64_C(0xffffffff80000000))
     45#define KA2PA(x)  (((uintptr_t) (x)) - UINT64_C(0xffffffff00000000))
    4546#endif
    4647
Note: See TracChangeset for help on using the changeset viewer.