code: 9ferno

Download patch

ref: 7ad5ef177ead4fdee347f5889bbe396b0fcd9f42
parent: 44ce0097b612a1fefd754065bdf8d9d2e5ef60c8
author: 9ferno <gophone2015@gmail.com>
date: Wed Sep 1 12:32:06 EDT 2021

cleaned up proto files

--- a/lib/emptydirs
+++ b/lib/emptydirs
@@ -16,15 +16,29 @@
 Inferno/arm/bin
 Inferno/arm/include
 Inferno/arm/lib
+Inferno/asm
+Inferno/chan
+Inferno/dev
 Inferno/mips/bin
 Inferno/mips/include
 Inferno/mips/lib
+Inferno/net
+Inferno/net.alt
+Inferno/nvfs
 Inferno/power/bin
 Inferno/power/include
 Inferno/power/lib
+Inferno/prof
+Inferno/prog
 Inferno/sparc/bin
 Inferno/sparc/include
 Inferno/sparc/lib
+Inferno/spim/bin
+Inferno/spim/lib
+Inferno/thumb/bin
+Inferno/thumb/lib
+Inferno/sys
+Inferno/wrap
 Irix/mips/bin
 Irix/mips/include
 Irix/mips/lib
@@ -34,6 +48,10 @@
 Linux/arm/bin
 Linux/arm/include
 Linux/arm/lib
+Linux/power/bin
+Linux/power/lib
+Linux/spim/bin
+Linux/spim/lib
 MacOSX/386/bin
 MacOSX/386/include
 MacOSX/386/lib
--- a/lib/proto/inferno
+++ b/lib/proto/inferno
@@ -1,5 +1,4 @@
 CHANGES
-LICENCE
 NOTICE
 FreeBSD
 	386
@@ -6,11 +5,6 @@
 		bin
 		include
 		lib
-Hp
-	s800
-		bin
-		include
-		lib
 Irix
 	mips
 		bin
@@ -408,7 +402,6 @@
 		basename.b
 		bind.b
 		bit2gif.b
-		broke.b
 		bytes.b
 		cal.b
 		calc.b
@@ -467,7 +460,6 @@
 		fc.b
 		fcp.b
 		fmt.b
-		fone.b
 		fortune.b
 		freq.b
 		fs.b
@@ -783,7 +775,6 @@
 		wmexport.b
 		xargs.b
 		xd.b
-		xmount.b
 		yacc.b
 		zeros.b
 	collab
@@ -1011,7 +1002,6 @@
 		fsfilter.b
 		fslib.b
 		fsproto.b
-		gamer.b
 		hash.b
 		html.b
 		ida
@@ -1074,7 +1064,6 @@
 		readpng.b
 		readxbitmap.b
 		regex.b
-		regexutils.b
 		registries.b
 		rfc822.b
 		riff.b
@@ -1367,19 +1356,6 @@
 		mand.b
 		mash.b
 		memory.b
-		minitel
-			README
-			event.b
-			event.m
-			keyb.b
-			miniterm.b
-			miniterm.m
-			mkfile
-			modem.b
-			screen.b
-			socket.b
-			swkeyb.b
-			swkeyb.m
 		mkfile
 		mpeg.b
 		mpeg
@@ -1499,7 +1475,6 @@
 		+
 	basename.dis
 	bind.dis
-	broke.dis
 	bytes.dis
 	cal.dis
 	calc.dis
@@ -1546,7 +1521,6 @@
 	fc.dis
 	fcp.dis
 	fmt.dis
-	fone.dis
 	fortune.dis
 	freq.dis
 	fs.dis
@@ -1627,7 +1601,6 @@
 		fsproto.dis
 		ftree
 			+
-		gamer.dis
 		hash.dis
 		html.dis
 		ida
@@ -1681,7 +1654,6 @@
 		readpng.dis
 		readxbitmap.dis
 		regex.dis
-		regexutils.dis
 		registries.dis
 		rfc822.dis
 		riff.dis
@@ -1899,8 +1871,6 @@
 		mand.dis
 		mash.dis
 		memory.dis
-		minitel
-			*
 		mpeg.dis
 		mprof.dis
 		pen.dis
@@ -1932,7 +1902,6 @@
 	wmexport.dis
 	xargs.dis
 	xd.dis
-	xmount.dis
 	yacc.dis
 	zeros.dis
 doc
@@ -1994,7 +1963,6 @@
 	limbotk
 		tk.ms
 		tk.pdf
-	manhow.pdf
 	mk.ms
 	mk.pdf
 	perform
@@ -2075,7 +2043,6 @@
 		*
 	proto
 		FreeBSD
-		Hp
 		Irix
 		Linux
 		MacOSX
