No networking for now

This commit is contained in:
2025-11-02 18:31:51 +01:00
parent 0f93aa2a81
commit 9612e7961e
458 changed files with 8 additions and 235056 deletions

View File

@ -16,8 +16,6 @@
#define E_RESOURCEAVAIL -12
#define E_SPAWNERROR -13
#define E_NOTYET -14
#define E_NETSOCKLISTEN -15
#define E_NETSOCKBIND -16
#if !defined(__ASSEMBLER__)
@ -37,6 +35,7 @@ static const char *_ERROR_STRINGS[] = {
"Invalid operation",
"Resource already available",
"Process spawn error",
"Data isn't ready yet",
};
#define ERRSTRING_INDEX(ioh) ((size_t)((ioh) < 0 ? (ioh) * (-1) : (ioh)))

View File

@ -1,21 +0,0 @@
#ifndef SHARE_SYSDEFS_IPC_NETSOCK_H_
#define SHARE_SYSDEFS_IPC_NETSOCK_H_
// matches values of picotcp
#define NETSOCK_IPV4 0
#define NETSOCK_TCP 6
#define NETSOCKEV_CLOSE 8
#define NETSOCKEV_ERR 0x80
#define NETSOCKEV_READ 1
#define NETSOCKEV_WRITE 2
#define NETSOCKEV_FINI 0x10
#define NETSOCKEV_CONN 4
typedef int32_t netsock_t;
typedef int32_t netsockev_t;
#define IS_NETSOCKEV_READY(ev) ((ev) != E_NOTYET)
#endif // SHARE_SYSDEFS_IPC_NETSOCK_H_

View File

@ -36,10 +36,5 @@
#define SYS_DEV_STAT 35
#define SYS_DEV_CMD 36
#define SYS_TIME 38
#define SYS_IPC_NETSOCKMAKE 39
#define SYS_IPC_NETSOCKLISTEN 40
#define SYS_IPC_NETSOCKPOLLEV 41
#define SYS_IPC_NETSOCKDELETE 42
#define SYS_IPC_NETSOCKBINDPORT 43
#endif // SHARE_HDRS_SYSCALL_H_