feat: e100e Ethernet driver, ramdisk reorganization, shell rewrite, web server/client, and more

This commit is contained in:
2026-02-19 01:18:11 +01:00
parent 1a5d943649
commit d355d376f9
63 changed files with 5368 additions and 614 deletions
+6 -1
View File
@@ -11,6 +11,7 @@
#include <Terminal/Terminal.hpp>
#include <CppLib/Stream.hpp>
#include <Sched/Scheduler.hpp>
#include <Drivers/Net/E1000E.hpp>
using namespace Kt;
@@ -37,10 +38,14 @@ namespace Timekeeping {
static bool g_schedEnabled = false;
// Timer IRQ handler: increment tick count and drive scheduler
// Timer IRQ handler: increment tick count, poll NIC, and drive scheduler
static void TimerHandler(uint8_t) {
g_tickCount = g_tickCount + 1;
// In polling mode, drain the NIC's RX ring from timer context
// (equivalent to a real NIC IRQ handler, runs with interrupts disabled)
Drivers::Net::E1000E::Poll();
if (g_schedEnabled) {
Sched::Tick();
}