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

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 moved

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm64/include/arch/mach/hikey960/hikey960.h

    r95b7d4df r06f10ac  
    11/*
    2  * Copyright (c) 2019 Petr Pavlu
     2 * Copyright (c) 2021 Martin Decky
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 #include <arch/barrier.h>
    30 #include <barrier.h>
     29/** @addtogroup kernel_arm64_hikey960
     30 * @brief HiKey 960 platform.
     31 * @ingroup kernel_arm64
     32 * @{
     33 */
     34/** @file
     35 * @brief HiKey 960 platform driver.
     36 */
    3137
    32 void smc_coherence(void *a, size_t l)
    33 {
    34         ensure_visibility(a, l);
    35 }
     38#ifndef KERN_arm64_mach_hikey960_H_
     39#define KERN_arm64_mach_hikey960_H_
     40
     41#include <arch/machine_func.h>
     42
     43extern struct arm_machine_ops hikey960_machine_ops;
     44
     45#endif
     46
     47/** @}
     48 */
Note: See TracChangeset for help on using the changeset viewer.