Subversion Repositories HelenOS

Rev

Rev 3398 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3398 Rev 3479
Line 299... Line 299...
299
 
299
 
300
	/*
300
	/*
301
	 * Read MID from the processor.
301
	 * Read MID from the processor.
302
	 */
302
	 */
303
1:
303
1:
304
	ldxa [%g0] ASI_UPA_CONFIG, %g1
304
	ldxa [%g0] ASI_ICBUS_CONFIG, %g1
305
	srlx %g1, UPA_CONFIG_MID_SHIFT, %g1
305
	srlx %g1, ICBUS_CONFIG_MID_SHIFT, %g1
306
	and %g1, UPA_CONFIG_MID_MASK, %g1
306
	and %g1, ICBUS_CONFIG_MID_MASK, %g1
307
 
307
 
308
#ifdef CONFIG_SMP
308
#ifdef CONFIG_SMP
309
	/*
309
	/*
310
	 * Active loop for APs until the BSP picks them up. A processor cannot
310
	 * Active loop for APs until the BSP picks them up. A processor cannot
311
	 * leave the loop until the global variable 'waking_up_mid' equals its
311
	 * leave the loop until the global variable 'waking_up_mid' equals its