mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
Kernel: Add a NetworkTask and a received network packet queue.
It will be easier to deal with incoming packets in a separate task.
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include "DevPtsFS.h"
|
||||
#include "BXVGADevice.h"
|
||||
#include "E1000NetworkAdapter.h"
|
||||
#include <Kernel/NetworkTask.h>
|
||||
|
||||
#define SPAWN_LAUNCHER
|
||||
//#define SPAWN_GUITEST2
|
||||
@@ -186,6 +187,7 @@ VFS* vfs;
|
||||
Scheduler::yield();
|
||||
}
|
||||
});
|
||||
Process::create_kernel_process("NetworkTask", NetworkTask_main);
|
||||
|
||||
Scheduler::pick_next();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user