1. 29 5月, 2012 1 次提交
  2. 15 8月, 2010 1 次提交
  3. 12 6月, 2009 5 次提交
    • A
      asm-generic: add a generic unistd.h · e64a1617
      Arnd Bergmann 提交于
      A new architecture should only define a minimal set of system
      calls while still providing the full functionality. This version
      of unistd.h has gone through intensive review to make sure that
      by default it only enables syscalls that do not already have
      a more featureful replacement.
      
      It is modeled after the x86-64 version of unistd.h, which unifies
      the syscall number definition and the actual system call table
      in a single file, in order to keep them synchronized much more
      easily.
      
      This first version still keeps legacy system call definitions
      around, guarded by various #ifdefs, and with numbers larger
      than 1024. The idea behind this is to make it easier for
      new architectures to transition from a full list to the reduced
      set. In particular, the new microblaze architecture that should
      migrate to using the generic ABI headers can at least use an
      existing uClibc source tree without major rewrites during the
      conversion.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      e64a1617
    • A
      asm-generic: add generic ABI headers · 6103ec56
      Arnd Bergmann 提交于
      These header files are typically copied from an existing architecture
      into any new one, slightly modified and then remain untouched until
      the end of time in the name of ABI stability.
      
      To make it easier for future architectures, provide a sane generic
      version here. In cases where multiple architectures already use
      identical code, I used the most common version. In cases like
      stat.h that are more or less broken everywhere, I provide a
      version that is meant to be ideal for new architectures.
      Signed-off-by: NRemis Lima Baima <remis.developer@googlemail.com>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      6103ec56
    • A
      asm-generic: add generic sysv ipc headers · 2864d32b
      Arnd Bergmann 提交于
      The ipc64 data structures were originally meant to
      be architecture specific so that each architecture
      could add their own optimizations for padding.
      
      In the end, most of them just copied the x86 version,
      and most got that wrong. UClibc expects the x86 anyway,
      so we might just declare that the default and get
      rid of the extra copies.
      Signed-off-by: NRemis Lima Baima <remis.developer@googlemail.com>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      2864d32b
    • A
      asm-generic: introduce asm/bitsperlong.h · c31ae4bb
      Arnd Bergmann 提交于
      This provides a reliable way for asm-generic/types.h and other
      files to find out if it is running on a 32 or 64 bit platform.
      
      We cannot use CONFIG_64BIT for this in headers that are included
      from user space because CONFIG symbols are not available there.
      We also cannot do it inside of asm/types.h because some headers
      need the word size but cannot include types.h.
      
      The solution is to introduce a new header <asm/bitsperlong.h>
      that defines both __BITS_PER_LONG for user space and
      BITS_PER_LONG for usage in the kernel. The asm-generic
      version falls back to 32 bit unless the architecture overrides
      it, which I did for all 64 bit platforms.
      Signed-off-by: NRemis Lima Baima <remis.developer@googlemail.com>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      c31ae4bb
    • A
      asm-generic: rename termios.h, signal.h and mman.h · 63b852a6
      Arnd Bergmann 提交于
      The existing asm-generic versions are incomplete and included
      by some architectures. New architectures should be able
      to use a generic version, so rename the existing files and
      change all users, which lets us add the new files.
      Signed-off-by: NRemis Lima Baima <remis.developer@googlemail.com>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      63b852a6
  4. 03 5月, 2008 1 次提交
    • H
      types: create <asm-generic/int-*.h> · d13ff31c
      H. Peter Anvin 提交于
      This creates two generic files with common integer definitions; one
      where 64 bits is "long" (most 64-bit architectures) and one where 64
      bits is "long long" (all 32-bit architectures and x86-64.)
      Signed-off-by: NH. Peter Anvin <hpa@zytor.com>
      Cc: Anton Blanchard <anton@samba.org>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Bryan Wu <cooloney@kernel.org>
      Cc: Chris Zankel <chris@zankel.net>
      Cc: David Howells <dhowells@redhat.com>
      Cc: David S. Miller <davem@davemloft.net>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Grant Grundler <grundler@parisc-linux.org>
      Cc: H. Peter Anvin <hpa@zytor.com>
      Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
      Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
      Cc: Hirokazu Takata <takata@linux-m32r.org>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
      Cc: Jesper Nilsson <jesper.nilsson@axis.com>
      Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com>
      Cc: Kyle McMartin <kyle@parisc-linux.org>
      Cc: Lennert Buytenhek <kernel@wantstofly.org>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Matthew Wilcox <matthew@wil.cx>
      Cc: Mikael Starvik <starvik@axis.com>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Richard Henderson <rth@twiddle.net>
      Cc: Roman Zippel <zippel@linux-m68k.org>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Tony Luck <tony.luck@intel.com>
      Cc: William L. Irwin <wli@holomorphy.com>
      Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
      d13ff31c
  5. 17 10月, 2007 1 次提交
  6. 11 5月, 2007 1 次提交
  7. 08 12月, 2006 1 次提交
  8. 19 9月, 2006 1 次提交
  9. 18 6月, 2006 1 次提交