ia64/xen: introduce helper function to identify domain mode.
authorIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 17 Oct 2008 02:17:57 +0000 (11:17 +0900)
committerTony Luck <tony.luck@intel.com>
Fri, 17 Oct 2008 17:01:46 +0000 (10:01 -0700)
commitc7fdaf338679f5e0343bfdfa7ae1e2fdb41ff0b1
tree287fbb7d408822f4b1d3bc78ad420c58ad772270
parent8353b00f617c9bb432c6bcdf33a4f9c416dc5751
ia64/xen: introduce helper function to identify domain mode.

There are four operating modes Xen code may find itself running in:
- native
- hvm domain
- pv dom0
- pv domU

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/include/asm/xen/hypervisor.h [new file with mode: 0644]