550W Document
550W, a high-end OS
syscall.h
浏览该文件的文档.
1
#pragma once
2
3
#include <
asm/context.h
>
4
#include <
uapi/syscall_number.h
>
5
6
/* syscall function pointer */
7
extern
long (*
syscall
[
NUM_SYSCALLS
])();
8
void
handle_syscall_exc
(
regs_context_t
*regs, uint64_t interrupt, uint64_t cause, uint64_t cpuid);
handle_syscall_exc
void handle_syscall_exc(regs_context_t *regs, uint64_t interrupt, uint64_t cause, uint64_t cpuid)
Definition:
syscall.c:7
syscall
long(* syscall[NUM_SYSCALLS])()
Definition:
syscall.c:5
context.h
regs_context
Definition:
context.h:8
syscall_number.h
NUM_SYSCALLS
#define NUM_SYSCALLS
Definition:
syscall_number.h:4
src
arch
riscv
include
asm
syscall.h
制作者
1.9.1