[L4alpha-cvscommit] CVS: L4Alpha/pal ipi.mar,1.3,1.4 ipc.mar,1.19,1.20 thread.mar,1.11,1.12
Status: Beta
Brought to you by:
dpotts
|
From: Daniel P. <dp...@us...> - 2002-01-22 12:48:29
|
Update of /cvsroot/l4alpha/L4Alpha/pal In directory usw-pr-cvs1:/tmp/cvs-serv29742/pal Modified Files: ipi.mar ipc.mar thread.mar Log Message: SMP kernel updates and fixes. Corrected stack unrolling for ipc send - a result of recent ex_reg changes. Fixed bug in SMP task_new to correctly pass the right tcb of new task. This hasn't worked since 1.5.2.5 from what I can tell! Index: ipi.mar =================================================================== RCS file: /cvsroot/l4alpha/L4Alpha/pal/ipi.mar,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ipi.mar 2001/04/13 05:45:51 1.3 --- ipi.mar 2002/01/22 12:48:23 1.4 *************** *** 60,64 **** beq pp3, ipi_exit ! ; NewCom2SerialPutChar ^x58, pp2, pp4 ; X ;; pp2 is the transaction type. --- 60,64 ---- beq pp3, ipi_exit ! ; NewCom2SerialPutChar ^x58, pp1, pp4 ; X ;; pp2 is the transaction type. *************** *** 109,126 **** free_slot pp3, pp1, pp2, pp6 ! tcb_ptr pp0, pp1 ! ;; Normal checks. ! ldq_a pp2, TCB_MYSELF(pp1) ! cmpeq pp0, pp2, pp2 ! ; beq pp2, ipi_message_loop ! beq pp2, ipi_te_bugger - ldl_a pp0, TCB_CPUID(pp1) - ldl_p pp2, PCPUB_CPUID(pp6) - cmpeq pp0, pp2, pp2 - ; beq pp0, ipi_message_loop; FIXME (sjw Sun Feb 11 21:01:10 2001 ) --- Should this be forwarded? Don't think so ... - beq pp2, ipi_te_bugger - mb thread_fill_tcb_enqueue pp1, pp0, pp2, pp4, pp6 --- 109,116 ---- free_slot pp3, pp1, pp2, pp6 ! check_tid pp0, pp1, ipi_te_bugger, pp2 ; FIXME - should really forward it? ! check_cpuid pp1, pp0, ipi_te_bugger, pp2, pp6 mb thread_fill_tcb_enqueue pp1, pp0, pp2, pp4, pp6 Index: ipc.mar =================================================================== RCS file: /cvsroot/l4alpha/L4Alpha/pal/ipc.mar,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** ipc.mar 2002/01/17 04:39:04 1.19 --- ipc.mar 2002/01/22 12:48:23 1.20 *************** *** 1189,1193 **** ! push p_pp1!p_a0!p_a1!p_a2!p_a3 bis zero, #TFS_LOCKED_WAITING, pp7 --- 1189,1194 ---- ! push p_pp1 ! push p_a0!p_a1!p_a2!p_a3 bis zero, #TFS_LOCKED_WAITING, pp7 Index: thread.mar =================================================================== RCS file: /cvsroot/l4alpha/L4Alpha/pal/thread.mar,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** thread.mar 2002/01/17 04:39:04 1.11 --- thread.mar 2002/01/22 12:48:23 1.12 *************** *** 1247,1256 **** alloc_mailbox t1, t3, AT, t2, t5 ! ;; Not really needed ... ! tcb AT ! ldq_a AT, TCB_MYSELF(AT) ! stq_p AT, MB_DATA2(t1) ! ! ldq_a v0, TCB_MYSELF(v0) stq_p t0, MB_DATA0(t1) --- 1247,1251 ---- alloc_mailbox t1, t3, AT, t2, t5 ! ldq_a t0, TCB_MYSELF(t0) stq_p t0, MB_DATA0(t1) |