summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/sys/syscall.h
blob: 13688976ed0c72c13d95670a2d0bfd9a381d508f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _JOVE_ARCH_SYS_SYSCALL_H
#define _JOVE_ARCH_SYS_SYSCALL_H 1

#include "sys/syscall.h"

int
_syscall_handle_serial(
        jove_owned_obj_t *pcb_obj,
        jove_owned_obj_t *objdir,
        jove_owned_obj_t *message_obj,
        jove_owned_obj_t *target_obj,
        struct syscall_header *header,
        size_t bytes_left,
        void *payload);
struct syscall_serial_write
{
    size_t len;
    char data[];
};

#define SYSCALL_SERIAL_COM_WRITE 0

#endif