home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / minix / 4264 < prev    next >
Encoding:
Internet Message Format  |  1992-08-21  |  1.2 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!mips!sdd.hp.com!uakari.primate.wisc.edu!ames!agate!ucbvax!magicbb.UUCP!Glen_W._Lalonde
  2. From: Glen_W._Lalonde@magicbb.UUCP
  3. Newsgroups: comp.os.minix
  4. Subject: MacMinix use of TAS
  5. Message-ID: <1992Aug20.220631.206133@magicbb.uucp>
  6. Date: 21 Aug 92 03:06:31 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Organization: MAGIC - Macintosh Awareness Group In Canada
  9. Lines: 28
  10.  
  11. I looked around a bit in mac minix and found the following in mpx.s
  12.  
  13. test_and_set:
  14.     move.l 4(sp),a0
  15.     tas(a0)
  16.     beq L1
  17.     move.l #1, d0
  18.     rts
  19. L1: move.l #0,d0
  20.     rts
  21.  
  22. This routine is called from two places,
  23. idel.c in idle_wakeup and
  24. tty.c from tty_wakeup
  25.  
  26. Since the TAS instructions special bus access is not support on the Mac
  27. SE and
  28. II this may cause some trouble. I will see if some reasonible
  29. alternative 
  30. exists.
  31.  
  32. Glen Lalonde,
  33. glalonde@vnet.ibm.com  
  34. ***************************************************************************
  35.  This message was created from a guest account on a FirstClass BBS and
  36.         sent from from FirstClass(tm) by PostalUnion(tm) from I.E.
  37.   The views expressed in this posting those of the individual author only.
  38. ***************************************************************************
  39.