Commit Graph

14 Commits

Author SHA1 Message Date
783545bdf8 Create platform specific I/O module, prepare for io_uring 2023-01-16 04:54:34 +00:00
bbc42c6436 Implement qcow2 support, convert most images from raw
This allows exbibyte-sized images, compression and (potentially)
non-destructive writing.
2023-01-09 02:07:20 +00:00
464b92cda4 Change filename suffix of raw images from .img to .raw 2023-01-09 02:07:05 +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
7f88bbf11c Update copyright headers and years 2022-06-27 21:36:56 +04:00
mkostoevr
334866c209 Make it work on win32 2021-12-12 21:54:02 +03:00
2f8181504c Implement and export more acpi wrappers. 2021-11-03 17:28:03 +03:00
5d99380431 Merge kolibri.h and syscalls.h, rename kolibri.h to umka.h. 2020-05-07 04:57:01 +03:00
cea3923666 Allow per-vdisk cache adjusting settings.
Also, move vdisk_functions callback structure to vdisk.c.
2020-05-07 04:41:08 +03:00
6179e7e614 New tests and images for coverage. Don't use sudo for mkfs. 2020-03-11 06:02:33 +03:00
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
67f7873e27 Coverage collection speed up 4x!
Also, adjust disk cache size and
move set_eflags_tf() to trace_lbr.c.
2020-02-21 05:21:09 +03:00
e5ad82ffd5 Rewrite kos_disk_* procs in C, define more blk/fs related structures. 2020-02-21 02:18:40 +03:00
126802f61f Get rid of wrappers around cio_disk_*, call them directly.
Use __stdcall__ attribute for this and declare few disk and
media related structures.
2020-02-20 06:41:53 +03:00