ARMv7: Rewrote serial drivers on ARM.
authorDavid Cock <david.cock@inf.ethz.ch>
Wed, 27 Jul 2016 18:16:24 +0000 (20:16 +0200)
committerDavid Cock <david.cock@inf.ethz.ch>
Thu, 28 Jul 2016 09:56:17 +0000 (11:56 +0200)
commitd352717041f2a94aff95dda648622aba49f39fd8
tree890b3c92f93200558498df3351af5f80654bef5f
parent7bf152ac74897b1865ea0ca04ce8771a8e5a4a63
ARMv7: Rewrote serial drivers on ARM.

They're now fairly well compartmentalised on both ARM and x86, and can start
automatically from Kaluga.  There's also a 'kernel' serial driver, which uses
the syscall interface to read and write on the kernel console.  This avoids
having user level and kernel code racing on access to the UART.  Fish works
(minus line editing) on all Versatile Express platforms.

Signed-off-by: David Cock <david.cock@inf.ethz.ch>
38 files changed:
devices/pl011_uart.dev
hake/menu.lst.armv7_a15ve
hake/menu.lst.armv7_a15ve_gem5 [new file with mode: 0644]
hake/menu.lst.armv7_a9ve
hake/menu.lst.armv7_pandaboard
hake/menu.lst.armv7_zynq7
hake/menu.lst.x86_32
hake/menu.lst.x86_64
include/barrelfish/barrelfish.h
include/barrelfish/syscalls.h
include/barrelfish_kpi/syscalls.h
include/bitmacros.h
include/multiboot.h
kernel/arch/arm/pl011.c
kernel/arch/arm/zynq_uart.c
kernel/arch/armv7/init.c
kernel/arch/armv7/plat_a15mpcore.c
kernel/arch/armv7/startup_arch.c
kernel/arch/armv7/syscall.c
lib/barrelfish/syscalls.c
platforms/Hakefile
tools/arm_boot/arm_bootimage.c
usr/drivers/serial/Hakefile
usr/drivers/serial/main.c
usr/drivers/serial/serial.h
usr/drivers/serial/serial_debug.h
usr/drivers/serial/serial_gem5.c [deleted file]
usr/drivers/serial/serial_kernel.c [new file with mode: 0644]
usr/drivers/serial/serial_omap44xx.c [moved from usr/drivers/serial/omap44xx_serial.c with 77% similarity]
usr/drivers/serial/serial_pc16550d.c [moved from usr/drivers/serial/serial.c with 86% similarity]
usr/drivers/serial/serial_pl011.c [new file with mode: 0644]
usr/drivers/serial/serial_tmas.c [deleted file]
usr/fish/fish_common.c
usr/kaluga/Hakefile
usr/kaluga/armv7.c
usr/kaluga/armv7_startup.c [moved from usr/kaluga/omap_startup.c with 74% similarity]
usr/kaluga/debug.h
usr/kaluga/device_caps.c