* [ECOS] SPARC context switching
@ 1999-10-23 19:31 Gene Kozin
0 siblings, 0 replies; only message in thread
From: Gene Kozin @ 1999-10-23 19:31 UTC (permalink / raw)
To: eCos Mailing List
Hi,
I'm doing an eCos port from SPARClite to proprietary SPARC V8 architecture.
Our SPARC has 7 register windows as opposed to SPARClite's 8. I got to the
point where I can execute single-threaded code. However, a two-thread app
crashes after each thread executes once. The crash occurs during context
switch due to %i7 (return address) loaded with invalid value. This value,
0x03030005, is always the same and appears to be one of the "magic"
constants initialized in hal_thread_init_context() function (in icontext.c).
Any help will be greatly appreciated.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-10-23 19:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-10-23 19:31 [ECOS] SPARC context switching Gene Kozin
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 read-only IMAP folder(s) and NNTP newsgroup(s).