mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 02:24:59 +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:
parent
47b096feb4
commit
35098cbde1
10 changed files with 90 additions and 11 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue