blob: bdd9972365d9d10e937766acb536a641bfc75e88 (
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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
#ifndef _JOVE_API_SYSCALL_H
#define _JOVE_API_SYSCALL_H 1
#include <stddef.h>
#include <stdint.h>
#include "obj.h"
struct syscall_header
{
uint16_t callid;
uint16_t pathlen;
objpath_part_t path[];
};
struct syscall_generic_write
{
size_t len;
char data[];
};
struct syscall_generic_objpath
{
uint16_t pathlen;
objpath_part_t path[];
};
#define SYSCALL_UNTYPED_SIZE 0
#define SYSCALL_UNTYPED_ALIGN 1
#define SYSCALL_UNTYPED_RETYPE 2
struct syscall_untyped_retype
{
uint16_t newtype;
};
#define SYSCALL_UNTYPED_SPLIT 3
#define SYSCALL_UNTYPED_MERGE 4
struct syscall_untyped_split
{
size_t bytes;
uint16_t dest_pathlen;
objpath_part_t dest_path[];
};
#define SYSCALL_OBJDIR_OBJTYPE 0
#define SYSCALL_VTT_WRITE 0
#endif
|