Implement vnet_null device

Such device don't need new threads and files but are valid ethernet
devices for the kernel. Convenient for testing.
This commit is contained in:
2023-02-06 16:01:37 +00:00
parent 6a479621e9
commit e71791c0ab
22 changed files with 194 additions and 71 deletions

View File

@@ -152,7 +152,7 @@ main (int argc, char *argv[]) {
strcpy(pci_path, PCI_BASE_DIR);
umka_init();
umka_init(UMKA_RUNNING_NEVER);
kos_acpi_aml_init();
ctx = kos_acpi_aml_new_thread();
kos_acpi_dev_size = MAX_PCI_DEVICES*16;