Changeset 7348c4b in mainline


Ignore:
Timestamp:
2019-04-10T15:04:17Z (6 years ago)
Author:
Jakub Jermář <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
69b6dd1f
Parents:
8df0306
git-author:
Petr Pavlu <setup@…> (2019-03-31 14:36:08)
git-committer:
Jakub Jermář <jakub@…> (2019-04-10 15:04:17)
Message:

arm64: Add PL011 uspace driver

Files:
5 added
6 edited

Legend:

Unmodified
Added
Removed
  • .gitignore

    r8df0306 r7348c4b  
    314314uspace/drv/char/ns8250/ns8250
    315315uspace/drv/char/pc-lpt/pc-lpt
     316uspace/drv/char/pl011/pl011
    316317uspace/drv/char/pl050/pl050
    317318uspace/drv/char/ps2mouse/ps2mouse
  • boot/arch/arm64/Makefile.inc

    r8df0306 r7348c4b  
    5656ifeq ($(MACHINE), virt)
    5757        RD_DRVS_ESSENTIAL += \
     58                char/pl011 \
    5859                intctl/gicv2
    5960endif
  • uspace/Makefile

    r8df0306 r7348c4b  
    169169        drv/char/ns8250 \
    170170        drv/char/pc-lpt \
     171        drv/char/pl011 \
    171172        drv/char/pl050 \
    172173        drv/char/ski-con \
  • uspace/srv/hid/input/input.c

    r8df0306 r7348c4b  
    630630        kbd_add_dev(&chardev_port, &stty_ctl);
    631631#endif
     632#if defined(UARCH_arm64) && defined(MACHINE_virt)
     633        kbd_add_dev(&chardev_port, &stty_ctl);
     634#endif
    632635        /* Silence warning on abs32le about kbd_add_dev() being unused */
    633636        (void) kbd_add_dev;
  • uspace/srv/hid/input/port/chardev.c

    r8df0306 r7348c4b  
    6464        "char/s3c24xx_uart",
    6565        /** Ski console, MSIM console, Sun4v console */
    66         "devices/\\hw\\console\\a"
     66        "devices/\\hw\\console\\a",
     67        /** PL011 serial console */
     68        "devices/\\hw\\uart\\a"
    6769};
    6870
  • uspace/srv/hid/output/port/chardev.c

    r8df0306 r7348c4b  
    216216#elif defined(MACHINE_msim)
    217217                /* OK */
     218#elif defined(UARCH_arm64) && defined(MACHINE_virt)
     219                /* OK */
    218220#else
    219221                return EOK;
Note: See TracChangeset for help on using the changeset viewer.