home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!mips!sdd.hp.com!uakari.primate.wisc.edu!ames!agate!ucbvax!magicbb.UUCP!Glen_W._Lalonde
- From: Glen_W._Lalonde@magicbb.UUCP
- Newsgroups: comp.os.minix
- Subject: MacMinix use of TAS
- Message-ID: <1992Aug20.220631.206133@magicbb.uucp>
- Date: 21 Aug 92 03:06:31 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Organization: MAGIC - Macintosh Awareness Group In Canada
- Lines: 28
-
- I looked around a bit in mac minix and found the following in mpx.s
-
- test_and_set:
- move.l 4(sp),a0
- tas(a0)
- beq L1
- move.l #1, d0
- rts
- L1: move.l #0,d0
- rts
-
- This routine is called from two places,
- idel.c in idle_wakeup and
- tty.c from tty_wakeup
-
- Since the TAS instructions special bus access is not support on the Mac
- SE and
- II this may cause some trouble. I will see if some reasonible
- alternative
- exists.
-
- Glen Lalonde,
- glalonde@vnet.ibm.com
- ***************************************************************************
- This message was created from a guest account on a FirstClass BBS and
- sent from from FirstClass(tm) by PostalUnion(tm) from I.E.
- The views expressed in this posting those of the individual author only.
- ***************************************************************************
-