@@ -2099,7 +2066,6 @@
 		+
 	units
 	usbdb
-	video.specs
 	wmcharon
 	wmsetup
 	wmsetup.grid
@@ -2265,7 +2231,6 @@
 	freetype.m
 	fslib.m
 	fsproto.m
-	gamer.m
 	gr.m
 	grid
 		announce.m
@@ -2324,7 +2289,6 @@
 	rand.m
 	readdir.m
 	regex.m
-	regexutils.m
 	registries.m
 	rfc822.m
 	riff.m
--- a/lib/proto/os
+++ b/lib/proto/os
@@ -77,7 +77,6 @@
 	fmtstr.c
 	fmtvprint.c
 	frexp-386.c
-	frexp-68000.c
 	frexp-arm.c
 	frexp-mips.c
 	frexp-power.c
@@ -85,7 +84,6 @@
 	frexp-spim.c
 	frexp-thumb.c
 	getfcr-386.s
-	getfcr-68000.s
 	getfcr-arm.s
 	getfcr-mips.s
 	getfcr-power.s
@@ -101,7 +99,6 @@
 	memcmp.c
 	memmove.c
 	memmove-386.s
-	memmove-68000.s
 	memmove-arm.s
 	memmove-mips.s
 	memmove-power.s
@@ -109,7 +106,6 @@
 	memmove-sparc.s
 	memmove-thumb.s
 	memset-386.s
-	memset-68000.s
 	memset-arm.s
 	memset-mips.s
 	memset-power.s
@@ -119,7 +115,6 @@
 	memset.c
 	mkfile
 	mkfile-386
-	mkfile-68000
 	mkfile-arm
 	mkfile-mips
 	mkfile-power
@@ -126,9 +121,7 @@
 	mkfile-sparc
 	mkfile-spim
 	mkfile-thumb
-	muldiv-68000.s
 	nan-386.c
-	nan-68000.c
 	nan-arm.c
 	nan-mips.c
 	nan-power.c
@@ -148,9 +141,7 @@
 	sqrt.c
 	strcat.c
 	strchr-386.s
-	strchr-68000.s
 	strchr-arm.s
-	strchr-mips.c
 	strchr-mips.s
 	strchr-power.s
 	strchr-sparc.s
@@ -191,7 +182,6 @@
 	vlop-spim.s
 	vlop-thumb.s
 	vlrt-386.c
-	vlrt-68000.c
 	vlrt-arm.c
 	vlrt-mips.c
 	vlrt-power.c
@@ -354,7 +344,6 @@
 			zqs.c
 		pc
 			8250.c
-			LICENCE
 			NOTICE
 			ahci.h
 			alarm.c
@@ -750,7 +739,6 @@
 		devfpga.c
 		flash28f320b3b.c
 		fns.h
-		fpga
 		io.h
 		ipe
 		main.c
--- a/lib/proto/src
+++ b/lib/proto/src
@@ -1,13 +1,6 @@
 INSTALL
 include
 	styxserver.h
-asm
-	NOTICE
-	asm.h
-	asm.y
-	assem.c
-	lex.c
-	mkfile
 emu
 	NOTICE
 	mkfile
@@ -28,8 +21,6 @@
 		win.c
 	FreeBSD
 		+
-	Hp
-		+
 	Irix
 		+
 	Linux
@@ -112,7 +103,6 @@
 libdynld
 	NOTICE
 	dynld-386.c
-	dynld-68000.c
 	dynld-arm.c
 	dynld-mips.c
 	dynld-power.c
@@ -395,26 +385,19 @@
 	README
 	alt.c
 	comp-386.c
-	comp-68020.c
 	comp-arm.c
 	comp-mips.c
 	comp-power.c
-	comp-s800.c
 	comp-sparc.c
 	comp-spim.c
-	comp-thumb.c
 	conv.c
 	das-386.c
-	das-68000.c
-	das-68020.c
 	das-arm.c
 	das-mips.c
 	das-power.c
-	das-s800.c
 	das-sparc.c
 	das-stub.c
 	das-spim.c
-	das-thumb.c
 	dec.c
 	decgen.c
 	dlm-Inferno.c
@@ -662,7 +645,6 @@
 	nodes.c
 	optab.c
 	optim.c
-	runt.h
 	sbl.c
 	stubs.c
 	typecheck.c
@@ -670,7 +652,6 @@
 libmath
 	NOTICE
 	FPcontrol-FreeBSD.c
-	FPcontrol-Hp.c
 	FPcontrol-Inferno.c
 	FPcontrol-Irix.c
 	FPcontrol-Linux.c
@@ -745,7 +726,6 @@
 	ltorear.c
 	mkfile
 	mkfile-FreeBSD
