9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Sparkling R4 ...
@ 2002-04-28 15:22 plan9
  0 siblings, 0 replies; 2+ messages in thread
From: plan9 @ 2002-04-28 15:22 UTC (permalink / raw)
  To: 9fans

Sometimes I'm dreaming of Sparc...

Here are some stuff that may need to exist in order to have Plan 9 ``ready'' to go on Sparc port
(comments are welcome)

===========================
/sys/src/libmp/sparc/mkfile
	objtype=sparc
	</sparc/mkfile

	LIB=/$objtype/lib/libmp.a
	OFILES=\

	HFILES=/$objtype/include/u.h /sys/include/mp.h ../port/dat.h

	</sys/src/cmd/mksyslib

===========================
/sys/src/libsec/sparc/mkfile
	objtype=sparc
	</sparc/mkfile

	LIB=/$objtype/lib/libsec.a
	OFILES=\

	HFILES=/sys/include/libsec.h
	</sys/src/cmd/mksyslib

===========================
/sys/src/libthread/xincsparc.c
	#include xincport.h

===========================
/sys/src/libthread/sparc.c
	cp ./power.c ./sparc.c

	change
		launcherpower(int, [...]
		to
		launchersparc(int, [...]

	change
		[...] =(ulong)launcherpower+JMPBUFDPC
		to
		[...] =(ulong)launchersparc+JMPBUFDPC

===========================

also mkdir /acme/bin/sparc

===========================

cd /sys/src ; objtype=sparc ; mk install

===========================

kl need to be upgraded to R4, that will wait until Charles gets some time.





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] Sparkling R4 ...
@ 2002-04-28 20:29 plan9
  0 siblings, 0 replies; 2+ messages in thread
From: plan9 @ 2002-04-28 20:29 UTC (permalink / raw)
  To: 9fans

Oups... one was missing :

in /sys/src/mkfile.proto

   append k to OS
      OS=v4586xq7k

   and append sparc to CPUS
      CPUS=mips 386 power alpha arm sparc



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-04-28 20:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-28 15:22 [9fans] Sparkling R4 plan9
2002-04-28 20:29 plan9

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 NNTP newsgroup(s).