-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ia64/xen: define xen machine vector for domU.
define xen machine vector for domU. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
- Loading branch information
Isaku Yamahata
authored and
Tony Luck
committed
Oct 17, 2008
1 parent
dcbbecd
commit a0df655
Showing
6 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#ifndef _ASM_IA64_MACHVEC_XEN_h | ||
#define _ASM_IA64_MACHVEC_XEN_h | ||
|
||
extern ia64_mv_setup_t dig_setup; | ||
extern ia64_mv_cpu_init_t xen_cpu_init; | ||
extern ia64_mv_irq_init_t xen_irq_init; | ||
extern ia64_mv_send_ipi_t xen_platform_send_ipi; | ||
|
||
/* | ||
* This stuff has dual use! | ||
* | ||
* For a generic kernel, the macros are used to initialize the | ||
* platform's machvec structure. When compiling a non-generic kernel, | ||
* the macros are used directly. | ||
*/ | ||
#define platform_name "xen" | ||
#define platform_setup dig_setup | ||
#define platform_cpu_init xen_cpu_init | ||
#define platform_irq_init xen_irq_init | ||
#define platform_send_ipi xen_platform_send_ipi | ||
|
||
#endif /* _ASM_IA64_MACHVEC_XEN_h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#define MACHVEC_PLATFORM_NAME xen | ||
#define MACHVEC_PLATFORM_HEADER <asm/machvec_xen.h> | ||
#include <asm/machvec_init.h> | ||
|