Home | History | Annotate | Download | only in i386
History log of /src/lib/libc/arch/i386/SYS.h
RevisionDateAuthorComments
 1.25  23-May-2014  uebayasi Put missing END() markers to set ELF symbol size.
 1.24  12-Sep-2013  joerg branches: 1.24.2;
Pass PICFLAGS down to cc-as-as and use __PIC__ to decide if it is small
vs big PIC mode. Retire -DPIC and -DBIGPIC.
 1.23  28-Apr-2008  martin branches: 1.23.4; 1.23.8; 1.23.28;
Remove clause 3 and 4 from TNF licenses
 1.22  23-Nov-2007  dsl branches: 1.22.6;
Reorder the code for i386 and amd64 syscall stubs so that the 'jc' on error
is a forwards jump instead of a backwards jump that a P4 will mispredect (and
probably immediatly get a cache-line miss due to the way the code gets
aligned).
 1.21  09-Mar-2007  ad branches: 1.21.4;
If I686_LIBC is defined, make syscalls using the 'sysenter' instruction.
 1.20  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.19  26-May-2002  wiz Revert previous: .S files are currently compiled with -traditional-cpp,
so __STDC__ is _not_ always defined.
 1.18  26-May-2002  wiz __STDC__ is always defined on NetBSD.
 1.17  20-Mar-2002  ross use canonical indirect jmp & call syntax to squelch new as(1) warning
 1.16  14-Jan-2002  thorpej * Add WSYSCALL() to SYS.h, which creates a system call with an
internal name and a weak alias for the name.
* Add a WEAKASM syscall list, and process it.
* Make sysarch() have an internal name (_sysarch()).
 1.15  19-Feb-2000  mycroft branches: 1.15.6;
A better fix for the stub-in-other-module problem:
Load the address of cerror through the GOT, so we can do a PIC_EPILOGUE and
leave the stack clean.
 1.14  23-Aug-1999  kleink Use _ALIGN_TEXT from <machine/asm.h>.
 1.13  07-Feb-1999  christos branches: 1.13.2;
Add PIC_PROLOGUE before the PLT call to cerror. ELF dynamic linking needs
this.
 1.12  14-Jan-1999  kleink * On architectures using ELF, and conditionally on those in transition, rename
_ASM_LABEL(cerror) and _ASM_LABEL(curbrk) to _C_LABEL(__cerror) and
_C_LABEL(__curbrk) (or their respective architecture-specific equivalents) to
avoid possible name clashes with identifiers used in user applications.
* Do the same for minbrk on all architectures to avoid a GCC-specific (and
on ELF architectures effectively useless) symbol reference renaming in MI code.
 1.11  02-May-1997  kleink Consistency: distinguish between PSEUDO() and PSEUDO_NOERROR().
 1.10  17-Oct-1996  jtc Added new macros:
SYSTRAP(x): Expands to the code used to call syscall x.
This is used to simplify other macros.

SYSCALL_NOERROR(x): Like SYSCALL except that "x" is a syscall
that can never fail.

RSYSCALL_NOERROR(x): Like RSYSCALL except that "x" is a syscall
that can never fail.
 1.9  28-Dec-1995  jtc Removed unused CALL macro
 1.8  28-Dec-1995  jtc Added macros definitions for use with ANSI preprocessors.
 1.7  26-Oct-1994  mycroft Use trap gate to enter kernel.
 1.6  31-Mar-1994  mycroft Add a .text and .align to SYSCALL().
 1.5  27-Jan-1994  mycroft One last tweak.
 1.4  27-Jan-1994  mycroft Stylistic changes.
 1.3  07-Jan-1994  pk PIC_*() macros moved to <machine/asm.h>
 1.2  06-Dec-1993  pk Use PIC_PLT() macro for error returns
 1.1  07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.13.2.1  22-Feb-2000  he Pull up revisions 1.14-1.15 (requested by mycroft):
Implement a better fix for the ``stubs in other shlibs'' problem.
With this fix the stack is left clean during the transition from
the stub to cerror().
 1.15.6.3  21-Jun-2002  nathanw Catch up to -current.
 1.15.6.2  22-Mar-2002  nathanw Catch up to -current.
 1.15.6.1  28-Jan-2002  nathanw Catch up to -current.
 1.21.4.1  09-Jan-2008  matt sync with HEAD
 1.22.6.1  18-May-2008  yamt sync with head.
 1.23.28.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.23.8.2  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.23.8.1  28-Apr-2008  martin file SYS.h was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.23.4.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.24.2.1  10-Aug-2014  tls Rebase.

RSS XML Feed