:github_url: https://github.com/nyx-org/gaia .. _program_listing_file_kernel_syscalls.hpp: Program Listing for File syscalls.hpp ===================================== |exhale_lsh| :ref:`Return to documentation for file ` (``kernel/syscalls.hpp``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp /* SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include "amd64/idt.hpp" #include #include namespace Gaia { struct SyscallParams { uint64_t param1, param2, param3, param4, param5, param6, origin; Hal::InterruptFrame *frame; }; uint64_t syscall(int num, SyscallParams params); } // namespace Gaia