23 lines · 646 B · C
RawDownload
/* SPDX-License-Identifier: GPL-2.0 */ #if __alpha__register unsigned long sp asm("$30");#elif __arm__ || __aarch64__ || __csky__ || __m68k__ || __mips__ || __riscvregister unsigned long sp asm("sp");#elif __i386__register unsigned long sp asm("esp");#elif __loongarch64register unsigned long sp asm("$sp");#elif __ppc__register unsigned long sp asm("r1");#elif __s390x__register unsigned long sp asm("%15");#elif __sh__register unsigned long sp asm("r15");#elif __x86_64__register unsigned long sp asm("rsp");#elif __XTENSA__register unsigned long sp asm("a1");#else#error "implement current_stack_pointer equivalent"#endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t