feat: Eliminate all stubs; implement real RTL8139 physical DMA ping, dmesg ring buffer, live scheduler thread list, and physical RAM stats

This commit is contained in:
RarDog
2026-09-02 20:24:02 +03:00
parent aa32cffd15
commit c98c8de9d4
13 changed files with 510 additions and 141 deletions
+5 -2
View File
@@ -9,8 +9,11 @@ extern "C" {
typedef struct {
uint16_t io_base;
uint8_t mac[6];
uint8_t rx_buffer[8192 + 16 + 1500] __attribute__((aligned(4)));
uint8_t tx_buffers[4][1536] __attribute__((aligned(4)));
uint8_t *rx_virt;
uint64_t rx_phys;
uint8_t *tx_virt[4];
uint64_t tx_phys[4];
uint16_t rx_offset;
uint8_t tx_cur;
int is_initialized;
uint64_t rx_packets;