dunkaist
64ce1ee214
umka_shell: Add sf74 commands.
2020-05-07 00:33:32 +03:00
dunkaist
2bd42fd701
umka_shell: add i40 command to call arbitrary sysfn.
2020-05-06 17:53:15 +03:00
dunkaist
00fc0da12d
Fix typo in README: kofu -> umka_shell.
2020-05-05 18:55:49 +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
e8048655e2
Add local acpi/acpi.inc stub to compile with KolibriOS trunk.
2020-05-05 17:06:37 +03:00
dunkaist
e481975a89
Include ACPI related code, add PCI wrapper.
2020-05-02 02:40:06 +03:00
dunkaist
26fd52621d
Improve branch coverage for error-free cases.
...
Errors are mostly uncovered.
2020-03-12 00:51:48 +03:00
dunkaist
6179e7e614
New tests and images for coverage. Don't use sudo for mkfs.
2020-03-11 06:02:33 +03:00
dunkaist
7d3dea91c0
Introduce COVERAGE_ON/OFF macros, rename shell functions to shell_*.
...
Coverage collection slowdown is ~75x now.
2020-03-10 00:03:57 +03:00
dunkaist
70fc19fc5e
Fix tests for reading past EOF.
2020-03-09 17:35:00 +03:00
dunkaist
4b8b418f94
Add test of reading of >4GiB file.
...
dd if=/path/to/file status=none bs=1 skip=$((0xblah)) count=$((0xblah)) | rhash --sha3-256 --simple -
2020-03-08 22:53:11 +03:00
dunkaist
f39db79da3
Coverage and testing harness improvements.
...
Use -c key for umka_shell to trace branches, no recompilation needed.
Create >4GiB file for tests.
Create empty kolibri.img and put built default.skn there.
2020-03-08 20:58:45 +03:00
dunkaist
fcba0e2fa3
Use TASKSET variable of GNU make to set CPU affinity.
...
Don't use Linux-specific sched_setaffinity from <sched.h>.
On Linux it calls taskset(1) from util-linux.
Add your logic to the makefile if you run other platform.
2020-03-08 01:44:13 +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
349800ca54
Update unicode fs test, increase read buffer, clean macros.
2020-02-29 04:48:37 +03:00
dunkaist
f10976c16a
Fix for getopt, include unicode.inc from the kernel.
2020-02-28 05:18:09 +03:00
dunkaist
13c5b4ac7a
Clean some ugly macros.
2020-02-28 00:22:44 +03:00
dunkaist
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
dunkaist
2a4cfff503
Don't use libc malloc/free from assembler code.
2020-02-21 02:23:12 +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
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
dunkaist
593872ad06
Update LodePNG, add -Wswitch-enum option.
2020-02-20 00:59:16 +03:00
dunkaist
63e6497f62
Replace cwd asm procs with inline __asm__ ones.
2020-02-19 05:47:17 +03:00
dunkaist
f2c85a1f1a
Rename kofu_* and kofuse_* functions to umka_*.
2020-02-19 04:08:03 +03:00
dunkaist
b2819b485b
Save screenshots to PNG, make tests compare screenshots.
2020-02-19 03:56:58 +03:00
dunkaist
759b526b3d
Start using POSIX getopt.
2020-02-18 05:30:16 +03:00
dunkaist
08ed3ff9ba
Finally rename KOFU to UMKA -- User-Mode KolibriOS developer tools.
2020-02-17 05:43:33 +03:00
dunkaist
62aa437193
Add macros to compile without patches to kernel.asm!
2020-02-17 04:52:44 +03:00
dunkaist
c51ea6fb59
Dirty hacks to include kernel.asm, success!
2020-02-10 08:09:17 +03:00
dunkaist
a83c4154f5
More wrappers, move uninitialized data to .bss section.
2020-02-09 04:48:16 +03:00
dunkaist
3175553eb7
Wrap set_skin, unpacker works now.
2020-02-08 21:48:12 +03:00
dunkaist
6cd18d6be7
Use malloc, free, kernel_alloc, kernel_free from kolibri.
2020-02-08 18:14:12 +03:00
dunkaist
18edc67a10
Wrap sf9: process info.
2020-02-08 06:13:04 +03:00
dunkaist
4cf0d46fe6
More graphic and window functions and wrappers.
2020-02-07 05:26:27 +03:00
dunkaist
0d5b1b5433
Remove LWP stub.
2020-02-06 06:30:31 +03:00
dunkaist
bcc4a37ccc
Fix for inline asm.
2020-02-06 06:26:14 +03:00
dunkaist
b23e29d6d1
Add wrappers to graphic syscalls.
2020-02-06 06:19:20 +03:00
dunkaist
750efc930a
Move basic graphics to userspace!
2020-02-05 05:41:00 +03:00
dunkaist
6ad7e5d909
Calculate branch coverage!
2020-01-30 04:01:36 +03:00
dunkaist
07ca60a749
Implement line coverage collection and reporting!
2020-01-29 13:53:13 +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
83fb6bb99f
Update README file.
2019-12-03 01:53:22 +03:00
dunkaist
a7df448839
Use tags for tests, remove duplicate test.
2019-11-12 04:22:19 +03:00
dunkaist
98f8561ba1
Print total number of files in directory, add s4k test.
2019-11-11 05:20:06 +03:00
dunkaist
017bca9dee
Dir lookup test.
2019-11-09 01:37:01 +03:00
dunkaist
f4bdf82811
Get rid of losetup, fix s05k_b2k_n8k tests, set name length for mkdirrange.
2019-11-08 05:22:07 +03:00
dunkaist
fa542ce8a1
Don't go into infinite loop on fs error, print file attributes as letters.
2019-11-07 02:51:55 +03:00
dunkaist
34cdc3ca09
Add ctime,atime,mtime printing.
2019-10-31 23:26:53 +03:00
dunkaist
45875d3d9e
Move run_test to separate function, update tests.
...
Now it's a bit closer to multithreading.
2019-10-31 00:54:12 +03:00
dunkaist
d946de1c81
Add test for file holes, allow comments in logs.
2019-10-28 06:10:38 +03:00
dunkaist
e65cfc02d8
Fix reading at the end of file, update tests, add TODO.
2019-10-27 03:54:38 +03:00
dunkaist
3444c6bc2e
New commands: cd and pwd. Display cwd in prompt. More tests.
2019-10-25 04:48:13 +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
68454dbe4d
Make an order in test/ directory, write proper makefile.
2019-10-22 05:24:44 +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
f3f0024d22
Use free from libc, fix ls_range
2018-06-13 04:29:17 +03:00
dunkaist
bd2e078d13
Add tests, generate hdd images on the fly.
2018-05-19 18:50:15 +03:00
dunkaist
326e6fa663
Add macro trick to use libc malloc instead of calloc.
2018-05-18 20:16:00 +03:00
dunkaist
3d39097fb1
Pass sector size as argument, don't hardcode.
2018-05-18 19:48:50 +03:00
dunkaist
428e646336
Use libc calloc instead of own malloc stub.
2018-05-18 10:09:05 +03:00
dunkaist
8875002b32
Debug output fix for llseek syscall.
2018-05-17 11:20:54 +03:00
dunkaist
cff6d94c58
Use llseek syscall instead of lseek.
2018-05-15 09:54:22 +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
cdcb61a47f
Implement read command, add test/t_read.
2018-05-07 18:31:42 +03:00
dunkaist
9c7ebc5136
Use dyndisk KolibriOS code, add test prototypes.
2018-05-06 22:58:05 +03:00
dunkaist
f3946d5a7d
Use disk.inc from kolibri. Compiles, doesn't work.
2018-05-04 21:19:17 +03:00
dunkaist
d480fffdb0
Properly handle piped input, report command number in prompt.
2018-04-26 16:07:34 +03:00
dunkaist
a0164fd3ec
Change if-else chain to function table.
2018-04-26 12:17:55 +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
48a782e407
Fix return value of kos_fuse_init.
2018-04-24 15:51:37 +03:00
dunkaist
e4f0d7962b
Check kos_fuse_init() return value, exit if it fails.
2018-04-23 14:42:32 +03:00
dunkaist
cf0bc9bef4
Include most *.inc files from $(KERNEL_TRUNK) directory.
2018-04-23 14:07:22 +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
9c815e82ab
Remove xfs.asm and xfs.inc files.
...
Filesystem code can be taken unchanged from KolibriOS repository.
2017-10-18 23:57:22 +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
dunkaist
397aba3a06
Initial commit.
2017-10-18 03:07:52 +03:00