1 #ifndef _ROS_RING_SYSCALL_H
2 #define _ROS_RING_SYSCALL_H
4 #include <ros/common.h>
5 #include <ros/ring_buffer.h>
7 #define NUM_SYSCALL_ARGS 6
8 /* This will need to change to represent sending pointers to syscalls, not the
9 * syscalls themselves */
10 typedef struct syscall_req {
13 uint32_t args[NUM_SYSCALL_ARGS];
16 typedef struct syscall_rsp {
21 // Generic Syscall Ring Buffer
22 #define SYSCALLRINGSIZE PGSIZE
23 //DEFINE_RING_TYPES_WITH_SIZE(syscall, syscall_req_t, syscall_rsp_t,
25 DEFINE_RING_TYPES(syscall, syscall_req_t, syscall_rsp_t);