d0387f7d53
[umka_os] Introduce dedicated I/O thread
...
Not as nice as io_uring but portable.
2023-02-02 23:52:35 +00:00
12442c72a7
Get rid of getopt, use Optparse
...
Well, I thought I had done this before. P for portability.
2023-02-02 16:25:20 +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
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
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
436aa461b0
Use sgdisk to partition images
2023-01-09 02:07:42 +00:00
ef72da6b76
Make shell:disk_list_partitions() report PiB ad EiB
...
I.e. pebibytes and exbibytes. 1 zebibyte (ZiB) is 2^70 bytes which is
above 2^64 bytes, so ignore it so far.
Btw, 2^80 bytes is 1 yobibyte (YiB).
2023-01-09 02:07:07 +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
f291ffc03b
Make shell:disk_list_partitions() more verbose
...
Show disk sector size and capacity, partition's size and start sector.
2023-01-03 20:39:10 +00:00
3cef60408b
Use 64bit time_t, add XFS bigtime test, allow atime and mtime testing
2022-12-28 20:39:21 +00:00
715c181582
Wrap kos_osloop, add a test for resizing cursors
2022-06-28 20:13:41 +04:00
7f88bbf11c
Update copyright headers and years
2022-06-27 21:36:56 +04:00
f0f8cb8e37
Get rid of umka_ping hack! Use vnet_init
2022-06-27 16:41:29 +04:00
d82c5530ed
Wrap fs_execute, works for umka_os tool!
2022-06-25 02:41:23 +04:00
52c2167249
Get rid of ctx->fout, use stdout instead
2022-05-31 21:10:43 +04:00
5314ef2cae
Implement basic variables (to hide pointers from logs)
2022-05-31 17:43:41 +04:00
20b2013007
Compile in /init.inc
2022-05-30 21:47:49 +04:00
04833f514c
Add missing coverage macros
2022-05-30 13:04:04 +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
a0d3499d57
Add wrappers/tests for keyboard, mouse and cursors
2022-05-29 01:55:13 +04:00
d479f8a121
umka_os: Load very basic userspace KolibriOS app
2022-05-26 16:45:36 +04:00
d59c8d5f55
Add a basic exfat test.
2022-03-12 00:08:20 +04:00
3cf74d2664
Sync with KolibriOS trunk
...
Tested on r9710.
2022-02-09 22:19:54 +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
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
18c6f4922c
Add new shell commands: dump_win_map and set (variable).
2021-11-02 12:50:13 +03:00
ba8e7940b4
Fix wnd_number in 016_#f01_#draw_all.t
2021-07-17 05:15:14 +03:00
d04e71f6a5
Another check of returned value.
...
Also, add removed file.
2021-07-01 02:42:04 +03:00
d522e6c3e9
Align with kernel trunk.
2021-06-23 19:43:26 +03:00
e5d50667de
Add basic node counting logic, update tests.
2021-05-31 17:32:04 +03:00
f87fcd87dc
Wrap is_region_userspace with a macro, update logs.
2021-04-02 04:22:22 +03:00
46683929de
Get rid of init.inc.
...
Now it is possible because I split it to hpet and acpi files.
2020-10-21 18:58:52 +03:00
116ef5ca33
Add 'help' command, clean up formatting.
2020-10-17 05:13:18 +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
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
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
6d302f27fe
Finally use ramdisk code for /rd/.
...
E.g. in the test 016_#f01_#draw_all.t.
2020-09-18 15:26:51 +03:00
1611215442
Use -Wpedantic and flexible array members instead of zero-length arrays.
2020-09-17 19:44:57 +03:00
b3a27127b2
New shell command: acpi_call, new test: ACPI Debug object.
...
Also, clean up extern/public variables.
2020-09-17 05:06:22 +03:00
b3020947af
Add commands pci_{set,get}_path, add pci config files.
2020-05-20 17:54:58 +03:00
b22d2aacf3
Add commands shell_acpi_{set,get}_usage, update test logs.
2020-05-20 14:13:20 +03:00