Commit Graph
100 Commits
Author SHA1 Message Date
dunkaist 357202412e Update test logs. 2020-12-28 06:52:07 +03:00
dunkaist b24dc386f8 Update logs. 2020-12-27 06:18:34 +03:00
dunkaist 4a6495d786 Update logs. 2020-12-17 19:42:14 +03:00
dunkaist afb184fa3f Add one more test config, update logs. 2020-12-09 17:15:54 +03:00
dunkaist f4921f9b9f Add one more Atom test config, update logs. 2020-11-19 04:21:15 +03:00
dunkaist ea43ef1662 Rename cast to convert (regarding the spec), add acpica test stub. 2020-10-22 20:09:43 +03:00
dunkaist f9db3877e5 Align SLOT_BASE and HEAP_BASE properly via umka.ld script. 2020-10-22 02:44:34 +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 d2cbe2e9e0 Many fixes to scheduler and especially network. Ping via tap0 works!! 2020-10-14 06:30:01 +03:00
dunkaist 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
dunkaist 477978175d Populate appdata_t structure, use _Static_assert's from C11. 2020-10-10 04:03:30 +03:00
dunkaist 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
dunkaist 811cc93c5c Add two new test acpi+pci configurations.
qemu -M pc, kolibrios.org server
2020-10-09 00:19:53 +03:00
dunkaist 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
dunkaist 01df7faab2 Ramdisk enabling, part one. 2020-09-18 06:00:32 +03:00
dunkaist 0cd2a759f2 Rearrange includes according to kernel32.inc.
Compile in posix/posix.inc and blkdev/rd.inc.
2020-09-18 05:31:10 +03:00
dunkaist 1f107b2f61 Use core/sync.inc and mutex.{init,lock,unlock} from KolibriOS. 2020-09-18 04:49:35 +03:00
dunkaist 62d8258cf2 Compile in core/{sched,irq,apic}.inc files. 2020-09-17 20:51:03 +03:00
dunkaist 1611215442 Use -Wpedantic and flexible array members instead of zero-length arrays. 2020-09-17 19:44:57 +03:00
dunkaist 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
dunkaist d1e15190f4 tests: add machine configuration 005 from hidnplayr 2020-06-16 01:46:04 +03:00
dunkaist 5619ff2682 Fix logs for sf9 window size changes: width+1, height+1. 2020-06-11 23:52:43 +03:00
dunkaist 6f3117b665 Use slab allocator. 2020-06-05 21:24:57 +03:00
dunkaist 3e5a6ca3ed Fix construction of the path to PCI config files.
Change %u to %x in sprintf format string ><.
2020-05-22 10:20:32 +03:00
dunkaist 75654b6dbc Enable test 029_#acpi_m003.t: qemu -M q35. 2020-05-21 11:57:55 +03:00
dunkaist 8816634e90 Sync test logs. 2020-05-21 00:03:43 +03:00
dunkaist aebe0c0e1f Enable test 028_#acpi_m002.t. 2020-05-20 23:06:23 +03:00
dunkaist 141ad32fac Sync logs with upstream. 2020-05-20 22:35:58 +03:00
dunkaist b3020947af Add commands pci_{set,get}_path, add pci config files. 2020-05-20 17:54:58 +03:00
dunkaist 6cc26c6f55 Sync logs with upstream. 2020-05-20 15:02:06 +03:00
dunkaist 70551882a9 Add stub for ACPI unit tests. 2020-05-20 14:17:31 +03:00
dunkaist b22d2aacf3 Add commands shell_acpi_{set,get}_usage, update test logs. 2020-05-20 14:13:20 +03:00
dunkaist d995632e71 Update test logs for upstream fix. 2020-05-19 18:20:46 +03:00
dunkaist 631271c94a Add script indent_begin_end.py to make logs more readable. 2020-05-19 14:21:47 +03:00
dunkaist 5dbe6cb8f2 Replace NODE.Integer64 with NODE.Integer. 2020-05-19 13:52:05 +03:00
dunkaist 6f998c0a3a Make ACPI logs reproducible and add ACPI reference logs. 2020-05-18 22:07:53 +03:00
dunkaist 9abb53b2cd Add ACPI and PCI test files from real HW. 2020-05-18 16:20:17 +03:00
dunkaist 4585cd3d62 Fix ARP wrappers and add ARP test stub: test/025. 2020-05-12 02:35:22 +03:00
dunkaist 38a4a20b36 Initialize TASKDATA.pid field, this fixes test 016.
Also, rename disabled tests from *.t to *.d.
2020-05-12 01:01:33 +03:00
dunkaist 57fadae3dd Add background related functions; umka_os works. 2020-05-11 06:38:44 +03:00
dunkaist 532f440ec9 Fix kernel stack size and TASK_COUNT usage. 2020-05-10 09:21:20 +03:00
dunkaist 10f97725c4 Move shell from umka_shell to separate module. 2020-05-10 07:21:49 +03:00
dunkaist 7f355dfed2 Call monitor thread from os thread. 2020-05-09 07:34:28 +03:00
dunkaist 90d1aaaccc Handle cli/sti in scheduler: fake i flag with id flag. 2020-05-09 06:41:32 +03:00
dunkaist 0d07b5810f Run net stack, jump to the osloop. Compiles, doesn't crash. 2020-05-09 05:15:57 +03:00
dunkaist dad581883c Move thread logic to linux/thread.c, rewrite os and idle threads in asm. 2020-05-09 00:50:54 +03:00
dunkaist 96d52454b7 Prototype of multitasking via sigsetjmp/siglongjmp. 2020-05-08 07:44:32 +03:00
dunkaist aac2122c2c Add wrappers of f76 ARP functions. 2020-05-07 20:48:17 +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 728172f401 More network subfunctions of sf75 and sf76. 2020-05-07 04:08:20 +03:00
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