[CORE] Make vmm_guest_find_region() flexible to find regions based on flags

This patch makes vmm_guest_find_region() more flexible so that it searchs
regions having specified bits set in region flags.

If none search bits are specified then all regions are considered for search.

Signed-off-by: Anup Patel <anup@brainfault.org>
[CORE] devemu: Add APIs to emulate read/write over guest IO space

Architectures such as x86 and PowerPC access devices via memory space
or IO space hence for guest on these architectures we would require
separate APIs for emulating device read/write over IO space.

This patch adds APIs to emulate virtual read/write over guest IO
space.

Signed-off-by: Anup Patel <anup@brainfault.org>
[ARM] Refactored cpuid and features enumeration

Signed-off-by: Sukanto Ghosh <sukantoghosh@gmail.com>
[ARM] arm32ve: shareability is 2-bit field in lower-attributes of LPAE

Signed-off-by: Sukanto Ghosh <sukantoghosh@gmail.com>
[LIBS] vtemu: Use fifo to track input keys

Signed-off-by: Anup Patel <anup@brainfault.org>
[x86] More cleaner implementation of text-mode vga based defterm

Signed-off-by: Anup Patel <anup@brainfault.org>
[x86] Cleanup HPET initialization functions

Signed-off-by: Anup Patel <anup@brainfault.org>
Merge branch 'master', remote-tracking branch 'upstream/master'