- Kernel32: implemented fibers. Almost complete - only lacks some Windows 2003 Server features (switching the floating point context and Fiber Local Storage functions)

- Kernel32: GetCurrentFiber and GetFiberData are macros, not functions
 - Kernel32: ExitThread now is declared as __declspec(noreturn)
 - RosRtl: two new functions to allocate and free stacks
 - RosRtl: corrected a couple of prototypes

svn path=/trunk/; revision=4794
This commit is contained in:
KJK::Hyperion
2003-05-29 00:36:41 +00:00
parent 2382d9e48e
commit 66080da575
15 changed files with 697 additions and 272 deletions
+6 -4
View File
@@ -179,7 +179,7 @@ typedef struct _TEB
ULONG LastErrorValue; // 34h
ULONG CountOfOwnedCriticalSections; // 38h
PVOID CsrClientThread; // 3Ch
struct _W32THREAD* Win32ThreadInfo; // 40h
struct _W32THREAD* Win32ThreadInfo; // 40h
ULONG Win32ClientInfo[0x1F]; // 44h
PVOID WOW32Reserved; // C0h
ULONG CurrentLocale; // C4h
@@ -220,9 +220,11 @@ typedef struct _TEB
PVOID Instrumentation[0x10]; // F2Ch
PVOID WinSockData; // F6Ch
ULONG GdiBatchCount; // F70h
ULONG Spare2; // F74h // NOTE: RtlExitUserThread writes something here
ULONG Spare3; // F78h
ULONG Spare4; // F7Ch
USHORT Spare2; // F74h
BOOLEAN IsFiber; // F76h
UCHAR Spare3; // F77h
ULONG Spare4; // F78h
ULONG Spare5; // F7Ch
PVOID ReservedForOle; // F80h
ULONG WaitingOnLoaderLock; // F84h
PVOID WineDebugInfo; // Needed for WINE DLL's