mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-18 06:30:05 +00:00
(tcbhead_t): Add vgetcpu_cache.
This commit is contained in:
parent
41967e1cad
commit
46d51e9bd3
@ -1,5 +1,5 @@
|
|||||||
/* Definition for thread-local data handling. nptl/x86_64 version.
|
/* Definition for thread-local data handling. nptl/x86_64 version.
|
||||||
Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
Copyright (C) 2002,2003,2004,2005,2006,2007 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -42,7 +42,7 @@ typedef union dtv
|
|||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
void *tcb; /* Pointer to the TCB. Not necessary the
|
void *tcb; /* Pointer to the TCB. Not necessarily the
|
||||||
thread descriptor used by libpthread. */
|
thread descriptor used by libpthread. */
|
||||||
dtv_t *dtv;
|
dtv_t *dtv;
|
||||||
void *self; /* Pointer to the thread descriptor. */
|
void *self; /* Pointer to the thread descriptor. */
|
||||||
@ -50,6 +50,7 @@ typedef struct
|
|||||||
uintptr_t sysinfo;
|
uintptr_t sysinfo;
|
||||||
uintptr_t stack_guard;
|
uintptr_t stack_guard;
|
||||||
uintptr_t pointer_guard;
|
uintptr_t pointer_guard;
|
||||||
|
unsigned long int vgetcpu_cache[2];
|
||||||
} tcbhead_t;
|
} tcbhead_t;
|
||||||
|
|
||||||
#else /* __ASSEMBLER__ */
|
#else /* __ASSEMBLER__ */
|
||||||
|
Loading…
Reference in New Issue
Block a user