diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-08-10 10:43:20 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-08-10 10:43:20 +0100 |
commit | 6b11879d819e27d96163f12b40277589bf54be22 (patch) | |
tree | 98afff18f73693961d440a9559dc3c1a43575263 /extras/mini-os/include | |
parent | 3f31a200de12122fdc0a4031aed3a381ea7d4ed2 (diff) | |
download | xen-6b11879d819e27d96163f12b40277589bf54be22.tar.gz xen-6b11879d819e27d96163f12b40277589bf54be22.tar.bz2 xen-6b11879d819e27d96163f12b40277589bf54be22.zip |
[MINIOS] A first step to re-architecture mini-os for a port to ia64.
Create architecture specific directories below mini-os for sources
and below mini-os/include for headers.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
Diffstat (limited to 'extras/mini-os/include')
-rw-r--r-- | extras/mini-os/include/hypervisor.h | 3 | ||||
-rw-r--r-- | extras/mini-os/include/types.h | 4 | ||||
-rw-r--r-- | extras/mini-os/include/x86/os.h (renamed from extras/mini-os/include/os.h) | 0 | ||||
-rw-r--r-- | extras/mini-os/include/x86/spinlock.h (renamed from extras/mini-os/include/spinlock.h) | 0 | ||||
-rw-r--r-- | extras/mini-os/include/x86/traps.h (renamed from extras/mini-os/include/traps.h) | 0 | ||||
-rw-r--r-- | extras/mini-os/include/x86/x86_32/hypercall-x86_32.h (renamed from extras/mini-os/include/hypercall-x86_32.h) | 0 | ||||
-rw-r--r-- | extras/mini-os/include/x86/x86_64/hypercall-x86_64.h (renamed from extras/mini-os/include/hypercall-x86_64.h) | 0 |
7 files changed, 5 insertions, 2 deletions
diff --git a/extras/mini-os/include/hypervisor.h b/extras/mini-os/include/hypervisor.h index f5daa2c315..e3f149e35f 100644 --- a/extras/mini-os/include/hypervisor.h +++ b/extras/mini-os/include/hypervisor.h @@ -7,6 +7,7 @@ * Copyright (c) 2002, K A Fraser * Copyright (c) 2005, Grzegorz Milos * Updates: Aravindh Puthiyaparambil <aravindh.puthiyaparambil@unisys.com> + * Updates: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com> for ia64 */ #ifndef _HYPERVISOR_H_ @@ -19,6 +20,8 @@ #include <hypercall-x86_32.h> #elif defined(__x86_64__) #include <hypercall-x86_64.h> +#elif defined(__ia64__) +#include <hypercall-ia64.h> #else #error "Unsupported architecture" #endif diff --git a/extras/mini-os/include/types.h b/extras/mini-os/include/types.h index f6f3f94b03..f0b67607c3 100644 --- a/extras/mini-os/include/types.h +++ b/extras/mini-os/include/types.h @@ -29,7 +29,7 @@ typedef unsigned int u32; #ifdef __i386__ typedef signed long long s64; typedef unsigned long long u64; -#elif defined(__x86_64__) +#elif defined(__x86_64__) || defined(__ia64__) typedef signed long s64; typedef unsigned long u64; #endif @@ -49,7 +49,7 @@ typedef struct { unsigned long pte_low; } pte_t; typedef struct { unsigned long pte_low, pte_high; } pte_t; #endif /* CONFIG_X86_PAE */ -#elif defined(__x86_64__) +#elif defined(__x86_64__) || defined(__ia64__) typedef long quad_t; typedef unsigned long u_quad_t; typedef unsigned long uintptr_t; diff --git a/extras/mini-os/include/os.h b/extras/mini-os/include/x86/os.h index 2b6ed5512b..2b6ed5512b 100644 --- a/extras/mini-os/include/os.h +++ b/extras/mini-os/include/x86/os.h diff --git a/extras/mini-os/include/spinlock.h b/extras/mini-os/include/x86/spinlock.h index 4274cd2869..4274cd2869 100644 --- a/extras/mini-os/include/spinlock.h +++ b/extras/mini-os/include/x86/spinlock.h diff --git a/extras/mini-os/include/traps.h b/extras/mini-os/include/x86/traps.h index 2f54fd28f0..2f54fd28f0 100644 --- a/extras/mini-os/include/traps.h +++ b/extras/mini-os/include/x86/traps.h diff --git a/extras/mini-os/include/hypercall-x86_32.h b/extras/mini-os/include/x86/x86_32/hypercall-x86_32.h index 6556c4f7e2..6556c4f7e2 100644 --- a/extras/mini-os/include/hypercall-x86_32.h +++ b/extras/mini-os/include/x86/x86_32/hypercall-x86_32.h diff --git a/extras/mini-os/include/hypercall-x86_64.h b/extras/mini-os/include/x86/x86_64/hypercall-x86_64.h index 6a68a10b02..6a68a10b02 100644 --- a/extras/mini-os/include/hypercall-x86_64.h +++ b/extras/mini-os/include/x86/x86_64/hypercall-x86_64.h |