TODO revision 1.10
11.10Spalle /* $NetBSD: TODO,v 1.10 2015/02/11 04:47:11 palle Exp $ */
21.1Spalle
31.1SpalleThings to be done:
41.1Spalle
51.5Spallecommon:
61.5Spalle- make %g6 point to curcpu
71.5Spalle- make %g7 point to curlwp
81.8Spalle- change run-time checks for cpu type to function pointers
91.5Spalle
101.1Spallesun4u:
111.10Spalle- GENERIC.UP kernel hangs on v445 (missing interrupt?)
121.1Spalle
131.1Spallesun4v:
141.1Spalle- 64-bit kernel support
151.1Spalle- 32-bit kernel support
161.2Spalle- libkvm
171.2Spalle- ofwboot: tlb_init_sun4v() hardcodes number of slots to 64
181.3Spalle- locore.s: sun4v_datatrap missing implementation for trap levels 0 and 1
191.3Spalle- pmap.c: pmap_calculate_colors() should known about sun4v
201.5Spalle- check build without SUN4V defined
211.5Spalle- replace relevant references til %ver with GET_MAXCWP
221.6Spalle- pmap_mp_init(): sun4v missing handling
231.6Spalle- replace constructs like "wrpr %g0, PSTATE_KERN, %pstate" with NORMAL_GLOBALS
241.6Spalle- replace constructs line "wrpr %g0, PSTATE_INTR, %pstate" with ALTERNATE_GOBALS
251.7Spalle- sun4v tsb no need to lock... per cpu... anyway...
261.7Spalle- ci_tsb_desc->td_ctxidx: -1 or 1?
27