calcite/include/kernel-public/syscall-numbers.h

36 lines
1.1 KiB
C

/* Calcite, include/kernel-public/syscall-numbers.h
* Copyright 2025 Benji Dial
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#pragma once
enum {
SYSCALL_END_THREAD,
SYSCALL_MAP_FRAMEBUFFER,
SYSCALL_OPEN_FILE,
SYSCALL_CLOSE_FILE,
SYSCALL_GET_FILE_SIZE,
SYSCALL_READ_FILE,
SYSCALL_WAIT_FOR_MOUSE_PACKET,
SYSCALL_MAP_PAGES,
SYSCALL_SLEEP_MS,
SYSCALL_START_ELF,
SYSCALL_IPC_CREATE_DGRAM_RECEIVER,
SYSCALL_IPC_CREATE_DGRAM_SENDER,
SYSCALL_IPC_RECEIVE_DGRAM,
SYSCALL_IPC_SEND_DGRAM,
SYSCALL_CREATE_THREAD
};