Changeset bea6233 in mainline for kernel/arch/sparc64/include/arch/asm.h
- Timestamp:
- 2023-02-26T15:27:13Z (13 months ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7cf5ddb
- Parents:
- deed510
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2023-02-26 15:18:02)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2023-02-26 15:27:13)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/include/arch/asm.h
rdeed510 rbea6233 539 539 extern void switch_to_userspace(uint64_t pc, uint64_t sp, uint64_t uarg); 540 540 541 /** Enables interrupts and blocks until an interrupt arrives, 542 * atomically if possible on target architecture. 543 * Disables interrupts again before returning to caller. 544 */ 545 _NO_TRACE static inline void cpu_interruptible_sleep(void) 546 { 547 // FIXME: do this atomically 548 interrupts_enable(); 549 cpu_sleep(); 550 interrupts_disable(); 551 } 552 541 553 #endif 542 554
Note:
See TracChangeset
for help on using the changeset viewer.