Commit Graph

86 Commits

Author SHA1 Message Date
e2afb85d9f Move lodepng files to deps/lodepng dir 2023-02-14 14:29:54 +00:00
8883b1c5de [umka_os] Add a command console in a separate thread 2023-02-10 22:33:22 +00:00
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
6a479621e9 Fix network on windows 2023-02-06 14:21:05 +00:00
e1f01e0156 Fixes for Windows(R)(TM) 2023-02-05 10:09:40 +00:00
9d54898197 Use isocline instead of bestline for portability
Something more lightweight is definitely required.
2023-02-05 07:53:19 +00:00
297b58a4d5 Use em_inflate instead of miniz
Move dependencies to deps directory.
2023-02-04 23:42:57 +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
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
d16177c36d Implement common command buffer for the shell and os 2023-01-31 02:38:48 +00:00
e03ae18548 Support different framebuffer formats, add tests 2023-01-30 06:24:23 +00:00
b5a345ad5f Merge lfbview to umka_os 2023-01-28 02:57:08 +00:00
94ebe02739 Switch to the wall clock timer, communicate via shared memory 2023-01-21 07:49:13 +00:00
76c7819882 Split I/O code to generic io* and platform specific io_async* 2023-01-18 08:32:17 +00:00
783545bdf8 Create platform specific I/O module, prepare for io_uring 2023-01-16 04:54:34 +00:00
f1b6893e4d vdisk: use file descriptors instead of FILE*s
This should help with io_uring later.
2023-01-16 03:14:48 +00:00
99c50bd258 Make umka_os use a start up script, don't hardcode 2023-01-16 02:51:46 +00:00
887b904904 Split vdisk to vdisk_raw and vdisk_qcow2
vdisk_raw got existing functionality, no new features. Qcow2 support is
yet to be implemented. Miniz was imported with that in mind.
2023-01-09 02:06:52 +00:00
3cef60408b Use 64bit time_t, add XFS bigtime test, allow atime and mtime testing 2022-12-28 20:39:21 +00:00
395f75d1f7 Speed up coverage, not drastically 2022-06-28 17:10:21 +04:00
f0f8cb8e37 Get rid of umka_ping hack! Use vnet_init 2022-06-27 16:41:29 +04:00
219d72226a Use bestline library, update test logs 2022-05-30 02:08:15 +04:00
cfc0102d28 Use optparse library 2022-05-29 19:17:00 +04:00
d479f8a121 umka_os: Load very basic userspace KolibriOS app 2022-05-26 16:45:36 +04:00
3cf74d2664 Sync with KolibriOS trunk
Tested on r9710.
2022-02-09 22:19:54 +03:00
mkostoevr
86a684c92b Fix skin build on windows 2021-12-15 22:31:03 +03:00
mkostoevr
c6cc898f2e Fix INCLUDE set on windows 2021-12-15 22:15:14 +03:00
25979e4a5b Include unistd.h and increase fasm memory 2021-12-13 17:04:42 +03:00
5eb6770760 Improve build on Windows via llvm-mingw 2021-12-13 16:57:05 +03:00
74f78a60de Build with clang optionally 2021-12-13 01:07:42 +03:00
c963ccebd6 test: don't chown files on fat32 partition 2021-12-12 21:54:46 +03:00
mkostoevr
bc5091705b Update workflow
- Add test target to main makefile
- Update .gitignore
- Simplify test/makefile
2021-12-12 21:54:12 +03:00
mkostoevr
334866c209 Make it work on win32 2021-12-12 21:54:02 +03:00
42c1c55029 Add write_devices_dat shell command, 043_#acpi_m012.t test 2021-11-17 20:56:32 +03:00
2f8181504c Implement and export more acpi wrappers. 2021-11-03 17:28:03 +03:00
18c6f4922c Add new shell commands: dump_win_map and set (variable). 2021-11-02 12:50:13 +03:00
f87fcd87dc Wrap is_region_userspace with a macro, update logs. 2021-04-02 04:22:22 +03:00
357202412e Update test logs. 2020-12-28 06:52:07 +03:00
f9db3877e5 Align SLOT_BASE and HEAP_BASE properly via umka.ld script. 2020-10-22 02:44:34 +03:00
116ef5ca33 Add 'help' command, clean up formatting. 2020-10-17 05:13:18 +03:00
d2cbe2e9e0 Many fixes to scheduler and especially network. Ping via tap0 works!! 2020-10-14 06:30:01 +03:00
f7942d2eb3 New tool lfbviewx, new shell commands, fix bug in process_info(-1).
* lfbviewx: LFB viewer for X. Reads framebuffer of umka_os and displays
  the picture in X window.
* New shell commands: dump_appdata, dump_taskdata, mouse_move.
* Bug with process_info is because SLOT_BASE in umka_os is not aligned
  on 0x10000. Mitigated with a macro.
2020-10-12 06:02:02 +03:00
477978175d Populate appdata_t structure, use _Static_assert's from C11. 2020-10-10 04:03:30 +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
1611215442 Use -Wpedantic and flexible array members instead of zero-length arrays. 2020-09-17 19:44:57 +03:00
10f97725c4 Move shell from umka_shell to separate module. 2020-05-10 07:21:49 +03:00
0d07b5810f Run net stack, jump to the osloop. Compiles, doesn't crash. 2020-05-09 05:15:57 +03:00
96d52454b7 Prototype of multitasking via sigsetjmp/siglongjmp. 2020-05-08 07:44:32 +03:00