Changeset 5ca10d1 in mainline


Ignore:
Timestamp:
2019-04-06T13:40:29Z (5 years ago)
Author:
Petr Pavlu <setup@…>
Children:
3c0899a7
Parents:
f7842ef
git-author:
Petr Pavlu <setup@…> (2019-03-31 14:36:08)
git-committer:
Petr Pavlu <setup@…> (2019-04-06 13:40:29)
Message:

arm64: Add PL011 uspace driver

Files:
5 added
6 edited

Legend:

Unmodified
Added
Removed
  • .gitignore

    rf7842ef r5ca10d1  
    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

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

    rf7842ef r5ca10d1  
    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

    rf7842ef r5ca10d1  
    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

    rf7842ef r5ca10d1  
    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

    rf7842ef r5ca10d1  
    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.