From 5026f823fa2708404302aa59d03401635a435c0b Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Fri, 27 Oct 2023 00:48:21 +0200 Subject: Kernel/Networking/LibC: Add syscalls and libc functions for UDP This allows a UDP server to be created in userland and read data. Currently it can't send data and is very very simplistic. Code is horrible and probably needs some fixing until it can be further built upon. --- drivers/rtl8139.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'drivers/rtl8139.c') diff --git a/drivers/rtl8139.c b/drivers/rtl8139.c index 0c1606b..02a5159 100644 --- a/drivers/rtl8139.c +++ b/drivers/rtl8139.c @@ -178,7 +178,4 @@ void rtl8139_init(void) { // I have no fucking clue why that happens and it was a pain to debug. for (int i = 0; i < 4; i++) send_buffers[i] = ksbrk(0x1000); - asm("sti"); - for (;;) - asm("sti"); } -- cgit v1.2.3