Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Aug 1999 09:37:30 -0400 (EDT)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Peter Wemm <peter@netplex.com.au>
Cc:        alpha@FreeBSD.ORG
Subject:   Re: cpu_switch() help needed..
Message-ID:  <14266.46516.691196.39030@grasshopper.cs.duke.edu>
In-Reply-To: <19990818130331.54C6A1C1F@overcee.netplex.com.au>
References:  <19990818130331.54C6A1C1F@overcee.netplex.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help

Peter Wemm writes:
 > I need some help to hook some routines into alpha/swtch.s, but I don't know
 > alpha assembler well enough.  I can guess and try and figure it out myself,
 > but I'd rather enlist the help of an expert. :-)  I can supply
 > corresponding patches for the x86 (basically delete large chunks of code
 > and replace it with calls to a C routine), but I don't know the calling
 > conventions and implications of side effects for the Alpha. On the x86, the
 > side effects of the registers clobbered by the C code were harmless.
 > 
 > I believe Doug is still in transit to/from SIGGRAPH or something.  Can any
 > of the other lurkers help?  (Andrew? :-).
 > 
 > Cheers,
 > -Peter

What exactly are you trying to do?  I might be able to help, but I
must admit that I haven't used alpha assembler much myself & am
probably at about your skill level with alpha assembler.

Two documents you might find useful are:

Assembly Language Programmer's Guide:
http://www.unix.digital.com/faqs/publications/base_doc/DOCUMENTATION/V40F_PDF/APS31DTE.PDF

Calling Standard for Alpha Systems:
http://www.unix.digital.com/faqs/publications/base_doc/DOCUMENTATION/V40F_PDF/APY8ACTE.PDF

Drew

------------------------------------------------------------------------------
Andrew Gallatin, Sr Systems Programmer	http://www.cs.duke.edu/~gallatin
Duke University				Email: gallatin@cs.duke.edu
Department of Computer Science		Phone: (919) 660-6590


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14266.46516.691196.39030>