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'
Merge branch 'master', remote-tracking branch 'upstream/master'
[x86] Fixes in Interrupt Handling and Routing.

This patch changes the following in interrupt code
o All 255 user defined exception vectors have their
  own handler to recognize the IRQ number without any
  help of upper level code. Each vector is 128 instructions
  wide. 128 instructions give enough space to save/call/restore
  from other functions.
o APIC has routing has been added to route external interrupts
  to one of these exception vectors.

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
[x86] HPET on hrtimers subsystem

This patch implements the hpet handling code, its interrupt
routing to IOAPIC using the hrtimer subsystem.

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
Merge pull request #11 from hschauhan/x86-next

[x86] HPET and Interrupt handling code revamp.
[x86] Fix compile error for arch_defterm_init()

Signed-off-by: Anup Patel <anup@brainfault.org>
Merge branch 'master' of github.com:avpatel/xvisor-next
[CORE] Improve semaphore initialization macros

Signed-off-by: Anup Patel <anup@brainfault.org>
[CORE] Improved vmm_panic() and BUG_ON() implementation

Signed-off-by: Anup Patel <anup@brainfault.org>
[CORE] net: Add vmm_netport_free() API

Signed-off-by: Anup Patel <anup@brainfault.org>
[x86] Change mult and shift calculation

Call vmm_clocks_calc_mult_shift to calculate the factors
for hpet.

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>
[CORE] Add mult and shift calculator for both clksource and chip.

This patch adds function vmm_clocks_calc_mult_shift which, as the
name suggests, calculate both the shift and the multiplication factor
based on clock frequency and guaranteed runtime conversion range.

This has been taken as is from Linux's clocks_calc_mult_shift.

Signed-off-by: Anup Patel <anup@brainfault.org>
[LIBS] Made icmp_echo related APIs to be netstack interface specific

Signed-off-by: Anup Patel <anup@brainfault.org>
Merge pull request #12 from hschauhan/x86-next

[x86] Change mult and shift calculation
[CORE] net: Randomly generate mac address for dummy netport at time of port registration

This patch moves the random genration of mac address for dummy netport from port addition time to port registration time.

Signed-off-by: Anup Patel <anup@brainfault.org>
[CORE] Simplify ARCH_SPIN_LOCK_INITIALIZER expected from architecture specific code

Signed-off-by: Anup Patel <anup@brainfault.org>
[LIBS] netstack: Rename UIP netport name

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