/* $NetBSD: TODO,v 1.7 2014/09/04 18:55:03 palle Exp $ */ Things to be done: common: - make %g6 point to curcpu - make %g7 point to curlwp sun4u: sun4v: - 64-bit kernel support - 32-bit kernel support - libkvm - ofwboot: tlb_init_sun4v() hardcodes number of slots to 64 - locore.s: sun4v_datatrap missing implementation for trap levels 0 and 1 - pmap.c: pmap_calculate_colors() should known about sun4v - cpu.c: cpu_attach() does not emit cache info on sun4v - check build without SUN4V defined - replace relevant references til %ver with GET_MAXCWP - pmap_mp_init(): sun4v missing handling - replace constructs like "wrpr %g0, PSTATE_KERN, %pstate" with NORMAL_GLOBALS - replace constructs line "wrpr %g0, PSTATE_INTR, %pstate" with ALTERNATE_GOBALS - sun4v tsb no need to lock... per cpu... anyway... - ci_tsb_desc->td_ctxidx: -1 or 1?