XenevaOS
Loading...
Searching...
No Matches
auipc.h
Go to the documentation of this file.
1#ifndef __AUIPC_KERNEL_H__
2#define __AUIPC_KERNEL_H__
3
4#include <process.h>
5
7extern void AuIpcInitialize(void);
8
11extern void AuIpcProcessGone(AuProcess* proc);
12
13/* Kernel as a client. Non-blocking: begin queues the call, poll collects the answer,
14 * abandon drops interest (a late answer is discarded). Identity is whatever the
15 * kernel passes -- normally the credentials of the process on whose behalf it calls. */
16extern int AuIpcKCallBegin(const char* name, int pid, int uid, int gid, const void* req, uint32_t len, int32_t* call_id);
17extern int AuIpcKCallPoll(int32_t call_id, void* out, uint32_t cap, uint32_t* outlen, int32_t* server_status);
18extern void AuIpcKCallAbandon(int32_t call_id);
19
20#endif
void AuIpcProcessGone(AuProcess *proc)
AuIpcProcessGone – a process is being reaped: tear down its endpoints (failing every call waiting on ...
Definition auipc.c:106
int AuIpcKCallBegin(const char *name, int pid, int uid, int gid, const void *req, uint32_t len, int32_t *call_id)
Definition auipc.c:491
void AuIpcKCallAbandon(int32_t call_id)
Definition auipc.c:572
void AuIpcInitialize(void)
AuIpcInitialize – register /dev/ipc.
Definition auipc.c:471
int AuIpcKCallPoll(int32_t call_id, void *out, uint32_t cap, uint32_t *outlen, int32_t *server_status)
Definition auipc.c:547
#define out(...)
Definition main.cpp:65
int int32_t
Definition acefiex.h:160
unsigned int uint32_t
Definition acefiex.h:163
struct drm_crtc struct drm_plane struct drm_plane const struct drm_crtc_funcs const char * name
Definition drm_crtc.h:1242
size_t len
Definition initial.c:23
Definition process.h:126