[zion] Move ipc syscalls to one file to prep refactor
This commit is contained in:
parent
c064af5fa7
commit
58df2c0ed2
12 changed files with 164 additions and 200 deletions
|
|
@ -6,13 +6,10 @@
|
|||
#include "scheduler/scheduler.h"
|
||||
#include "syscall/address_space.h"
|
||||
#include "syscall/capability.h"
|
||||
#include "syscall/channel.h"
|
||||
#include "syscall/debug.h"
|
||||
#include "syscall/endpoint.h"
|
||||
#include "syscall/ipc.h"
|
||||
#include "syscall/memory_object.h"
|
||||
#include "syscall/port.h"
|
||||
#include "syscall/process.h"
|
||||
#include "syscall/reply_port.h"
|
||||
#include "syscall/thread.h"
|
||||
|
||||
#define EFER 0xC0000080
|
||||
|
|
@ -65,21 +62,18 @@ extern "C" z_err_t SyscallHandler(uint64_t call_id, void* req) {
|
|||
CASE(MemoryObjectCreatePhysical);
|
||||
CASE(MemoryObjectCreateContiguous);
|
||||
CASE(TempPcieConfigObjectCreate);
|
||||
// syscall/channel.h
|
||||
// syscall/ipc.h
|
||||
CASE(ChannelCreate);
|
||||
CASE(ChannelSend);
|
||||
CASE(ChannelRecv);
|
||||
// syscall/port.h
|
||||
CASE(PortCreate);
|
||||
CASE(PortSend);
|
||||
CASE(PortRecv);
|
||||
CASE(PortPoll);
|
||||
CASE(IrqRegister);
|
||||
// syscall/endpoint.h
|
||||
CASE(EndpointCreate);
|
||||
CASE(EndpointSend);
|
||||
CASE(EndpointRecv);
|
||||
// syscall/reply_port.h
|
||||
CASE(ReplyPortSend);
|
||||
CASE(ReplyPortRecv);
|
||||
// syscall/capability.h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue