Commit Graph

25 Commits

Author SHA1 Message Date
e71791c0ab Implement vnet_null device
Such device don't need new threads and files but are valid ethernet
devices for the kernel. Convenient for testing.
2023-02-07 04:32:32 +00:00
ac55d2ddf2 Minor compilation fixes for Windows(R)(TM) 2023-02-05 08:06:14 +00:00
ff1db047ff Fix more compiler warnings (gcc and clang) 2023-02-04 21:15:27 +00:00
5b0cf9febc Get rid of poll(2), use a blocking thread for network
Finally, network doesn't load CPU on 100%. Ping is below 0.5ms.
2023-02-03 02:35:26 +00:00
d0387f7d53 [umka_os] Introduce dedicated I/O thread
Not as nice as io_uring but portable.
2023-02-02 23:52:35 +00:00
987095fdef Fix network, ping works again 2023-02-02 00:59:40 +00:00
be21f83af2 Split vnet driver to generic vnet part, tap and file interfaces
Fix most compilation issues of umka_shell on Windows(R)(TM), not all
of them.
2023-02-01 18:55:20 +00:00
e03ae18548 Support different framebuffer formats, add tests 2023-01-30 06:24:23 +00:00
76c7819882 Split I/O code to generic io* and platform specific io_async* 2023-01-18 08:32:17 +00:00
da8f029e5d Move static variables to context structures 2023-01-17 00:58:28 +00:00
74a593746e Pass a tool number to umka_init command
Implemented tools:
 + umka_shell
 + umka_fuse
 + umka_os
 + umka_gen_devices_dat
2023-01-16 05:49:24 +00:00
783545bdf8 Create platform specific I/O module, prepare for io_uring 2023-01-16 04:54:34 +00:00
7f88bbf11c Update copyright headers and years 2022-06-27 21:36:56 +04:00
d479f8a121 umka_os: Load very basic userspace KolibriOS app 2022-05-26 16:45:36 +04:00
3015516f22 Add ACPI and PCI test files 2021-12-12 21:54:53 +03:00
4a6495d786 Update logs. 2020-12-17 19:42:14 +03:00
e834b93108 Clean excessive inline asm, mention tap0 in README. 2020-10-14 20:56:28 +03:00
d2cbe2e9e0 Many fixes to scheduler and especially network. Ping via tap0 works!! 2020-10-14 06:30:01 +03:00
ae9c2198b6 Make umka_os use scheduler from KolibriOS kernel!
Also,
* Add more syscall wrappers;
* Replace puts(usage) with fputs(usage, fout);
* Remove some dead code.
2020-10-10 02:30:52 +03:00
3e5a6ca3ed Fix construction of the path to PCI config files.
Change %u to %x in sprintf format string ><.
2020-05-22 10:20:32 +03:00
b3020947af Add commands pci_{set,get}_path, add pci config files. 2020-05-20 17:54:58 +03:00
57fadae3dd Add background related functions; umka_os works. 2020-05-11 06:38:44 +03:00
90d1aaaccc Handle cli/sti in scheduler: fake i flag with id flag. 2020-05-09 06:41:32 +03:00
0d07b5810f Run net stack, jump to the osloop. Compiles, doesn't crash. 2020-05-09 05:15:57 +03:00
dad581883c Move thread logic to linux/thread.c, rewrite os and idle threads in asm. 2020-05-09 00:50:54 +03:00