ntdll: Correctly document the offset of ntdll_thread_data.

This is a follow up of 16ddc62405.
This commit is contained in:
Qian Hong 2015-04-21 03:11:04 +08:00 committed by Alexandre Julliard
parent f3ff3e5055
commit 604c4dba80
2 changed files with 2 additions and 2 deletions

View File

@ -214,7 +214,7 @@ struct debug_info
char output[1024]; /* current output line */ char output[1024]; /* current output line */
}; };
/* thread private data, stored in NtCurrentTeb()->SystemReserved2 */ /* thread private data, stored in NtCurrentTeb()->SpareBytes1 */
struct ntdll_thread_data struct ntdll_thread_data
{ {
#ifdef __i386__ #ifdef __i386__

View File

@ -34,7 +34,7 @@
#define STACKOFFSET 0xc0 /* FIELD_OFFSET(TEB,WOW32Reserved) */ #define STACKOFFSET 0xc0 /* FIELD_OFFSET(TEB,WOW32Reserved) */
/* fix this if the ntdll_thread_regs structure is changed */ /* fix this if the ntdll_thread_regs structure is changed */
#define GS_OFFSET 0x1d8 /* FIELD_OFFSET(TEB,SystemReserved2) + FIELD_OFFSET(ntdll_thread_data,gs) */ #define GS_OFFSET 0x1d8 /* FIELD_OFFSET(TEB,SpareBytes1) + FIELD_OFFSET(ntdll_thread_data,gs) */
#define DPMI_VIF_OFFSET (0x1fc + 0) /* FIELD_OFFSET(TEB,GdiTebBatch) + FIELD_OFFSET(WINE_VM86_TEB_INFO,dpmi_vif) */ #define DPMI_VIF_OFFSET (0x1fc + 0) /* FIELD_OFFSET(TEB,GdiTebBatch) + FIELD_OFFSET(WINE_VM86_TEB_INFO,dpmi_vif) */
#define VM86_PENDING_OFFSET (0x1fc + 4) /* FIELD_OFFSET(TEB,GdiTebBatch) + FIELD_OFFSET(WINE_VM86_TEB_INFO,vm86_pending) */ #define VM86_PENDING_OFFSET (0x1fc + 4) /* FIELD_OFFSET(TEB,GdiTebBatch) + FIELD_OFFSET(WINE_VM86_TEB_INFO,vm86_pending) */