Changeset fd85ae5 in mainline for kernel/arch/sparc64/include/asm.h
- Timestamp:
- 2006-09-04T19:11:23Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fadd381
- Parents:
- cfa70add
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/include/asm.h
rcfa70add rfd85ae5 322 322 } 323 323 324 /** Switch to nucleus by setting TL to 1. */ 325 static inline void nucleus_enter(void) 326 { 327 __asm__ volatile ("wrpr %g0, 1, %tl\n"); 328 } 329 330 /** Switch from nucleus by setting TL to 0. */ 331 static inline void nucleus_leave(void) 332 { 333 __asm__ volatile ("wrpr %g0, %g0, %tl\n"); 334 } 335 324 336 extern void cpu_halt(void); 325 337 extern void cpu_sleep(void);
Note:
See TracChangeset
for help on using the changeset viewer.