9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox <rsc@swtch.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] Drawterm on Mac Mini w/Ubuntu Linux
Date: Tue, 17 Jan 2006 16:40:50 -0500	[thread overview]
Message-ID: <ee9e417a0601171340u21de897bu8a697c684053fc14@mail.gmail.com> (raw)
In-Reply-To: <1137532260.25689.4.camel@localhost.localdomain>

Try removing tas.c from drawterm/posix-power and create tas.s
instead:

	.globl	_tas
_tas:
	li	%r0, 0
	mr	%r4, %r3
	lis	%r5, 0xcafe
	ori	%r5, %r5, 0xbabe
1:
	lwarx	%r3, %r0, %r4
	cmpwi	%r3, 0
	bne	2f
	stwcx.	%r5, %r0, %r4
	bne-	1b
2:
	sync
	blr

Russ


  reply	other threads:[~2006-01-17 21:40 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-17  1:14 Gregory Pavelcak
2006-01-17  1:19 ` Russ Cox
2006-01-17 11:17   ` Gregory Pavelcak
2006-01-17 12:00     ` erik quanstrom
2006-01-17 21:11       ` Gregory Pavelcak
2006-01-17 21:40         ` Russ Cox [this message]
2006-01-17 22:08           ` Gregory Pavelcak
2006-01-17 22:13             ` Russ Cox
2006-01-17 22:28               ` Gregory Pavelcak
2006-01-17 22:55                 ` Charles Forsyth
2006-01-17 22:33         ` Skip Tavakkolian
2006-01-17 21:41           ` Gregory Pavelcak
2006-01-17 22:40           ` Skip Tavakkolian
2006-01-18  0:37           ` Sven Moritz Hallberg
2006-01-17  1:20 ` Federico G. Benavento
2006-01-17  1:22 ` andrey mirtchovski
2006-01-17  1:25 ` [9fans] " Uriel
2006-01-17  1:34   ` andrey mirtchovski
2006-01-17  1:40   ` Russ Cox
2006-01-17  7:32     ` lucio
2006-01-17  7:29   ` lucio
2006-01-17 20:40     ` Micah Stetson
2006-01-17 10:06   ` Charles Forsyth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ee9e417a0601171340u21de897bu8a697c684053fc14@mail.gmail.com \
    --to=rsc@swtch.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).