tgone - plan9port - [fork] Plan 9 from user space (HTM) git clone git://src.adamsgaard.dk/plan9port (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit f263eaf302b16844165b6d3284089d55eec71686 (DIR) parent e4d62adf03a2b2914fe9d33a3d8c50ae04cd4aea (HTM) Author: rsc <devnull@localhost> Date: Tue, 18 Jan 2005 18:34:46 +0000 gone Diffstat: D PORTING | 17 ----------------- 1 file changed, 0 insertions(+), 17 deletions(-) --- (DIR) diff --git a/PORTING b/PORTING t@@ -1,17 +0,0 @@ -[Need to write better notes.] - -Look for files named *386* or *FreeBSD* and you'll see what -you need to implement for your architecture of choice. - -The hardest thing is probably the assembly routines: -src/lib9/tas-$SYSTYPE.s and src/libthread/asm-$SYSTYPE-$OBJTYPE.s. -The former is a test and set used to implement shared-memory -spin locks. The latter is a stripped down setjmp and longjmp -used to implement stack switching in the thread library. -Also, src/libthread/$OBJTYPE.c needs to know how to set up a stack -frame for the given object type. - -If you're only interested in mk and sam, you don't need to -write any assembly to do a port. Acme and samterm require everything -though, since it uses libthread. -