- Timestamp:
- Dec 19, 1999, 6:49:38 PM (26 years ago)
- Location:
- trunk/src/kernel32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/exceptutil.asm
r2115 r2141 1 ; $Id: exceptutil.asm,v 1. 3 1999-12-18 17:17:54sandervl Exp $1 ; $Id: exceptutil.asm,v 1.4 1999-12-19 17:49:38 sandervl Exp $ 2 2 3 3 ;/* … … 201 201 getSS endp 202 202 203 PUBLIC getES 204 getES proc near 205 mov eax, es 206 ret 207 getES endp 208 209 PUBLIC getGS 210 getGS proc near 211 mov eax, gs 212 ret 213 getGS endp 214 203 215 PUBLIC RestoreOS2FS 204 216 RestoreOS2FS proc near -
trunk/src/kernel32/exceptutil.h
r2123 r2141 1 /* $Id: exceptutil.h,v 1. 4 1999-12-18 20:03:14sandervl Exp $ */1 /* $Id: exceptutil.h,v 1.5 1999-12-19 17:49:38 sandervl Exp $ */ 2 2 3 3 /* … … 34 34 USHORT getDS(); 35 35 USHORT getCS(); 36 USHORT getSS(); 37 USHORT getES(); 38 USHORT getFS(); 39 USHORT getGS(); 36 40 37 41 #ifdef __cplusplus -
trunk/src/kernel32/thread.cpp
r2115 r2141 1 /* $Id: thread.cpp,v 1. 19 1999-12-18 17:17:55sandervl Exp $ */1 /* $Id: thread.cpp,v 1.20 1999-12-19 17:49:38 sandervl Exp $ */ 2 2 3 3 /* … … 143 143 BOOL WIN32API GetThreadContext(HANDLE hThread, PCONTEXT lpContext) 144 144 { 145 USHORT cs, ds;146 147 145 dprintf(("GetThreadContext NOT IMPLEMENTED!! (TRUE)\n")); 148 146 memset(lpContext, 0, sizeof(CONTEXT)); 149 147 150 148 /* make up some plausible values for segment registers */ 151 cs = getCS(); 152 ds = getDS(); 153 lpContext->SegCs = cs; 154 lpContext->SegDs = ds; 155 lpContext->SegEs = ds; 156 lpContext->SegGs = ds; 157 lpContext->SegSs = ds; 158 lpContext->SegFs = ds; 149 lpContext->SegCs = getCS(); 150 lpContext->SegDs = getDS(); 151 lpContext->SegSs = getSS(); 152 lpContext->SegEs = getES(); 153 lpContext->SegGs = getGS(); 154 lpContext->SegFs = GetFS(); 159 155 160 156 return TRUE;
Note:
See TracChangeset
for help on using the changeset viewer.