Changeset 14232
- Timestamp:
- Sep 6, 2010, 12:37:55 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/source/lisp-kernel/pmcl-kernel.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/lisp-kernel/pmcl-kernel.c
r14206 r14232 830 830 initial_stack_bottom() 831 831 { 832 #ifndef WINDOWS 833 extern char **environ; 834 char *p = *environ; 835 while (*p) { 836 p += (1+strlen(p)); 837 } 838 return (BytePtr)((((natural) p) +4095) & ~4095); 839 #endif 840 #ifdef WINDOWS 841 return (BytePtr)((current_stack_pointer() + 4095) & ~ 4095); 842 #endif 843 } 832 extern void os_get_current_thread_stack_bounds(void **, natural*); 833 void *stack_bottom; 834 natural stack_size; 835 836 os_get_current_thread_stack_bounds(&stack_bottom, &stack_size); 837 return (BytePtr)stack_bottom; 838 } 839 844 840 845 841
Note:
See TracChangeset
for help on using the changeset viewer.
