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 1.1.1.1.2.3
diff -u -b -p -r1.1.1.1.2.3 mp_desc.c
--- mp_desc.c 2000/10/28 02:27:18       1.1.1.1.2.3
+++ 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.

_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to