changeset 224:efcc6331a2a2 Common_Ancestor

fixed stack handling in fn that points the slave to a top-level function
author Some Random Person <seanhalle@yahoo.com>
date Wed, 14 Mar 2012 23:21:01 -0700
parents b0b93147adfb
children 309559064073
files Defines/VMS_defs__HW_constants.h Hardware_Dependent/VMS__primitives.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line diff
     1.1 --- a/Defines/VMS_defs__HW_constants.h	Tue Mar 13 18:28:04 2012 -0700
     1.2 +++ b/Defines/VMS_defs__HW_constants.h	Wed Mar 14 23:21:01 2012 -0700
     1.3 @@ -31,7 +31,7 @@
     1.4  #define VIRT_PROCR_STACK_SIZE 0x8000 /* 32K */
     1.5  
     1.6     // memory for VMS_int__malloc
     1.7 -#define MALLOC_ADDITIONAL_MEM_FROM_OS_SIZE 0x40000000 /* 1G */
     1.8 +#define MALLOC_ADDITIONAL_MEM_FROM_OS_SIZE 0x8000000 /* 128M */
     1.9  
    1.10     //Frequency of TS counts -- have to do tests to verify
    1.11     //NOTE: turn off (in BIOS)  TURBO-BOOST and SPEED-STEP else won't be const
     2.1 --- a/Hardware_Dependent/VMS__primitives.c	Tue Mar 13 18:28:04 2012 -0700
     2.2 +++ b/Hardware_Dependent/VMS__primitives.c	Wed Mar 14 23:21:01 2012 -0700
     2.3 @@ -47,7 +47,7 @@
     2.4     
     2.5        //core controller will switch to stack & frame pointers stored in slave,
     2.6        // suspend will save processor's stack and frame into slave
     2.7 -   slaveVP->stackPtr = slaveVP->startOfStack; 
     2.8 -   slaveVP->framePtr = slaveVP->startOfStack; 
     2.9 +   slaveVP->stackPtr = stackPtr; 
    2.10 +   slaveVP->framePtr = stackPtr; 
    2.11   }
    2.12