diff options
author | Arnd Bergmann <arnd@arndb.de> | 2009-05-13 18:56:28 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@klappe2.(none)> | 2009-06-11 15:02:16 -0400 |
commit | e64a1617eca39d62b248a11699de9c1195369661 (patch) | |
tree | 41e9b99b647b66256ed9e72c183929b57ead91a0 /arch/x86/include/asm/serial.h | |
parent | 6103ec56c65c33774c7c38652c8204120c3c7519 (diff) |
asm-generic: add a generic unistd.h
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: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/x86/include/asm/serial.h')
0 files changed, 0 insertions, 0 deletions