Subversion Repositories HelenOS

Rev

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

Rev 3343 Rev 3477
Line 356... Line 356...
356
static inline void nucleus_leave(void)
356
static inline void nucleus_leave(void)
357
{
357
{
358
    asm volatile ("wrpr %g0, %g0, %tl\n");
358
    asm volatile ("wrpr %g0, %g0, %tl\n");
359
}
359
}
360
 
360
 
361
/** Read UPA_CONFIG register.
361
/** Read UPA_CONFIG/FIREPLANE_CONFIG register.
362
 *
362
 *
-
 
363
 * @return
363
 * @return Value of the UPA_CONFIG register.
364
 *  Value of the UPA_CONFIG register in US,
-
 
365
 *  value of the FIREPLANE_CONFIG on US3.
364
 */
366
 */
365
static inline uint64_t upa_config_read(void)
367
static inline uint64_t upa_config_read(void)
366
{
368
{
367
    return asi_u64_read(ASI_UPA_CONFIG, 0);
369
    return asi_u64_read(ASI_UPA_CONFIG, 0);
368
}
370
}