From: Matthias Kruk Date: Mon, 25 Nov 2019 05:16:19 +0000 (+0900) Subject: Exclude networking code from compilation for now X-Git-Url: https://git.corax.cc/?a=commitdiff_plain;h=764e7b833bc6295066bebeffe6a5682a470b66d3;p=corax Exclude networking code from compilation for now --- diff --git a/kernel/arch/interrupt.c b/kernel/arch/interrupt.c index f109e70..728c4ce 100644 --- a/kernel/arch/interrupt.c +++ b/kernel/arch/interrupt.c @@ -158,6 +158,7 @@ void _sys_handle(stack_frame_t ctx) switch(ctx.intn) { case SYS_VECTOR_CORAX: dbg_printf("_corax_call(0x%x, 0x%x, 0x%x);\n", ctx.eax, ctx.ebx, ctx.ecx); + ret_val = -ENOSYS; break; case SYS_VECTOR_CXIPC: @@ -165,7 +166,8 @@ void _sys_handle(stack_frame_t ctx) break; case SYS_VECTOR_CXNET: - ret_val = sys_cxnet(ctx.eax, ctx.ebx, ctx.ecx, ctx.edx, ctx.esi, ctx.edi, ctx.ebp); +/* ret_val = sys_cxnet(ctx.eax, ctx.ebx, ctx.ecx, ctx.edx, ctx.esi, ctx.edi, ctx.ebp); */ + ret_val = -ENOSYS; break; #if FEATURE(POSIX) diff --git a/kernel/core/Makefile b/kernel/core/Makefile index ee28ac1..0421f3f 100644 --- a/kernel/core/Makefile +++ b/kernel/core/Makefile @@ -1,4 +1,4 @@ -OBJECTS = main.o process.o sched.o cxnet.o socket.o cxipc.o syscall.o posixcall.o net.o stdio.o +OBJECTS = main.o process.o sched.o cxipc.o syscall.o posixcall.o net.o stdio.o OUTPUT = core.o INCLUDES = -I../include -I../../include -I../.. CFLAGS += $(INCLUDES)