HelenOS sources

SCRATCHPAD_WBUF    61 kernel/arch/sparc64/src/proc/sun4v/scheduler.c 		asi_u64_write(ASI_SCRATCHPAD, SCRATCHPAD_WBUF,
SCRATCHPAD_WBUF    74 kernel/arch/sparc64/src/proc/sun4v/scheduler.c 		    (uint8_t *) asi_u64_read(ASI_SCRATCHPAD, SCRATCHPAD_WBUF);
HelenOS homepage, sources at GitHub