dunkaist
cbcb3e1ddb
Initialize default boot vars from umka_init
2023-02-12 19:02:31 +00:00
dunkaist
8883b1c5de
[umka_os] Add a command console in a separate thread
2023-02-10 22:33:22 +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
9d54898197
Use isocline instead of bestline for portability
...
Something more lightweight is definitely required.
2023-02-05 07:53:19 +00:00
dunkaist
297b58a4d5
Use em_inflate instead of miniz
...
Move dependencies to deps directory.
2023-02-04 23:42:57 +00:00
dunkaist
ff1db047ff
Fix more compiler warnings (gcc and clang)
2023-02-04 21:15:27 +00:00
dunkaist
d0387f7d53
[umka_os] Introduce dedicated I/O thread
...
Not as nice as io_uring but portable.
2023-02-02 23:52:35 +00:00
dunkaist
12442c72a7
Get rid of getopt, use Optparse
...
Well, I thought I had done this before. P for portability.
2023-02-02 16:25:20 +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
436aa461b0
Use sgdisk to partition images
2023-01-09 02:07:42 +00:00
dunkaist
eb243bf14f
Switch image generation from GNU Make to GNU Bash
...
Should have been done long time ago.
2023-01-09 02:07:20 +00:00
dunkaist
395f75d1f7
Speed up coverage, not drastically
2022-06-28 17:10:21 +04:00
dunkaist
7f88bbf11c
Update copyright headers and years
2022-06-27 21:36:56 +04:00
dunkaist
52c2167249
Get rid of ctx->fout, use stdout instead
2022-05-31 21:10:43 +04:00
dunkaist
5314ef2cae
Implement basic variables (to hide pointers from logs)
2022-05-31 17:43:41 +04:00
dunkaist
20b2013007
Compile in /init.inc
2022-05-30 21:47:49 +04:00
dunkaist
219d72226a
Use bestline library, update test logs
2022-05-30 02:08:15 +04:00
dunkaist
cfc0102d28
Use optparse library
2022-05-29 19:17:00 +04:00
dunkaist
c5dd1673af
Use freopen instead of fopen for test output
2022-02-09 22:45:17 +03:00
mkostoevr and dunkaist
334866c209
Make it work on win32
2021-12-12 21:54:02 +03:00
dunkaist
18c6f4922c
Add new shell commands: dump_win_map and set (variable).
2021-11-02 12:50:13 +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
10f97725c4
Move shell from umka_shell to separate module.
2020-05-10 07:21:49 +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
e481975a89
Include ACPI related code, add PCI wrapper.
2020-05-02 02:40:06 +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
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
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
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
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
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