-	mkfile-Hp
 	mkfile-Inferno
 	mkfile-Irix
 	mkfile-Linux
--- a/lib/proto/utils
+++ b/lib/proto/utils
@@ -36,7 +36,6 @@
 	fmtvprint.c
 	fprint.c
 	getcallerpc-FreeBSD-386.S
-	getcallerpc-Hp-s800.s
 	getcallerpc-Irix-mips.s
 	getcallerpc-Linux-386.S
 	getcallerpc-Linux-arm.S
@@ -52,7 +51,6 @@
 	getwd-Nt.c
 	getwd-posix.c
 	lock.c
-	lock-Hp-s800.s
 	lock-Irix-mips.s
 	lock-MacOSX-power.s
 	lock-Nt-386.c
@@ -142,9 +140,6 @@
 		txt.c
 		v.out.h
 	0l
-		Plan9.c
-		Nt.c
-		Posix.c
 		asm.c
 		enam.c
 		l.h
@@ -156,68 +151,6 @@
 		pass.c
 		sched.c
 		span.c
-	1a
-		a.h
-		a.y
-		l.s
-		lex.c
-		mkfile
-	1c
-		cgen.c
-		enam.c
-		gc.h
-		list.c
-		mkfile
-		mul.c
-		peep.c
-		reg.c
-		sgen.c
-		swt.c
-		txt.c
-	1l
-		Plan9.c
-		Nt.c
-		Posix.c
-		asm.c
-		l.h
-		list.c
-		mkfile
-		obj.c
-		optab.c
-		pass.c
-		span.c
-	2a
-		a.h
-		a.y
-		l.s
-		lex.c
-		mkfile
-	2c
-		2.out.h
-		Update
-		cgen.c
-		enam.c
-		gc.h
-		list.c
-		mkfile
-		mul.c
-		peep.c
-		reg.c
-		sgen.c
-		swt.c
-		txt.c
-	2l
-		Plan9.c
-		Nt.c
-		Posix.c
-		asm.c
-		l.h
-		list.c
-		mkfile
-		obj.c
-		optab.c
-		pass.c
-		span.c
 	5a
 		a.h
 		a.y
@@ -249,9 +182,6 @@
 		mkfile
 		readcoff.c
 	5l
-		Plan9.c
-		Nt.c
-		Posix.c
 		asm.c
 		l.h
 		list.c
@@ -261,7 +191,6 @@
 		optab.c
 		pass.c
 		span.c
-		thumb.c
 	6c
 		6.out.h
 	8a
@@ -288,9 +217,6 @@
 		swt.c
 		txt.c
 	8l
-		Plan9.c
-		Nt.c
-		Posix.c
 		asm.c
 		l.h
 		list.c
@@ -397,7 +323,7 @@
 		lexbody
 		mac.c
 		macbody
-		machcap.c
+		omachcap.c
 		mkfile
 		mpatof.c
 		pickle.c
@@ -457,9 +383,6 @@
 		swt.c
 		txt.c
 	kl
-		Plan9.c
-		Nt.c
-		Posix.c
 		asm.c
 		foo.c
 		l.h
@@ -485,9 +408,6 @@
 		yaccpar
 	libmach
 		NOTICE
-		2.c
-		2db.c
-		2obj.c
 		4.c
 		4db.c
 		5.c
@@ -498,9 +418,7 @@
 		8.c
 		8db.c
 		8obj.c
-		a.out.h
 		access.c
-		ar.h
 		bootexec.h
 		elf.h
 		executable.c
@@ -507,7 +425,6 @@
 		k.c
 		kdb.c
 		kobj.c
-		mach.h
 		machdata.c
 		map.c
 		mkfile
@@ -521,9 +438,7 @@
 		sym.c
 		t.c
 		tdb.c
-		tobj.c
 		uregt.h
-		ureg2.h
 		ureg4.h
 		ureg5.h
 		ureg6.h
@@ -612,10 +527,8 @@
 		mkfile
 		nm.c
 	qa
-		Ins
 		a.h
 		a.y
-		branch
 		lex.c
 		mkfile
 	qc
@@ -633,11 +546,6 @@
 		swt.c
 		txt.c
 	ql
-		Plan9.c
-		Ins
-		Notes
-		Nt.c
-		Posix.c
 		asm.c
 		asmout.c
 		cnam.c
@@ -716,7 +624,6 @@
 		l.s
 		lex.c
 		mkfile
-		note
 	vc
 		cgen.c
 		enam.c
@@ -732,9 +639,6 @@
 		txt.c
 		v.out.h
 	vl
-		Plan9.c
-		Nt.c
-		Posix.c
 		asm.c
 		compat.c
 		l.h