Changes in kernel/arch/sparc64/include/asm.h [2ee907e:bcdc185] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/include/asm.h
r2ee907e rbcdc185 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 310 323 /** Return base address of current stack. 311 324 * … … 433 446 extern void asm_delay_loop(const uint32_t usec); 434 447 435 extern uint64_t read_from_ag_g6(void);436 448 extern uint64_t read_from_ag_g7(void); 437 449 extern void write_to_ag_g6(uint64_t val);
Note:
See TracChangeset
for help on using the changeset viewer.