FreeBSD/sys/mips/mips/machdep.c
/*
 * Initialize per cpu data structures, include curthread.
 */
Initialize per cpu data structures, include curthread.
Initialize per cpu data structures include curthread .
void
mips_pcpu0_init()
{
	pcpu_init(PCPU_ADDR(0), 0, sizeof(struct pcpu));
	PCPU_SET(curthread, &thread0);
}
void mips_pcpu0_init ( ) { pcpu_init ( PCPU_ADDR ( 0 ) , 0 , sizeof ( struct pcpu ) ) ; PCPU_SET ( curthread , & thread0 ) ; }
Initialize per cpu data structures, include curthread.
Initialize per cpu data structures include curthread .
/* Initialize pcpu info of cpu-zero */