arch/nios2/include/asm/string.h

Source file repositories/reference/linux-study-clean/arch/nios2/include/asm/string.h

File Facts

System
Linux kernel
Corpus path
arch/nios2/include/asm/string.h
Extension
.h
Size
618 bytes
Lines
25
Domain
Architecture Layer
Bucket
arch/nios2
Inferred role
Architecture Layer: implementation source
Status
source 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

#ifndef _ASM_NIOS2_STRING_H
#define _ASM_NIOS2_STRING_H

#ifdef __KERNEL__

#define __HAVE_ARCH_MEMSET
#define __HAVE_ARCH_MEMCPY
#define __HAVE_ARCH_MEMMOVE

extern void *memset(void *s, int c, size_t count);
extern void *memcpy(void *d, const void *s, size_t count);
extern void *memmove(void *d, const void *s, size_t count);

#endif /* __KERNEL__ */

#endif /* _ASM_NIOS2_STRING_H */

Annotation

Implementation Notes