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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user