[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: oskit-mach won't boot

From: Roland McGrath
Subject: Re: oskit-mach won't boot
Date: Thu, 31 May 2001 16:24:35 -0400 (EDT)

Thanks for finding that.  It looks like the last time I was hacking on
oskit-mach SMP, I left it so that the only thing that would boot was a
kernel compiled for SMP and booted on a uniprocessor!  Heh.

Please try this patch, which I have just checked in.

Index: mp_desc.c
RCS file: /cvs/gnumach/i386/i386/mp_desc.c,v
retrieving revision
diff -u -b -p -r1. mp_desc.c
--- mp_desc.c 2000/10/28 02:27:18
+++ mp_desc.c 2001/05/31 20:22:34
@@ -33,9 +33,10 @@
  * Addresses of bottom and top of interrupt stacks.
+ * When NCPUS==1 these initialized values never change.
-vm_offset_t    interrupt_stack[NCPUS];
-vm_offset_t    int_stack_top[NCPUS];
+vm_offset_t    interrupt_stack[NCPUS] = { (vm_offset_t) &base_stack_start, };
+vm_offset_t    int_stack_top[NCPUS] = { (vm_offset_t) &base_stack_end, };
  * Barrier address.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]