Skip to content

Commit 40d807d

Browse files
committed
cleanup imports
1 parent 9962f9c commit 40d807d

File tree

2 files changed

+0
-92
lines changed

2 files changed

+0
-92
lines changed

source/imports.h

Lines changed: 0 additions & 39 deletions
This file was deleted.

source/loadfile.h

Lines changed: 0 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -2,59 +2,6 @@
22

33
#include <stdint.h>
44

5-
/* IPC message */
6-
typedef struct ipcmessage {
7-
uint32_t command;
8-
uint32_t result;
9-
uint32_t fd;
10-
uint32_t flags;
11-
uint32_t client_cpu;
12-
uint32_t client_pid;
13-
uint64_t client_gid;
14-
uint32_t server_handle;
15-
16-
union {
17-
uint32_t args[5];
18-
19-
struct {
20-
char *device;
21-
uint32_t mode;
22-
uint32_t resultfd;
23-
} open;
24-
25-
struct {
26-
void *data;
27-
uint32_t length;
28-
} read, write;
29-
30-
struct {
31-
uint32_t offset;
32-
uint32_t origin;
33-
} seek;
34-
35-
struct {
36-
uint32_t command;
37-
38-
uint32_t *buffer_in;
39-
uint32_t length_in;
40-
uint32_t *buffer_io;
41-
uint32_t length_io;
42-
} ioctl;
43-
struct _ioctlv {
44-
uint32_t command;
45-
46-
uint32_t num_in;
47-
uint32_t num_io;
48-
struct _ioctlv *vector;
49-
} ioctlv;
50-
};
51-
52-
uint32_t prev_command;
53-
uint32_t prev_fd;
54-
uint32_t virt0;
55-
uint32_t virt1;
56-
} __attribute__((packed)) ipcmessage;
57-
585
typedef struct {
596
unsigned char unk[0x10];
607

0 commit comments

Comments
 (0)