/* $NetBSD: TODO,v 1.6 2014/07/27 17:46:43 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 - cpu_pmap_prepare: sun4v multi??? - replace constructs like "wrpr %g0, PSTATE_KERN, %pstate" with NORMAL_GLOBALS - replace constructs line "wrpr %g0, PSTATE_INTR, %pstate" with ALTERNATE_GOBALS