]> git.corax.cc Git - corax/commitdiff
Exclude networking code from compilation for now
authorMatthias Kruk <m@m10k.eu>
Mon, 25 Nov 2019 05:16:19 +0000 (14:16 +0900)
committerMatthias Kruk <m@m10k.eu>
Mon, 25 Nov 2019 05:16:19 +0000 (14:16 +0900)
kernel/arch/interrupt.c
kernel/core/Makefile

index f109e709783d56fb6344c39b18d2ab93606f8d25..728c4ce7f2927b4c9785bfa7192fb7bb49383c74 100644 (file)
@@ -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)
index ee28ac1ec78bde21bcaf542d7c2e9794a039ed74..0421f3fa7bbf530ffc0d137953d63b1bb2d559a5 100644 (file)
@@ -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)