search for: __hppa__

Displaying 4 results from an estimated 4 matches for "__hppa__".

2016 Jan 06
0
[klibc:master] Add pread and pwrite 32bit syscall wrappers for parisc
...f --git a/usr/klibc/pread.c b/usr/klibc/pread.c new file mode 100644 index 0000000..0d8c3b1 --- /dev/null +++ b/usr/klibc/pread.c @@ -0,0 +1,29 @@ +/* + * pread.c + * + * Some architectures need to wrap the system call + */ + +#include <endian.h> +#include <sys/syscall.h> + +#if defined(__hppa__) + +#if _BITSIZE == 32 +extern size_t __pread(int, void *, size_t, unsigned int, unsigned int); +#else +extern size_t __pread(int, void *, size_t, off_t); +#endif + +size_t pread(int fd, void *buf, size_t count, off_t offset) +{ +#if _BITSIZE == 32 + unsigned int hi = offset >> 32; + unsigned...
2005 Mar 02
1
[PATCH] avoid size_t redefinition
...stine/include/bits32/bitsize/stddef.h 2004-07-07 02:41:04.000000000 +0200 +++ klibc-0.202/include/bits32/bitsize/stddef.h 2005-03-02 20:41:19.000000000 +0100 @@ -5,12 +5,14 @@ #ifndef _BITSIZE_STDDEF_H #define _BITSIZE_STDDEF_H +#ifndef _SIZE_T #define _SIZE_T #if defined(__s390__) || defined(__hppa__) || defined(__cris__) typedef unsigned long size_t; #else typedef unsigned int size_t; #endif +#endif #define _PTRDIFF_T typedef signed int ptrdiff_t;
2016 Jan 06
5
[PATCH klibc 0/5] klibc architecture fixes
Here's an assortment of build and run-time fixes for various architectures that we've applied in Debian. Ben. Aurelien Jarno (1): ppc64: fix struct stat Ben Hutchings (2): MIPS: Update archfcntl.h syscalls: Override detection of direct socket syscalls on i386, m68k, s390 Helge Deller (1): Add pread and pwrite 32bit syscall wrappers for parisc Mauricio Faria de Oliveira
2010 Jan 28
31
[PATCH 0 of 4] aio event fd support to blktap2
Get blktap2 running on pvops. This mainly adds eventfd support to the userland code. Based on some prior cleanup to tapdisk-queue and the server object. We had most of that in XenServer for a while, so I kept it stacked. 1. Clean up IPC and AIO init in tapdisk-server. [I think tapdisk-ipc in blktap2 is basically obsolete. Pending a later patch to remove it?] 2. Split tapdisk-queue into