Merge remote-tracking branch 'upstream/master'
Merge remote-tracking branch 'origin/master'
Merge branch 'master', remote-tracking branch 'upstream/master'
Merge branch 'master', remote-tracking branch 'upstream/master'
[LIBS] vfs: Make new-line characters unix-compatible

Due to errorneous configuration of my workspace, few vfs source files got dos-compatible new-line characters.

This patch makes new-line characters unix-compatible in vfs sources.

Signed-off-by: Anup Patel <anup@brainfault.org>
[ARM] vexpress: Fix SCU address for snoop enable

SCU_CTRL register is at offset 0 and not 4.

Signed-off-by: Anup Patel <anup@brainfault.org>
[TOOLS] Upgrade dtc compiler to 1.3.0

This is the DTC compiler present in linux 3.7.1 source tree.

Signed-off-by: Anup Patel <anup@brainfault.org>
[TOOLS] add a README to the dtc directory.

These are instructions to be used to upgrade the "Device Tree
Compiler" in Xvisor

Signed-off-by: Anup Patel <anup@brainfault.org>
[COMMANDS] Add cat sub-command to vfs command.

Signed-off-by: Anup Patel <anup@brainfault.org>
[CORE] stdio: Make form-feed character as printable

Signed-off-by: Anup Patel <anup@brainfault.org>
[LIBS] vfs: Initial support for FAT filesystem

This patch adds first-cut implementation of FAT filesystem.

Current work implements a read-only FAT capable of accessing all versions of FAT (i.e. FAT12/FAT16/FAT32)

Signed-off-by: Anup Patel <anup@brainfault.org>
[CORE] Improve host irq to support custom handler for each host irq

This patch adds support for customized PIC programming sequence for each host irq.

This means we have to specify handlers for each host irq.

The handler for a host irq will be based on nature of host irq or underlying PIC.
For e.g. For VIC all interrupts are to be handled as level-triggered whereas for GIC all interrupts require only eoi.

Signed-off-by: Anup Patel <anup@brainfault.org>
[ARM] Add generic SCU API support

This is Adapted from Linux.

Signed-off-by: Anup Patel <anup@brainfault.org>
[CORE] Be more verbose in case of guest creation failure

Signed-off-by: Anup Patel <anup@brainfault.org>
[CORE] Introduce cpuinit sections for init functions called on multiple CPUs of SMP system

This patch introduces a new cpuint section and corresponding __cpuinit function attribute in vmm_compiler.h

For UP systems, __cpuinit is same as __init

For SMP systems, __cpuinit is similar to __init but not same. All __init functions will freed once used but __cpuinit functions will not be freed untill all CPUs execute it.

The introduction of __cpuinit also improves code readability because init functions marked with __cpuinit tell us that this function is to be called on all CPUs of SMP systems.

Signed-off-by: Anup Patel <anup@brainfault.org>
[CORE] Fix command-manager processing when a non-NULL character follows the NULL character

If the cmds string has some non-NULL character after the end-of-string (NULL character), the command manager continued parsing the same as well.

Signed-off-by: Anup Patel <anup@brainfault.org>
[CORE] Add history support to vmm_cgets and vmm_gets

vmm_cgets and vmm_gets now takes an additional pointer to a vmm_history object.
If non-NULL the history object is used for storing and accessing list of
strings entered on use of UP/DN arrow keys.

Signed-off-by: Anup Patel <anup@brainfault.org>
[CORE] Introduce VMM_CLOCKSOURCE_MASK() macro to set mask attribute of vmm_clocksource

Signed-off-by: Anup Patel <anup@brainfault.org>
[ARM] First-cut implementation of board support for sun4i SOC

This patch introduces Sun4i (Allwinner A10) SOC support for Xvisor.

More patches for Sun4i will follow as we try to get Xvisor working on Hackberry development board.

For info on Sun4i SOC, visit http://rhombus-tech.net/allwinner_a10/
For info on Sun4i programming, visit http://linux-sunxi.org/A10
For info on Hackberry, visit https://www.miniand.com/products/Hackberry%20A10%20Developer%20Board

Signed-off-by: Anup Patel <anup@brainfault.org>
[ARM] Get rid-off unwanted timer_tmp.c

Signed-off-by: Anup Patel <anup@brainfault.org>