arch/xtensa/lib/bswapsi2.S

Source file repositories/reference/linux-study-clean/arch/xtensa/lib/bswapsi2.S

File Facts

System
Linux kernel
Corpus path
arch/xtensa/lib/bswapsi2.S
Extension
.S
Size
322 bytes
Lines
18
Domain
Architecture Layer
Bucket
arch/xtensa
Inferred role
Architecture Layer: exported/initcall integration point
Status
integration implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

#include <linux/linkage.h>
#include <asm/asmmacro.h>
#include <asm/core.h>

ENTRY(__bswapsi2)

	abi_entry_default
	ssai	8
	srli	a3, a2, 16
	src	a3, a3, a2
	src	a3, a3, a3
	src	a2, a2, a3
	abi_ret_default

ENDPROC(__bswapsi2)
EXPORT_SYMBOL(__bswapsi2)

Annotation

Implementation Notes