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