DragonOS/kernel/syscall/syscall_num.h

22 lines
366 B
C
Raw Normal View History

#pragma once
/**
*
* 1 printf
*
*
* 255 AHCI end_request
*
*/
#define SYS_NOT_EXISTS 0
2022-04-22 15:15:34 +00:00
#define SYS_PUT_STRING 1
2022-04-26 16:39:02 +00:00
#define SYS_OPEN 2
#define SYS_CLOSE 3
#define SYS_READ 4
2022-04-28 15:24:53 +00:00
#define SYS_WRITE 5
2022-05-03 07:40:23 +00:00
#define SYS_LSEEK 6
#define SYS_FORK 7
#define SYS_VFORK 8
2022-04-22 15:15:34 +00:00
#define SYS_AHCI_END_REQ 255 // AHCI DMA请求结束end_request的系统调用