summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/bfin/bits
Commit message (Collapse)AuthorAgeFilesLines
* bits/mmap.h: unify ala linux asm-generic effortsMike Frysinger2009-11-231-96/+0
| | | | | | | | | | Most ports have the same exact mman bit defines, so let's unify things like the linux kernel has with the asm-generic efforts. A few ports are left behind as they are non-trivial to merge -- the arch maintainers can tackle it if they care. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* clean up O_CLOEXEC handlingMike Frysinger2009-10-071-0/+2
| | | | | | | Drop the "#ifndef O_CLOEXEC" cruft, enable O_CLOEXEC in most fcntl.h headers, and import __ASSUME_O_CLOEXEC from glibc. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* fcntl.h: drop unused/dead O_STREAMINGMike Frysinger2009-10-071-1/+0
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* enable nanosecond stat support for everyoneMike Frysinger2009-07-261-12/+6
| | | | | | | | | | | | | Fill out the stat structure so that the nanosecond resolution support is always available. There is a small code size increase for a few ports (three additional assignments in xstatconv), but otherwise everything should remain the same. While we're here, punt __old_kernel_stat from the few headers that still define it as it is unused in uClibc and causes compile errors after these nanosecond changes. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: fix typo in byteswap.h commitMike Frysinger2009-07-231-1/+1
| | | | | | | The Blackfin port hasn't been compiling cleanly, so this typo was missed in the byteswap unification commit. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* byteswap: unify common definitionsMike Frysinger2009-07-211-76/+16
| | | | | | | | | The majority of the byteswap functions are the same across all arches, so setup a common header to provide definitions if they don't exist. This allows arches to override only the ones they actually want to implement with inline assembly. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* syscall: unify part 2: NCS varietyMike Frysinger2009-07-091-2/+2
| | | | | | | Declare common NCS (non-constant syscall) variants and convert the existing ports over to this. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* syscall: unify common syscall definesMike Frysinger2009-07-081-145/+0
| | | | | | | | | Unify all the common syscall defines in syscalls-common.h and scrub all the duplicated code from relevant ports. This should also make converting existing ports to INLINE_SYSCALL() much easier as they don't have to get lost in all the unrelated noise, as well as creating new ports. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* uClibc_arch_features: sync defines between portsMike Frysinger2009-07-031-0/+9
| | | | | | | Make sure each arch has the same complete list to make comparing between them easier. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: declare {INLINE,INTERNAL}_SYSCALL() and friendsMike Frysinger2008-12-111-0/+53
|
* - Remove linux-specific prototypes if asked to.Bernhard Reutner-Fischer2008-11-151-2/+2
|
* - revert wrong r24049Bernhard Reutner-Fischer2008-11-151-2/+2
|
* - Remove linux-specific prototypes if asked to.Bernhard Reutner-Fischer2008-11-151-2/+2
|
* - tidy up inline:Bernhard Reutner-Fischer2008-10-241-1/+1
| | | | ldso and syscalls are __always_inline (the latter would need more cleanup)
* - add sync_file_range()Bernhard Reutner-Fischer2008-09-161-4/+0
| | | | Tested successfully on i386..
* - trim any trailing whitespaceBernhard Reutner-Fischer2008-07-232-3/+3
|
* - add missing #endifBernhard Reutner-Fischer2008-05-031-0/+1
|
* - implement splice,vmsplice,tee for all archesBernhard Reutner-Fischer2008-05-031-10/+23
| | | | - synch F_LINUX_SPECIFIC_BASE related fcntls for all arches
* L1 memory support for the Blackfin. A couple new syscalls to manage L1Bernd Schmidt2008-01-181-12/+0
| | | | | allocations, dma_memcpy to move stuff between L1 and main memory, and a new structure to describe the global data in L1 scratchpad memory.
* A patch from our Blackfin repository, originally from Jie Zhang. This fixesBernd Schmidt2008-01-171-3/+0
| | | | | | | | | | | | | a problem where the linker was trying to use the wrong symbol name for the init function. Define SYMBOL_PREFIX as _ in Rules.mak for h8300, bfin, i960, microblaze, and v850. Add -D__UCLIBC_UNDERSCORES__ in CFLAGS for targets which define SYMBOL_PREFIX as _. Remove defines and undefs from uClibc_arch_features.h of each target. Add $(SYMBOL_PREFIX) to __uClibc_init when passed by ld option -init.
* change NO_UNDERSCORES to just UNDERSCORES so as to be less confusing when ↵Mike Frysinger2008-01-081-1/+1
| | | | doing double negatives
* From Jie Zhang:Bernd Schmidt2007-11-231-3/+4
| | | | __bswap_16 could not assume that it's zero extended when an unsigned short int is loaded into the data register.
* pull from Blackfin repo: optimized byteswap funcs!Mike Frysinger2007-09-151-0/+93
|
* use gcc input constraints to avoid often duplicated reloads when making syscallsMike Frysinger2007-09-151-76/+42
|
* fix from blackfin repo: Jie Zhang writes: update __kernel_ipc_pid_t, ↵Mike Frysinger2007-01-271-3/+3
| | | | __kernel_uid_t and __kernel_gid_t types to match actual kernel types
* Take Mike Frysinger's comments into account -- make certain that userEric Andersen2006-12-081-5/+0
| | | | | applications stop using _syscall#() and use syscall() instead. Cleanup internal handling of syscall includes to use the correct header file.
* bits/kernel_stat.h is for internal uClibc use only, fix a few otherEric Andersen2006-12-061-0/+4
| | | | minor include file issues
* Bernd Schmidt writes: [blackfin updates] add support for FDPIC and include ↵Mike Frysinger2006-11-172-0/+14
| | | | L1 functions
* fix from psm: enable readahead prototypeMike Frysinger2006-08-241-1/+3
|
* update to new huge_val headersMike Frysinger2006-08-241-57/+10
|
* sync with psm: update errno handling to be the same on all archesMike Frysinger2006-08-231-7/+3
|
* sync with upstream via psmMike Frysinger2006-08-232-0/+46
|
* Jie Zhang writes: Fix struct kernel_stat64 for Blackfin.Mike Frysinger2006-08-231-6/+4
|
* fix upstream blackfin page.h rather than duplicating effort hereMike Frysinger2006-08-231-29/+0
|
* blackfin needs different type for ssize_tMike Frysinger2006-06-181-0/+66
|
* fix from Jie Zhang to also declare R0 as clobber in syscall0Mike Frysinger2006-06-151-1/+1
|
* blackfin kernel now supports mmap with 6 argsMike Frysinger2006-06-071-1/+1
|
* merge syscall fixes from upstream blackfin cvsMike Frysinger2006-06-071-119/+107
|
* updates from Bernd Schmidt to sync with blackfin cvsMike Frysinger2006-05-153-16/+150
|
* Fix the _syscall6() macro (I hope).Peter Kjellerstedt2006-02-241-2/+2
|
* make sure we declare underscore usage as pointed out by psmMike Frysinger2006-02-221-1/+1
|
* Allow for targets that don't know about signed zero floats."Jan-Benedict Glaw"2006-01-261-0/+3
|
* Change to sane defaultsPeter S. Mazinger2006-01-191-5/+10
|
* move a bunch of arch-specific checks out of common files and into an arch ↵Mike Frysinger2006-01-191-0/+34
| | | | specific header file to make porting/updates a lot easier
* syscall6Mike Frysinger2006-01-151-0/+30
|
* Jie Zhang writes:Mike Frysinger2006-01-111-2/+3
| | | | | This patch defines __kernel_old_dev_t for Blackfin. It also removes two trailing whitespaces. Please apply it.
* grab syscall macros from linux headersMike Frysinger2006-01-051-5/+129
|
* need our own version to prevent warningsMike Frysinger2006-01-041-0/+29
|
* define MREMAP_FIXEDMike Frysinger2005-11-271-0/+1
|
* update copyright and license, add _BITS_SETJMP_H protection around the file, ↵Mike Frysinger2005-11-161-9/+13
| | | | make sure we are only included by setjmp.h and pthread.h, and fix casting of address/jumpbugf in _JMPBUF_UNWINDS