Subject: m88k system call convention
To: None <>
From: Toru Nishimura <>
List: netbsd-ports
Date: 02/08/2000 14:48:26
Hi, all.

I'm running research about NetBSD port on OMRON luna88k.  I looked
through library codes of LUNA Mach2.5 and OpenBSD/m88k, and found that
they use different calling convention for system call.  My Q is which
way should I use for NetBSD/m88k?

- LUNA Mach2.5
   issue "tb0 0,r0,128" after storing the system call number in r9.

- OpenBSD/m88k
   issue "tb0 0,r0,128" after storing the first 3 argments in r10,r11,r12,
   and system call number in r13.

Tohru Nishimura