[x86] IO Port and Interrupt Changes

This patch contains
o Addition of IOPort access for x86.
  Functions similar to outb and inb are added.
o Changes in APIC code to use the IO functions.
o Added processor flags for initialization of
  threads.
o EFLAGS initialized to sane state before first
  conext switch.

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
[x86] i8042 PS2 Controller Driver.

In Qemu, Xvisor can get keyboard events.
Merge branch 'ps2-keyboard' into x86-next
Merge pull request #14 from hschauhan/x86-next

x86-next
[CORE] Fix semantics of inb, inw, inl, outb, outw, and outl operations

Signed-off-by: Anup Patel <anup@brainfault.org>
[DRIVERS] Re-organize i8042 driver and fix compile time warnings

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