NETMF / llilum

Development Platform for MSIL and UWP apps targeting Micro Controllers. Part of the .NET Micro Framework family.
Other
159 stars 52 forks source link

Size of exception stack is hardcoded to a value that is too large for non FP platforms. #160

Closed lt72 closed 8 years ago

lt72 commented 8 years ago
    public override void InitializeAfterStaticConstructors( uint[] systemStack )
    {
        base.InitializeAfterStaticConstructors( systemStack );

        //
        // Make the stack the frame size + 1, so that we can fit the frame and be aligned to 8 bytes (array as a length member). 
        // Currently hardcoded to 128, see 
        //
        m_exceptionThread = new ThreadImpl( Bootstrap.Initialization, new uint[ 128 ] );
lt72 commented 8 years ago

Fixed with fa605d3cec43032511684663d43b3cf3e80e177d