handling the stack?
handling the stack?
- Subject: handling the stack?
- From: Mauricio David Cerda Villablanca <email@hidden>
- Date: Sat, 18 Sep 2004 16:10:04 -0400 (CLT)
Hi, my first post here, soo, if this is not the appropiate list
sorry, just tell me I will move the question to the rigth mail
list :)
here is the deal, I'm a computer science student, and use a small
toy operatin system (to test different proccess estragies, like monitors,
signal, some OS thread strategies, etc, etc), well, it's small and
just for education purpose (very cool by the way), it's name, Nano System.
(http://www.dcc.uchile.cl/~lmateu/CC41B/download/nSystem2001.tgz)
Ok here comes the problem, it's a very low level program, soo, a small
part is writted directly in assembler, and has versions for Solaris
(sparc) and Linux (x86). This assebler code is the only part that is no
ANSI C, and it's for handling the memory stack, my idea is to port this
assembler part into Mac OS X :) ....
Where in darwin can I see the code for the memory stack handling?, there
is some library, or file where i can find the assembler code, for
something like that (handle memory stack),
for adapt a version using the PPC processor registers, and any hardware
specific code?, I guest just need a simplify version, but the mac os
x version should be similar to the code i'm looking for...
thanks for any help!
ah!!!!, here is the assembler code for sparc and x86
http://www.dcc.uchile.cl/~mcerda/sparc.txt
http://www.dcc.uchile.cl/~mcerda/x86.txt
Mauricio Cerda V.
email@hidden
--------------------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden