tests: add auto-load safe-path init command to gdb

Signed-off-by: Elazar Leibovich <elazarl@gmail.com>
tests: printf benchmark

Add a printf test for benchmarking serial console performance.

Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
aarch64: update to latest Mach-Virt addresses

until we have the ACPI ported, we have to follow mach-virt.
Its addresses for the GIC have been recently changed.

Signed-off-by: Claudio Fontana <claudio.fontana@huawei.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
Merge branch 'master' of github.com:elazarl/osv

Github pull request description:

  Running make check from a fresh Ubuntu gave the following error
  message

    TEST tracing_smoke_test

    warning: File "/home/elazar/dev/osv/scripts/loader.py" auto-loading
    has been declined by your `auto-load safe-path' set to
    "$debugdir:$datadir/auto-load".

  Signed-off-by: Elazar Leibovich <elazarl@gmail.com>
drivers: Rename ConsoleDriver to console_driver

We use snake case in OSv code.

Reviewed-by: Glauber Costa <glommer@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
drivers: Rename ConsoleMultiplexer to console_multiplexer

We use snake case in OSv code.

Reviewed-by: Glauber Costa <glommer@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
serial: Fix formatting

Fix mixed spaces and tabs formatting to only use spaces. Makes working
with the code less painful.

Reviewed-by: Glauber Costa <glommer@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
serial: Eliminate temporary variable

The 'lcr' class member variable is used as a temporary variable to hold
a constant value. Inline it...

Reviewed-by: Glauber Costa <glommer@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
serial: Drop unused <string.h> include

Reviewed-by: Glauber Costa <glommer@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
serial: Move register definitions to source file

Move register definitions to isa-serial.cc where they are used. This
makes looking up register values easier because you don't need to jump
between two files.

Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
serial: Split register definitions

Split register definitions in per-register enumerations.

Reviewed-by: Glauber Costa <glommer@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
serial: Rename writeByte to putchar

Fix camel case and rename 'letter' argument to more appropriate 'ch'.

Reviewed-by: Glauber Costa <glommer@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
drivers: Rename IsaSerialConsole to isa_serial_console

Switch to snake case.

Reviewed-by: Glauber Costa <glommer@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
Merge branch 'master' of https://github.com/cloudius-systems/osv