27 Commits
Author SHA1 Message Date
dunkaist c93181e606 Implement tests for writing
Commands like mkdir, rm(dir), write, touch
2026-05-16 04:53:31 +01:00
dunkaist 0f5a74c123 Add more wrappers: dump_dlls, dump_services, dump_shmem, int3 2026-04-03 11:45:02 +01:00
dunkaist cbcb3e1ddb Initialize default boot vars from umka_init 2023-02-12 19:02:31 +00:00
dunkaist 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
dunkaist ff1db047ff Fix more compiler warnings (gcc and clang) 2023-02-04 21:15:27 +00:00
dunkaist 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
dunkaist d16177c36d Implement common command buffer for the shell and os 2023-01-31 02:38:48 +00:00
dunkaist e03ae18548 Support different framebuffer formats, add tests 2023-01-30 06:24:23 +00:00
dunkaist 76c7819882 Split I/O code to generic io* and platform specific io_async* 2023-01-18 08:32:17 +00:00
dunkaist da8f029e5d Move static variables to context structures 2023-01-17 00:58:28 +00:00
dunkaist 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
dunkaist 783545bdf8 Create platform specific I/O module, prepare for io_uring 2023-01-16 04:54:34 +00:00
dunkaist 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
dunkaist 7f88bbf11c Update copyright headers and years 2022-06-27 21:36:56 +04:00
dunkaist 2f8181504c Implement and export more acpi wrappers. 2021-11-03 17:28:03 +03:00
dunkaist 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
dunkaist 116ef5ca33 Add 'help' command, clean up formatting. 2020-10-17 05:13:18 +03:00
dunkaist e834b93108 Clean excessive inline asm, mention tap0 in README. 2020-10-14 20:56:28 +03:00
dunkaist 57fadae3dd Add background related functions; umka_os works. 2020-05-11 06:38:44 +03:00
dunkaist 5d99380431 Merge kolibri.h and syscalls.h, rename kolibri.h to umka.h. 2020-05-07 04:57:01 +03:00
dunkaist cea3923666 Allow per-vdisk cache adjusting settings.
Also, move vdisk_functions callback structure to vdisk.c.
2020-05-07 04:41:08 +03:00
dunkaist 2bd42fd701 umka_shell: add i40 command to call arbitrary sysfn. 2020-05-06 17:53:15 +03:00
dunkaist 59efa1080b umka_fuse: workaround when kolibri doesn't set the folder flag on dirs. 2020-05-05 18:48:29 +03:00
dunkaist 5822be9942 Disable disk cache in tests.
It is useless since host OS cache is used anyway. It also slows down
coverage collection because of many taken branches.

Specialized tests should be written to test disk cache specifically.
2020-03-08 01:27:37 +03:00
dunkaist e5ad82ffd5 Rewrite kos_disk_* procs in C, define more blk/fs related structures. 2020-02-21 02:18:40 +03:00
dunkaist f2c85a1f1a Rename kofu_* and kofuse_* functions to umka_*. 2020-02-19 04:08:03 +03:00
dunkaist 08ed3ff9ba Finally rename KOFU to UMKA -- User-Mode KolibriOS developer tools. 2020-02-17 05:43:33 +03:00
dunkaist b23e29d6d1 Add wrappers to graphic syscalls. 2020-02-06 06:19:20 +03:00
dunkaist 0ea4945923 Add tests for xfs v5 disk format. 2020-01-28 01:54:57 +03:00
dunkaist 4a242557b5 Support kernel syscall f80, add more tests for extended attributes and unicode. 2019-12-08 04:32:07 +03:00
dunkaist adc3e553f7 Rename kos_fuse_lfn to kos_lfn, remove kos_fuse_init prototype. 2019-10-22 06:12:35 +03:00
dunkaist c4a635322a Extend sector numbers to 64 bit, dump hash and bytes of read data. 2019-10-21 05:51:56 +03:00
dunkaist cfdd6a2820 Implement disk_add, disk_del commands, fix tests. 2019-10-13 04:17:29 +03:00
dunkaist 1bb4c6f8d7 Collect coverage via LBR profiling. 2019-10-09 02:35:47 +03:00
dunkaist 6325dda0da Add read_all and read_range, update tests, fixes 2018-06-18 04:55:51 +03:00
dunkaist 3d39097fb1 Pass sector size as argument, don't hardcode. 2018-05-18 19:48:50 +03:00
dunkaist 2c3cd9c7c1 Add ranged ls and f70status enum. 2018-05-14 10:54:05 +03:00
dunkaist d02cbfd7ef Call kos_fuse_lfn, add tools/mkdirrange, cleanup. 2018-05-10 00:08:52 +03:00
dunkaist 4cef110a03 Rename hello_* functions to kofuse_*. 2018-04-25 13:27:05 +03:00
dunkaist 9513eebc59 Report time in getattr: add and use kos_time_to_epoch. 2018-04-24 19:51:48 +03:00
dunkaist e4f0d7962b Check kos_fuse_init() return value, exit if it fails. 2018-04-23 14:42:32 +03:00
dunkaist 9fe2a63497 Implement kos_fuse_read. 2017-11-16 04:16:20 +03:00
dunkaist 8724153230 Implement kos_fuse_getattr. 2017-11-16 03:31:32 +03:00
dunkaist c162146abb Use fuse3, rewrite no-fuse version in C. 2017-10-18 23:19:53 +03:00
dunkaist 54fe4859ee Working prototype. 2017-10-18 03:08:32 +03:00