Ignore:
Timestamp:
Jan 13, 2003, 5:51:40 PM (23 years ago)
Author:
sandervl
Message:

Don't allocate selectors anymore. Allocate tiled memory and call Dos32FlatToSel; Get default stack size from PE header; Thread handles not closed properly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/winexepeldr.cpp

    r9537 r9667  
    1 /* $Id: winexepeldr.cpp,v 1.21 2002-12-20 11:39:41 sandervl Exp $ */
     1/* $Id: winexepeldr.cpp,v 1.22 2003-01-13 16:51:40 sandervl Exp $ */
    22
    33/*
     
    178178}
    179179//******************************************************************************
     180//Default stack size is 1MB; the PE loader reads it from the executable header
    180181//******************************************************************************
     182ULONG Win32PeLdrExe::getDefaultStackSize()
     183{
     184    return (oh.SizeOfStackReserve > 128*1024) ? oh.SizeOfStackReserve : 128*1024;
     185}
     186//******************************************************************************
     187//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.