TODO revision 1.29
11.29Stsutsui$NetBSD: TODO,v 1.29 2011/01/08 09:44:37 tsutsui Exp $
21.2Sthorpej
31.17StsutsuiTo do list (in some particular order)
41.17StsutsuiXXX some entries might be obsolete.
51.12Ssoda
61.17Stsutsui    o	use MI driver
71.17Stsutsui
81.17Stsutsui	-   make fd driver MI, and share it with other ports
91.17Stsutsui	    (contact christos about MI fd driver)
101.17Stsutsui
111.17Stsutsui	-   use MI bha driver instead of home grown btl
121.17Stsutsui	    XXX needs fixes of DESKstation support
131.14Ssoda
141.17Stsutsui    o	VXL framebuffer support (Magnum, RISCstation 2200)
151.29Stsutsui	(Note nowadays QEMU supports Magnum 4000 with VXL)
161.14Ssoda
171.17Stsutsui    o	com_jazzio.c
181.17Stsutsui	-   clock handling clean up (obtain from ARC BIOS)
191.17Stsutsui	-   fifo disabling may be only needed on some Magnum?
201.1Sjonathan
211.17Stsutsui    o	AD1848 audio support
221.1Sjonathan
231.17Stsutsui    o	missing MI devices
241.17Stsutsui		ses?, vcoda, ...
251.1Sjonathan
261.4Ssoda
271.17Stsutsui    o	Xserver
281.4Ssoda
291.17Stsutsui	-   VXL		Magnum, RISCstation 2200
301.17Stsutsui	-   vga/S3	PICA, Image RISCstation - OpenBSD's?
311.17Stsutsui	-   vga/cirrus	RISCserver 2200, Express5800/240 R4400 EISA
321.17Stsutsui	-   vga/???	DESKstation Tyne, rPC44
331.17Stsutsui	-   TGA		RISCstation 2250, Express5800/230 R4400 PCI
341.29Stsutsui			(TGA support in XalphaNetBSD just works,
351.29Stsutsui			 but needs XOrg'fy)
361.4Ssoda
371.17Stsutsui    o   Find out why bitmap load to S3-928 flashes screen. (X server)
381.17Stsutsui	Know why (enable linear mode). Need S3 info.
391.5Ssoda
401.5Ssoda
411.27Stsutsui    o	repair DescStation support
421.11Ssoda	-   requires bounce buffer bus_dma for Tyne
431.17Stsutsui		XXX - too small bounce buffer size (128KB)
441.11Ssoda
451.15Ssoda    o	Olivetti M700 support
461.11Ssoda
471.19Stsutsui    o	NEC Express5800/230 R10000 PCI (NEC-J95) support
481.27Stsutsui	(needs info about interrupt, jazzio device address etc.)
491.11Ssoda
501.17Stsutsui    o	SNI RM200PCI/RM300/RM400/RM600 support
511.27Stsutsui	(Linux/MIPS seems to have some info)
521.11Ssoda
531.11Ssoda
541.17Stsutsui    o	parse ARC BIOS configuration information and use it
551.11Ssoda
561.17Stsutsui    o	fix kernel start address
571.11Ssoda
581.17Stsutsui    o	allocate PICA_TL_BASE dynamically
591.5Ssoda
601.15Ssoda    o	remove inb/outb
611.8Snisimura
621.15Ssoda    o	remove UADDR
631.9Ssoda
641.17Stsutsui    o	fix mem_clusters[] usage.
651.17Stsutsui
661.17Stsutsui    o	intrcnt[] name cleanup, use MI evcnt(9)
671.17Stsutsui
681.15Ssoda    o	redesign interrupt handler framework.
691.11Ssoda
701.23Stsutsui    o	it is better to always disable the MIPS3 internal timer interrupts
711.23Stsutsui	(i.e. MIPS_INT_MASK_5) if it is not needed for the system.
721.9Ssoda	those are the points which should be fixed:
731.9Ssoda	mips_idle: li t0, (MIPS_INT_MASK | MIPS_SR_INT_IE)
741.9Ssoda	machdep.c: curpcb->pcb_context[11] = MIPS_INT_MASK | MIPS_SR_INT_IE;
751.9Ssoda	spl0()
761.9Ssoda	splnone()
771.10Ssoda
781.17Stsutsui    o	XXX at least 2000/06/07 version is already quite unstable
791.17Stsutsui	on PICA and NEC Image RISCstation. (but almost OK on Magnum)
801.17Stsutsui	Userland commands dumps	core randomly.
811.17Stsutsui	This version is before _MIPS_PADDR_T_64BIT changes
821.17Stsutsui	and MIPS3_TLB_WIRED_UPAGES changes.	
831.1Sjonathan
841.17Stsutsui	"vm_page_zero_enable = FALSE" makes this problem disappeared.
851.17Stsutsui	(vm_page_zero_enable = FALSE by default on all archs w/ UBC, now)
861.11Ssoda
871.17Stsutsui	currently, page zero in the idle loop is also disabled on
881.17Stsutsui	untested platforms like DESKstation rPC44/Tyne and SNI for safety.
891.11Ssoda
901.17Stsutsui	    XXX what's the current status of uvm_pageidlezero()?
911.11Ssoda
921.4Ssoda
931.17Stsutsui    o	resolve "XXX"
941.5Ssoda
951.4Ssoda
961.17Stsutsui(following entries might be MI MIPS items)
971.11Ssoda
981.17Stsutsui    o	Move the RO and WIRED attribute from the pte to the pv table.
991.17Stsutsui	This saves four instructions in the tlb miss handler.
1001.15Ssoda
1011.11Ssoda    o	clean up ALEAF/NLEAF/NON_LEAF/NNON_LEAF in userland.
1021.1Sjonathan
1031.1SjonathanLots of other things.....
104