A free Windows-compatible Operating System - mirrored from GitHub
Find a file
Alex Ionescu e6523bb71e Second part of patch, implements the new RTL functions which will be used (not used by kernel yet).
- RtlCreateUserProcess:
        * Created RtlpInitEnvironment to manage Environment Block creation. Rougly based on
          old KlInitPeb code but with some optimizations.
        * Don't ignore Process Security Descriptor if one was specified.
        * Don't ignore ZeroBits, get correct entrypoint, and don't assume PEB address.
        * Don't close handle of section before closing process handle on failure.
        * Support new undocumented flag which pre-allocates 1MB of memory for Native Processes
        * FIXME: Hande duplication should be done, but wasn't and still isn't.
    
    - RtlpCreateUserStack:
        * New function to create a stack for a Thread, similar to BasepCreateStack but
          has some differences related to StackCommit/StackReserve.
        * Also create Guard Page
        
    - RtlpFreeUserStack:
        * Undoes what the function above does, in case of failure in code using it.
        
    - RtlCreateUserThread:
        * Use the new functions instead of rosrtl.
        
    - RtlInitializeContext:
        * New function similar to BasepInitializeContext but;
            > Uses a single entrypoint, not many possible thunks like Kernel32 (no need)
            > The starting EFLAGS is Interrupts Enabled, not IOPL 3.
            > We don't initialize the same Context Flags
            > The initial context registers are different
            
    - RtlFreeUserThreadStack
        * Don't assume the TEB address
          
    - RtlExitUserThread
        * Remove deprecated stack-switching semantics and use new TEB flag to tell the Kernel
          to deallocate the stack for us.

svn path=/trunk/; revision=16542
2005-07-12 04:41:41 +00:00
irc Some new features like Login, Config.h and Idle message 2005-06-03 17:28:53 +00:00
msvc6 Initial revision 2004-02-06 08:21:52 +00:00
os2 To do once more a little piece os2ss 2005-03-16 23:51:26 +00:00
posix Refresh RC script for PSX bare sh. 2005-03-08 22:41:27 +00:00
reactos Second part of patch, implements the new RTL functions which will be used (not used by kernel yet). 2005-07-12 04:41:41 +00:00
rosapps fix tlist 2005-07-01 19:53:02 +00:00
rosky Move ROSKY to a separate SVN module. 2005-06-30 12:19:21 +00:00
vms Move VMS subtree in the proper place. 2005-05-02 14:15:56 +00:00