Commit Graph

45 Commits

Author SHA1 Message Date
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
5d99380431 Merge kolibri.h and syscalls.h, rename kolibri.h to umka.h. 2020-05-07 04:57:01 +03:00
64ce1ee214 umka_shell: Add sf74 commands. 2020-05-07 00:33:32 +03:00
e481975a89 Include ACPI related code, add PCI wrapper. 2020-05-02 02:40:06 +03:00
6179e7e614 New tests and images for coverage. Don't use sudo for mkfs. 2020-03-11 06:02:33 +03:00
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
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
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
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
593872ad06 Update LodePNG, add -Wswitch-enum option. 2020-02-20 00:59:16 +03:00
b2819b485b Save screenshots to PNG, make tests compare screenshots. 2020-02-19 03:56:58 +03:00
759b526b3d Start using POSIX getopt. 2020-02-18 05:30:16 +03:00
08ed3ff9ba Finally rename KOFU to UMKA -- User-Mode KolibriOS developer tools. 2020-02-17 05:43:33 +03:00
0d5b1b5433 Remove LWP stub. 2020-02-06 06:30:31 +03:00
bcc4a37ccc Fix for inline asm. 2020-02-06 06:26:14 +03:00
b23e29d6d1 Add wrappers to graphic syscalls. 2020-02-06 06:19:20 +03:00
750efc930a Move basic graphics to userspace! 2020-02-05 05:41:00 +03:00
07ca60a749 Implement line coverage collection and reporting! 2020-01-29 13:53:13 +03:00
83fb6bb99f Update README file. 2019-12-03 01:53:22 +03:00
98f8561ba1 Print total number of files in directory, add s4k test. 2019-11-11 05:20:06 +03:00
fa542ce8a1 Don't go into infinite loop on fs error, print file attributes as letters. 2019-11-07 02:51:55 +03:00
34cdc3ca09 Add ctime,atime,mtime printing. 2019-10-31 23:26:53 +03:00
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
68454dbe4d Make an order in test/ directory, write proper makefile. 2019-10-22 05:24:44 +03:00
c4a635322a Extend sector numbers to 64 bit, dump hash and bytes of read data. 2019-10-21 05:51:56 +03:00
cfdd6a2820 Implement disk_add, disk_del commands, fix tests. 2019-10-13 04:17:29 +03:00
1bb4c6f8d7 Collect coverage via LBR profiling. 2019-10-09 02:35:47 +03:00
6325dda0da Add read_all and read_range, update tests, fixes 2018-06-18 04:55:51 +03:00
428e646336 Use libc calloc instead of own malloc stub. 2018-05-18 10:09:05 +03:00
d02cbfd7ef Call kos_fuse_lfn, add tools/mkdirrange, cleanup. 2018-05-10 00:08:52 +03:00
9c7ebc5136 Use dyndisk KolibriOS code, add test prototypes. 2018-05-06 22:58:05 +03:00
f3946d5a7d Use disk.inc from kolibri. Compiles, doesn't work. 2018-05-04 21:19:17 +03:00
9513eebc59 Report time in getattr: add and use kos_time_to_epoch. 2018-04-24 19:51:48 +03:00
cf0bc9bef4 Include most *.inc files from $(KERNEL_TRUNK) directory. 2018-04-23 14:07:22 +03:00
8724153230 Implement kos_fuse_getattr. 2017-11-16 03:31:32 +03:00
c162146abb Use fuse3, rewrite no-fuse version in C. 2017-10-18 23:19:53 +03:00
54fe4859ee Working prototype. 2017-10-18 03:08:32 +03:00