Raymond Toy pushed to branch issue-307-dynamically-alloc-altstack at cmucl / cmucl

Commits:

1 changed file:

Changes:

  • src/lisp/Darwin-os.c
    ... ... @@ -107,10 +107,13 @@ os_init0(const char *argv[], const char *envp[])
    107 107
     void
    
    108 108
     os_init(const char *argv[], const char *envp[])
    
    109 109
     {
    
    110
    +    extern char *altstack;
    
    110 111
         os_vm_page_size = OS_VM_DEFAULT_PAGESIZE;
    
    111 112
     #ifdef __ppc__
    
    112 113
         timebase_init();
    
    113 114
     #endif
    
    115
    +
    
    116
    +    altstack = malloc(SIGNAL_STACK_SIZE);
    
    114 117
     }
    
    115 118
     
    
    116 119