search for: __ia64__

Displaying 20 results from an estimated 80 matches for "__ia64__".

2006 Jun 02
1
Re: [PATCH] klibc
On Thu, 01 June 2006, H. Peter Anvin wrote: > Brian F. G. Bidulock wrote: > > On Thu, 01 Jun 2006, Bob Picco wrote: > >> > >> -#if !defined(__x86_64__) && !defined(__ia64__) && !defined(__sparc_v9__) > >> +#if !defined(__x86_64__) && !defined(__ia64__) && !defined(__sparc_v9__) && \ > >> + !defined(__powerpc64__) > > > > Why not just !defined(__LP64__) ? > > _BITSIZE == 64 is really the right formul...
2006 Feb 19
2
[patch] statfs64 sparc64 fix
...2006-02-15 18:32:10.000000000 +0100 +++ klibc-1.2.2/include/sys/vfs.h 2006-02-15 18:32:35.000000000 +0100 @@ -13,7 +13,7 @@ /* struct statfs64 -- there seems to be two standards - one for 32 and one for 64 bits, and they're incompatible... */ -#if !defined(__x86_64__) && !defined(__ia64__) && !defined(__sparc64__) +#if !defined(__x86_64__) && !defined(__ia64__) && !defined(__arch64__) struct statfs { uint32_t f_type;
2019 Feb 02
2
[PATCH 1/2] ia64: Fix invalid memory access in vfork
Commit 8418552 ("[klibc] ia64: Fix shared build") missed this use of the GP register, although the code appears to have been dubious anyway, assuming the address of errno was the first thing pointed to by GP. --- usr/klibc/arch/ia64/vfork.S | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/usr/klibc/arch/ia64/vfork.S b/usr/klibc/arch/ia64/vfork.S index
2005 Nov 23
0
RE: __ia64__ ifdef in xmalloc.c: "Fix ar.unat handling forfast paths"
>From: Luck, Tony >Sent: 2005年11月23日 0:11 >This comment: >> /* >> * The "aligned" directive can only _increase_ alignment, so this is >> * safe and provides an easy way to avoid wasting space on a >> * uni-processor: >> */ >suggests that we only expected SMP_CACHE_BYTES to be used in "aligned" >directives, where having
2005 Nov 23
2
RE: __ia64__ ifdef in xmalloc.c: "Fix ar.unat handling forfast paths"
>It''s not hard to support arbitrary alignment, at the cost of burning >some space. We should probably do that. The "we" in that last sentence is the Xen team ... referring to making fixes to xmalloc? -Tony _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2019 Feb 02
0
[PATCH 2/2] ia64: Fix sigaction struct layout and function implementation
..._u._sa_handler diff --git a/usr/klibc/sigaction.c b/usr/klibc/sigaction.c index 19a8a54..e4901ab 100644 --- a/usr/klibc/sigaction.c +++ b/usr/klibc/sigaction.c @@ -19,13 +19,30 @@ __extern int __rt_sigaction(int, const struct sigaction *, struct sigaction *, size_t); #endif +#ifdef __ia64__ +/* We use -mno-pic so our function pointers are straight to the function entry + point, but the kernel always expects a descriptor. Thus we create a fake + descriptor for each possible signal, update it, and pass that to the kernel + instead (the descriptor must remain valid after returning...
2005 Nov 22
2
RE: __ia64__ ifdef in xmalloc.c: "Fix ar.unat handling forfast paths"
>From: Rusty Russell >Sent: 2005年11月21日 12:53 >Hi all, > > While browsing the code, I noticed this in xmalloc.c: > >#ifndef __ia64__ > BUG_ON(align > SMP_CACHE_BYTES); >#endif > > This is clearly wrong: due to header alignment we cannot give you a >greater alignment than SMP_CACHE_BYTES. Overriding this will cause the >allocation to succeed, but not give the alignment requested. It usually >indicates...
2006 Jul 25
6
[PATCH][QEMU] Add IA64-specific code for new qemu.
This patch adds the ia64-specific code for new Qemu . In addition, some ia64 patches aren''t checked into xen-unstable.hg, so I reversed the related logic temporarily. Once sync with xen-ia64-unstable.hg, the logic will regain automatically. Thanks & Best Regards -Xiantao OTC,Intel Corporation _______________________________________________ Xen-devel mailing list
2007 Dec 10
0
[PATCH] Fix domctl GCC dependency
...m> diff --git a/xen/include/public/domctl.h b/xen/include/public/domctl.h --- a/xen/include/public/domctl.h +++ b/xen/include/public/domctl.h @@ -562,8 +562,10 @@ DEFINE_XEN_GUEST_HANDLE(xen_domctl_ext_v */ #define XEN_DOMCTL_set_opt_feature 44 struct xen_domctl_set_opt_feature { -#ifdef __ia64__ +#if defined(__ia64__) struct xen_ia64_opt_feature optf; +#elif !defined(__GNUC__) + uint64_t dummy; #endif }; typedef struct xen_domctl_set_opt_feature xen_domctl_set_opt_feature_t; _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com htt...
2006 Apr 04
0
[patch] statfs64 sparc_v9 fix
...2006-02-15 18:32:10.000000000 +0100 +++ klibc-1.2.2/include/sys/vfs.h 2006-02-15 18:32:35.000000000 +0100 @@ -13,7 +13,7 @@ /* struct statfs64 -- there seems to be two standards - one for 32 and one for 64 bits, and they're incompatible... */ -#if !defined(__x86_64__) && !defined(__ia64__) && !defined(__sparc64__) +#if !defined(__x86_64__) && !defined(__ia64__) && !defined(__sparc_v9__) struct statfs { uint32_t f_type;
2014 Jun 27
0
[PATCH] drm/ttm: recognize ARM arch in ioprot handler
...c b/drivers/gpu/drm/ttm/ttm_bo_util.c index 1df856f78568..30e5d90cb7bc 100644 --- a/drivers/gpu/drm/ttm/ttm_bo_util.c +++ b/drivers/gpu/drm/ttm/ttm_bo_util.c @@ -500,7 +500,7 @@ pgprot_t ttm_io_prot(uint32_t caching_flags, pgprot_t tmp) pgprot_val(tmp) |= _PAGE_GUARDED; } #endif -#if defined(__ia64__) +#if defined(__ia64__) || defined(__arm__) if (caching_flags & TTM_PL_FLAG_WC) tmp = pgprot_writecombine(tmp); else -- 2.0.0
2003 Dec 12
2
[PATCH] ppc64 support
...-- klibc-0.92.orig/klibc/mmap.c 2002-11-15 05:07:50.000000000 +0000 +++ klibc-0.92/klibc/mmap.c 2003-12-12 21:54:45.000000000 +0000 @@ -19,7 +19,7 @@ * Prefer mmap2() over mmap(), except on the architectures listed */ -#if defined(__NR_mmap2) && !defined(__sparc__) && !defined(__ia64__) +#if defined(__NR_mmap2) && !defined(__sparc__) && !defined(__ia64__) && !defined(__powerpc64__) /* This architecture uses mmap2() */ -- USB is for mice, FireWire is for men! sUse lINUX ag, n?RNBERG
2006 Oct 18
21
[PATCH][RESEND] PV drivers for HVM guests
I am enclosing the patch I have been working on. I have tested this on sles9 (2.6.5) and RHEL 4 (2.6.9). The patch applies cleanly on ChangeSet 11635. This patch was cleaned up based on Ian''s and DOI''s work. Signed-off-by: K. Y. Srinivasan (ksrinivasan@novell.com) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com
2008 Aug 26
0
[PATCH] [RESEND] xen: portability clean up and some minor clean up for xencomm.c
...ertions(+), 19 deletions(-) diff --git a/drivers/xen/xencomm.c b/drivers/xen/xencomm.c index 797cb4e..a240b2c 100644 --- a/drivers/xen/xencomm.c +++ b/drivers/xen/xencomm.c @@ -23,13 +23,7 @@ #include <asm/page.h> #include <xen/xencomm.h> #include <xen/interface/xen.h> -#ifdef __ia64__ -#include <asm/xen/xencomm.h> /* for is_kern_addr() */ -#endif - -#ifdef HAVE_XEN_PLATFORM_COMPAT_H -#include <xen/platform-compat.h> -#endif +#include <asm/xen/xencomm.h> /* for xencomm_is_phys_contiguous() */ static int xencomm_init(struct xencomm_desc *desc, void *buffer...
2008 Jul 03
1
[PATCH] xen: portability clean up and some minor clean up for xencomm.c
...ertions(+), 19 deletions(-) diff --git a/drivers/xen/xencomm.c b/drivers/xen/xencomm.c index 797cb4e..a240b2c 100644 --- a/drivers/xen/xencomm.c +++ b/drivers/xen/xencomm.c @@ -23,13 +23,7 @@ #include <asm/page.h> #include <xen/xencomm.h> #include <xen/interface/xen.h> -#ifdef __ia64__ -#include <asm/xen/xencomm.h> /* for is_kern_addr() */ -#endif - -#ifdef HAVE_XEN_PLATFORM_COMPAT_H -#include <xen/platform-compat.h> -#endif +#include <asm/xen/xencomm.h> /* for xencomm_is_phys_contiguous() */ static int xencomm_init(struct xencomm_desc *desc, void *buffer...
2007 Dec 06
0
[PATCH] xen: Make xen-blkfront write its protocol ABI to xenstore
...fine XEN_IO_PROTO_ABI_IA64 "ia64-abi" +#define XEN_IO_PROTO_ABI_POWERPC64 "powerpc64-abi" + +#if defined(__i386__) +# define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_X86_32 +#elif defined(__x86_64__) +# define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_X86_64 +#elif defined(__ia64__) +# define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_IA64 +#elif defined(__powerpc64__) +# define XEN_IO_PROTO_ABI_NATIVE XEN_IO_PROTO_ABI_POWERPC64 +#else +# error arch fixup needed here +#endif + +#endif -- 1.5.3.3
2007 Apr 18
0
[RFC PATCH 31/35] Add Xen grant table support
> > +#ifndef __ia64__ > > +static int map_pte_fn(pte_t *pte, struct page *pte_page, > > + unsigned long addr, void *data) > > +{ > > + unsigned long **frames = (unsigned long **)data; > > + > > + set_pte_at(&init_mm, addr, pte, pfn_pte((*frames)[0], > PAGE_KERNEL)); &gt...
2006 Jul 26
0
RE: [Xen-ia64-devel] [PATCH][QEMU] Add IA64-specific code for new qemu.
...redefine? > > diff -r bbabdebc54ad tools/ioemu/exec-all.h > --- a/tools/ioemu/exec-all.h Wed Jul 19 21:13:36 2006 +0100 > +++ b/tools/ioemu/exec-all.h Tue Jul 25 09:30:05 2006 +0800 > @@ -391,6 +391,15 @@ static inline int testandset (int *p) > } > #endif > > +#ifdef __ia64__ > +#include "ia64_intrinsic.h" > +static inline int testandset (int *p) > +{ > + uint32_t o = 0, n = 1; > + return (int)cmpxchg_acq(p, o, n); > +} > +#endif > + > #ifdef __s390__ > static inline int testandset (int *p) > { > > Best Regards,...
2008 Jul 03
1
[PATCH] xen: portability clean up and some minor clean up for xencomm.c
...ertions(+), 19 deletions(-) diff --git a/drivers/xen/xencomm.c b/drivers/xen/xencomm.c index 797cb4e..a240b2c 100644 --- a/drivers/xen/xencomm.c +++ b/drivers/xen/xencomm.c @@ -23,13 +23,7 @@ #include <asm/page.h> #include <xen/xencomm.h> #include <xen/interface/xen.h> -#ifdef __ia64__ -#include <asm/xen/xencomm.h> /* for is_kern_addr() */ -#endif - -#ifdef HAVE_XEN_PLATFORM_COMPAT_H -#include <xen/platform-compat.h> -#endif +#include <asm/xen/xencomm.h> /* for xencomm_is_phys_contiguous() */ static int xencomm_init(struct xencomm_desc *desc, void *buffer...
2007 Apr 18
0
[RFC PATCH 31/35] Add Xen grant table support
> > +#ifndef __ia64__ > > +static int map_pte_fn(pte_t *pte, struct page *pte_page, > > + unsigned long addr, void *data) > > +{ > > + unsigned long **frames = (unsigned long **)data; > > + > > + set_pte_at(&init_mm, addr, pte, pfn_pte((*frames)[0], > PAGE_KERNEL)); &gt...