Changes in kernel/arch/sparc64/include/asm.h [bcdc185:2ee907e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/include/asm.h
rbcdc185 r2ee907e 308 308 } 309 309 310 /** Check interrupts state.311 *312 * @return True if interrupts are disabled.313 *314 */315 static inline bool interrupts_disabled(void)316 {317 pstate_reg_t pstate;318 319 pstate.value = pstate_read();320 return !pstate.ie;321 }322 323 310 /** Return base address of current stack. 324 311 * … … 446 433 extern void asm_delay_loop(const uint32_t usec); 447 434 435 extern uint64_t read_from_ag_g6(void); 448 436 extern uint64_t read_from_ag_g7(void); 449 437 extern void write_to_ag_g6(uint64_t val);
Note:
See TracChangeset
for help on using the changeset viewer.