[uae] Fix for a problem with hardfiles on SMP machines

  • From: Richard Drummond <evilrich@xxxxxxxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Fri, 15 Dec 2006 15:16:18 -0500

Hi All

There was a nasty race condition that caused lock-ups when using hardfiles 
(and probably SCSI devices) on SMP boxes (such as AMD64x2 or Core Duo 
machines).

The attached path should fix this problem. (It's also checked in to CVS, but I 
include it here for anybody who doesn't want to use CVS to try.)

Cheers,
Rich
 
Index: src/include/native2amiga.h
===================================================================
RCS file: /cvsroot/uaedev/uae/src/include/native2amiga.h,v
retrieving revision 1.3
diff -u -r1.3 native2amiga.h
--- src/include/native2amiga.h  3 Oct 2005 15:36:06 -0000       1.3
+++ src/include/native2amiga.h  15 Dec 2006 19:49:10 -0000
@@ -59,5 +59,4 @@
 {
     uae_int_requested = 1;
     set_uae_int_flag ();
-    INTREQ (0x8000 | 0x0008);
 }

Other related posts:

  • » [uae] Fix for a problem with hardfiles on SMP machines