TODO revision 1.8
11.8Spalle /* $NetBSD: TODO,v 1.8 2015/01/05 11:42:19 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.1Spalle
121.1Spallesun4v:
131.1Spalle- 64-bit kernel support
141.1Spalle- 32-bit kernel support
151.2Spalle- libkvm
161.2Spalle- ofwboot: tlb_init_sun4v() hardcodes number of slots to 64
171.3Spalle- locore.s: sun4v_datatrap missing implementation for trap levels 0 and 1
181.3Spalle- pmap.c: pmap_calculate_colors() should known about sun4v
191.4Spalle- cpu.c: cpu_attach() does not emit cache info on 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