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

Changeset 06f10ac in mainline for kernel/arch/arm64/src/machine_func.c


Ignore:
Timestamp:
2021-08-22T19:08:44Z (2 months 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/src/machine_func.c

    r95b7d4df r06f10ac  
    3737
    3838#include <arch/machine_func.h>
     39#include <arch/mach/hikey960/hikey960.h>
    3940#include <arch/mach/virt/virt.h>
    4041
     
    4748#if defined(MACHINE_virt)
    4849        machine_ops = &virt_machine_ops;
     50#elif defined(MACHINE_hikey960)
     51        machine_ops = &hikey960_machine_ops;
    4952#else
    5053#error Machine type not defined.
Note: See TracChangeset for help on using the changeset viewer.