diff options
author | AlmuHS <almuhs@github.com> | 2019-05-01 17:38:03 +0200 |
---|---|---|
committer | AlmuHS <almuhs@github.com> | 2019-05-01 17:38:03 +0200 |
commit | 559f518f8dd78d19e198ef57f7e5a0ed50262a17 (patch) | |
tree | 0ab8a31d8cf77d6eedafd71cf3bd7b9d20346bc8 /i386/i386/mp_desc.c | |
parent | 8684c5f8c1d0ecd2726949a61ce0ef83b9ab8a8d (diff) |
try to fix: stack crash
Diffstat (limited to 'i386/i386/mp_desc.c')
-rw-r--r-- | i386/i386/mp_desc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/i386/i386/mp_desc.c b/i386/i386/mp_desc.c index 25a69655..0bca1672 100644 --- a/i386/i386/mp_desc.c +++ b/i386/i386/mp_desc.c @@ -130,7 +130,7 @@ extern void* *apboot, *apbootend; //cpu stack extern void* stack_ptr; -extern void *stack_bsp; +extern void **stack_bsp; //ICR Destination mode #define PHYSICAL 0 @@ -555,7 +555,7 @@ start_other_cpus(void) cpu_stack[cpu] = stack_start; _cpu_stack_top[cpu] = stack_start + STACK_SIZE; - stack_ptr = (void*) &cpu_stack[cpu]; + stack_ptr = &cpu_stack[cpu]; machine_slot[cpu].running = FALSE; cpu_start(cpu); |