[3942] in arla-drinkers
arla 0.42 on NetBSD/vax 3.0: success
daemon@ATHENA.MIT.EDU (Jonathan A. Kollasch)
Mon Jun 12 00:33:58 2006
From arla-drinkers-bounces@stacken.kth.se Mon Jun 12 04:33:58 2006
Return-Path: <arla-drinkers-bounces@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 23389 invoked from network); 12 Jun 2006 04:33:57 -0000
Received: from mx2.kth.se (130.237.48.98)
by charon.mit.edu with SMTP; 12 Jun 2006 04:33:57 -0000
Received: from localhost (localhost.localdomain [127.0.0.1])
by mx2.kth.se (Postfix) with ESMTP id 103F61407F1;
Mon, 12 Jun 2006 06:33:56 +0200 (CEST)
Received: from mx2.kth.se ([127.0.0.1])
by localhost (mx2.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP
id 10015-04-12; Mon, 12 Jun 2006 06:33:54 +0200 (CEST)
Received: from tapas.stacken.kth.se (tapas.stacken.kth.se [130.237.234.140])
by mx2.kth.se (Postfix) with ESMTP id 7BA4314572A;
Mon, 12 Jun 2006 06:33:54 +0200 (CEST)
Received: from tapas.stacken.kth.se (localhost [127.0.0.1])
by tapas.stacken.kth.se (Postfix) with ESMTP id 29895534FC;
Mon, 12 Jun 2006 06:33:54 +0200 (CEST)
X-Original-To: arla-drinkers@tapas.stacken.kth.se
Delivered-To: arla-drinkers@tapas.stacken.kth.se
Received: from brev.stacken.kth.se (brev.stacken.kth.se [130.237.234.84])
by tapas.stacken.kth.se (Postfix) with ESMTP id D99FB534FC
for <arla-drinkers@tapas.stacken.kth.se>;
Mon, 12 Jun 2006 06:33:51 +0200 (CEST)
Received: from mx3.kth.se (mx3.kth.se [130.237.48.97])
by brev.stacken.kth.se (8.12.10/8.12.10) with ESMTP id k5C4Xp1F014930
for <arla-drinkers@stacken.kth.se>;
Mon, 12 Jun 2006 06:33:51 +0200 (MET DST)
Received: from localhost (localhost.localdomain [127.0.0.1])
by mx3.kth.se (Postfix) with ESMTP id D4846144B02
for <arla-drinkers@stacken.kth.se>;
Mon, 12 Jun 2006 06:33:50 +0200 (CEST)
Received: from mx3.kth.se ([127.0.0.1])
by localhost (mx3.kth.se [127.0.0.1]) (amavisd-new,
port 10024) with LMTP
id 26009-01-11 for <arla-drinkers@stacken.kth.se>;
Mon, 12 Jun 2006 06:33:49 +0200 (CEST)
Received: from mail.kollasch.net (unknown [IPv6:2002:a867:36dd:1::19])
by mx3.kth.se (Postfix) with ESMTP id E8E1C144B01
for <arla-drinkers@stacken.kth.se>;
Mon, 12 Jun 2006 06:33:43 +0200 (CEST)
Received: from kirkkit.kollasch.net (kirkkit.kollasch.net
[IPv6:2002:a867:36dd:1:2b0:d0ff:fec8:589c])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(No client certificate requested)
by mail.kollasch.net (Postfix) with ESMTP id 291C317365
for <arla-drinkers@stacken.kth.se>;
Sun, 11 Jun 2006 23:33:40 -0500 (CDT)
Date: Sun, 11 Jun 2006 23:33:39 -0500
From: "Jonathan A. Kollasch" <jakllsch@kollasch.net>
To: arla-drinkers@stacken.kth.se
Subject: arla 0.42 on NetBSD/vax 3.0: success
Message-ID: <20060612043339.GE10840@kirkkit.kollasch.net>
Mime-Version: 1.0
User-Agent: Mutt/1.5.11
X-Virus-Scanned: by amavisd-new at kth.se
X-Spam-Status: No, hits=-2.5 tagged_above=-200.0 required=5.0 tests=BAYES_00
X-Spam-Level:
X-BeenThere: arla-drinkers@stacken.kth.se
X-Mailman-Version: 2.1.6
Precedence: list
List-Id: Arla discussions <arla-drinkers.stacken.kth.se>
List-Unsubscribe: <https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers>,
<mailto:arla-drinkers-request@stacken.kth.se?subject=unsubscribe>
List-Archive: <http://lists.stacken.kth.se/pipermail/arla-drinkers>
List-Post: <mailto:arla-drinkers@stacken.kth.se>
List-Help: <mailto:arla-drinkers-request@stacken.kth.se?subject=help>
List-Subscribe: <https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers>,
<mailto:arla-drinkers-request@stacken.kth.se?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0816133957=="
Sender: arla-drinkers-bounces@stacken.kth.se
Errors-To: arla-drinkers-bounces@stacken.kth.se
X-Virus-Scanned: by amavisd-new at kth.se
--===============0816133957==
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="NGIwU0kFl1Z1A3An"
Content-Disposition: inline
--NGIwU0kFl1Z1A3An
Content-Type: multipart/mixed; boundary="KuLpqunXa7jZSBt+"
Content-Disposition: inline
--KuLpqunXa7jZSBt+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hi,
For no real reason I've tested Arla on NetBSD/vax 3.0. Included is the
fixes to get lwp/process.vax.S to assemble with the current toolchain
and fix some function name changes.
(I should note that this is the first time I've modified VAX assembly
code, the fixes were based on the syntax of the .S code in NetBSD.)
Also, configure (which took over a half hour) made one or
two mistakes that I just overrode manually in config.h.
In the hour or so that I've tested this (only in read mode) I've
not had any problems.
Great work on creating such a portable package. Perhaps
on another weekend I'll try out Arla on NetBSD/pmax.
Jonathan Kollasch
--KuLpqunXa7jZSBt+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=diff
Content-Transfer-Encoding: quoted-printable
--- /tmp/arla-0.42/lwp/process.vax.S 2000-01-01 20:11:20.000000000 -0600
+++ arla-0.42/lwp/process.vax.S 2006-06-11 17:56:36.000000000 -0500
@@ -65,26 +65,26 @@
.set area1,8
.set newsp,12
=20
-.globl _PRE_Block
-.globl _savecontext
+.globl PRE_Block
+.globl savecontext
=20
-_savecontext:
+savecontext:
.word 0x0ffc # Save regs R2-R11
- movb $1,_PRE_Block # Critical section for preemption code
- pushl ap # save old ap
- pushl fp # save old fp =20
- movl area1(ap),r0 # r0 =3D base of savearea
- movl sp,topstack(r0) # area->topstack =3D sp
- movl newsp(ap),r0 # Get new sp
+ movb $1,PRE_Block # Critical section for preemption code
+ pushl %ap # save old ap
+ pushl %fp # save old fp =20
+ movl area1(%ap),%r0 # r0 =3D base of savearea
+ movl %sp,topstack(%r0) # area->topstack =3D sp
+ movl newsp(%ap),%r0 # Get new sp
beql L1 # if new sp is 0, dont change stacks
- movl r0,sp # else switch to new stack
+ movl %r0,%sp # else switch to new stack
L1:
- movl f(ap),r1 # r1 =3D f
- calls $0,0(r1) # f()
+ movl f(%ap),%r1 # r1 =3D f
+ calls $0,0(%r1) # f()
=20
/* It is impossible to be here, so abort() */
=20
- calls $0,_abort
+ calls $0,abort
=20
/*
# returnto(area2)
@@ -94,15 +94,15 @@
/* Stack offset of argument */
.set area2,4
=20
- .globl _returnto
-_returnto:
+ .globl returnto
+returnto:
.word 0x0 # Who cares about these regs?
- movl area2(ap),r0 # r0 =3D address of area2
- movl topstack(r0),sp # Restore sp
- movl (sp)+,fp # Restore fp
- movl (sp)+,ap # ,,,,
- clrb _PRE_Block # End of preemption critical section
+ movl area2(%ap),%r0 # r0 =3D address of area2
+ movl topstack(%r0),%sp # Restore sp
+ movl (%sp)+,%fp # Restore fp
+ movl (%sp)+,%ap # ,,,,
+ clrb PRE_Block # End of preemption critical section
ret
=20
pushl $1234 # I will gloat, Kazar
- calls $0,_abort
+ calls $0,abort
--KuLpqunXa7jZSBt+--
--NGIwU0kFl1Z1A3An
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (NetBSD)
iD8DBQFEjO6jOjx1ye3hmokRArLPAKCLEwOeEaB4zzV+m8MWPzUlcs7l2wCdH9vT
jBZaQwZkcf/xNbGpQLzX7hg=
=E5z9
-----END PGP SIGNATURE-----
--NGIwU0kFl1Z1A3An--
--===============0816133957==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Arla-drinkers mailing list
Arla-drinkers@stacken.kth.se
https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers
--===============0816133957==--