mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-05 10:42:51 +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
Notes:
sideshowbarker
2024-07-19 15:05:10 +09:00
Author: https://github.com/awesomekling
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