TODO revision 1.8 1 /* $NetBSD: TODO,v 1.8 2015/01/05 11:42:19 palle Exp $ */
2
3 Things to be done:
4
5 common:
6 - make %g6 point to curcpu
7 - make %g7 point to curlwp
8 - change run-time checks for cpu type to function pointers
9
10 sun4u:
11
12 sun4v:
13 - 64-bit kernel support
14 - 32-bit kernel support
15 - libkvm
16 - ofwboot: tlb_init_sun4v() hardcodes number of slots to 64
17 - locore.s: sun4v_datatrap missing implementation for trap levels 0 and 1
18 - pmap.c: pmap_calculate_colors() should known about sun4v
19 - cpu.c: cpu_attach() does not emit cache info on sun4v
20 - check build without SUN4V defined
21 - replace relevant references til %ver with GET_MAXCWP
22 - pmap_mp_init(): sun4v missing handling
23 - replace constructs like "wrpr %g0, PSTATE_KERN, %pstate" with NORMAL_GLOBALS
24 - replace constructs line "wrpr %g0, PSTATE_INTR, %pstate" with ALTERNATE_GOBALS
25 - sun4v tsb no need to lock... per cpu... anyway...
26 - ci_tsb_desc->td_ctxidx: -1 or 1?
27