CVS: sml-dist/src/runtime/mach-dep X86.prim.masm,1.5,1.6 win32-fault.c,1.3,1.4

Matthias Blume <[email protected]>
Newsgroups gmane.comp.lang.sml.smlnj.commits
Message-ID <[email protected]>
Update of /cvsroot/smlnj/sml-dist/src/runtime/mach-dep
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30100/mach-dep

Modified Files:
	X86.prim.masm win32-fault.c 
Log Message:
fixed problems with new signal handling code (win32 version was incomplete)

Index: X86.prim.masm
===================================================================
RCS file: /cvsroot/smlnj/sml-dist/src/runtime/mach-dep/X86.prim.masm,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** X86.prim.masm	3 May 2005 17:26:49 -0000	1.5
--- X86.prim.masm	18 May 2005 23:08:12 -0000	1.6
***************
*** 336,341 ****
  
  	/* handle signals */
! 	MOV_L(REGOFF(SigsRecvOffVSP,vsp),tmpreg)
! 	CMP_L(REGOFF(SigsHandledOffVSP,vsp),tmpreg)
  #undef tmpreg
  
--- 336,341 ----
  
  	/* handle signals */
! 	MOVL	  (REGOFF(SigsRecvOffVSP,vsp),tmpreg)
! 	CMPL	  (REGOFF(SigsHandledOffVSP,vsp),tmpreg)
  #undef tmpreg
  

Index: win32-fault.c
===================================================================
RCS file: /cvsroot/smlnj/sml-dist/src/runtime/mach-dep/win32-fault.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** win32-fault.c	26 Jan 2004 17:23:06 -0000	1.3
--- win32-fault.c	18 May 2005 23:08:12 -0000	1.4
***************
*** 45,50 ****
      vproc_state_t   *vsp = SELF_VPROC;
  
!     EnqueueSignal(vsp, code);
!     vsp->vp_numPendingSysSigs++;
  
      vsp->vp_limitPtrMask = 0;
--- 45,50 ----
      vproc_state_t   *vsp = SELF_VPROC;
  
!     vsp->vp_sigCounts[code].nReceived++;
!     vsp->vp_totalSigCount.nReceived++;
  
      vsp->vp_limitPtrMask = 0;



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.