arch/sh/include/asm/syscalls.h

Source file repositories/reference/linux-study-clean/arch/sh/include/asm/syscalls.h

File Facts

System
Linux kernel
Corpus path
arch/sh/include/asm/syscalls.h
Extension
.h
Size
532 bytes
Lines
16
Domain
Architecture Layer
Bucket
arch/sh
Inferred role
Architecture Layer: syscall or user/kernel boundary
Status
core 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_SH_SYSCALLS_H
#define __ASM_SH_SYSCALLS_H

asmlinkage int old_mmap(unsigned long addr, unsigned long len,
			unsigned long prot, unsigned long flags,
			int fd, unsigned long off);
asmlinkage long sys_mmap2(unsigned long addr, unsigned long len,
			  unsigned long prot, unsigned long flags,
			  unsigned long fd, unsigned long pgoff);
asmlinkage int sys_cacheflush(unsigned long addr, unsigned long len, int op);

#include <asm/syscalls_32.h>

#endif /* __ASM_SH_SYSCALLS_H */

Annotation

Implementation Notes