Changeset 06f10ac in mainline for uspace/srv


Ignore:
Timestamp:
2021-08-22T19:08:44Z (4 years ago)
Author:
Martin Decky <martin@…>
Branches:
master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
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.

Location:
uspace/srv/hid
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/input/input.c

    r95b7d4df r06f10ac  
    641641        kbd_add_dev(&chardev_port, &stty_ctl);
    642642#endif
     643#if defined(UARCH_arm64) && defined(MACHINE_hikey960)
     644        kbd_add_dev(&chardev_port, &stty_ctl);
     645#endif
    643646        /* Silence warning on abs32le about kbd_add_dev() being unused */
    644647        (void) kbd_add_dev;
  • uspace/srv/hid/output/port/chardev.c

    r95b7d4df r06f10ac  
    218218#elif defined(UARCH_arm64) && defined(MACHINE_virt)
    219219                /* OK */
     220#elif defined(UARCH_arm64) && defined(MACHINE_hikey960)
     221                /* OK */
    220222#else
    221223                return EOK;
Note: See TracChangeset for help on using the changeset viewer.