ntdll: Correctly document the offset of ntdll_thread_data.
This is a follow up of 16ddc62405
.
This commit is contained in:
parent
f3ff3e5055
commit
604c4dba80
|
@ -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__
|
||||||
|
|
|
@ -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) */
|
||||||
|
|
Loading…
Reference in New Issue