From a9c7529dcca845d98192ece62be70f752972216b Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 13 May 2020 21:28:56 +0200 Subject: Replaced alloc.h with liballoc And many more adaptions to the lib --- src/kernel/net/rtl8139.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/net/rtl8139.c') diff --git a/src/kernel/net/rtl8139.c b/src/kernel/net/rtl8139.c index fce2062..0c69025 100644 --- a/src/kernel/net/rtl8139.c +++ b/src/kernel/net/rtl8139.c @@ -73,7 +73,7 @@ int rtl8139_init(void) } // Set receive buffer - rtl_rx_buffer = (u8 *)kmalloc(8192 + 16); + rtl_rx_buffer = (u8 *)malloc(8192 + 16); outl((u16)(rtl_iobase + 0x30), (u32)rtl_rx_buffer); // Enable ISR -- cgit v1.2.3