diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-02-12 16:32:52 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-02-12 16:33:39 +0100 |
commit | bfb583e7916315eca3f19801dca1bf05eac4efef (patch) | |
tree | 50bda7a7fd58ff9a7c8b530fc87d2c80840be8ca /sysdeps/x86/htl | |
parent | be6d002ca277ffc90058d382396150cb0e785b9c (diff) | |
download | glibc-bfb583e7916315eca3f19801dca1bf05eac4efef.zip glibc-bfb583e7916315eca3f19801dca1bf05eac4efef.tar.gz glibc-bfb583e7916315eca3f19801dca1bf05eac4efef.tar.bz2 |
htl: Generalize i386 pt-machdep.h to x86
Diffstat (limited to 'sysdeps/x86/htl')
-rw-r--r-- | sysdeps/x86/htl/pt-machdep.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sysdeps/x86/htl/pt-machdep.h b/sysdeps/x86/htl/pt-machdep.h new file mode 100644 index 0000000..d0cc979 --- /dev/null +++ b/sysdeps/x86/htl/pt-machdep.h @@ -0,0 +1,28 @@ +/* Machine dependent pthreads internal defenitions. x86 version. + Copyright (C) 2000-2023 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, see + <https://www.gnu.org/licenses/>. */ + +#ifndef _PT_MACHDEP_H +#define _PT_MACHDEP_H 1 + +struct pthread_mcontext +{ + void *pc; + void *sp; +}; + +#endif /* pt-machdep.h */ |