/*
 * Manipulation of processor information
 */
		
	.file	"cpu_info.s"
	.section .text
	.align	4

	.global _get_cpu_id
_get_cpu_id :
	l.jr	r9
	l.mfspr r11,r0,0xF800  /* R11 <- SPR[31][0] */

	.global _set_cpu_id
_set_cpu_id :
	l.jr	r9
	l.mtspr r0 ,r3,0xF800  /* SPR[31][0] <- r3  */

