dunkaist
436aa461b0
Use sgdisk to partition images
2023-01-09 02:07:42 +00:00
dunkaist
d80c240abd
Update {gen,mk}samehash tools for xfs, add new fat* and ext* tests
2023-01-09 02:07:28 +00:00
dunkaist
4a6f3e3039
Add mksamehash utility to make same-hash directories
...
Yes, first you generate names with gensamehash (very slow) and then
make many directories with mksamehash (relatively fast).
2023-01-09 02:07:20 +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
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
dunkaist
ef72da6b76
Make shell:disk_list_partitions() report PiB ad EiB
...
I.e. pebibytes and exbibytes. 1 zebibyte (ZiB) is 2^70 bytes which is
above 2^64 bytes, so ignore it so far.
Btw, 2^80 bytes is 1 yobibyte (YiB).
2023-01-09 02:07:07 +00:00
dunkaist
464b92cda4
Change filename suffix of raw images from .img to .raw
2023-01-09 02:07:05 +00:00
dunkaist
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
dunkaist
e76dea6bf1
Remove some boilerplate and hardcode, add lookup tests
2023-01-09 02:06:46 +00:00
dunkaist
f291ffc03b
Make shell:disk_list_partitions() more verbose
...
Show disk sector size and capacity, partition's size and start sector.
2023-01-03 20:39:10 +00:00
dunkaist
b0be99a9e9
Make all the test hdd images use MBR instead of GPT
...
Well, it's just easier to generate MBR because GPT requires a few
sectors at the very end of a disk. A separate test for GPT should be
written: with tens of partitions and so on.
2023-01-02 02:26:56 +00:00
dunkaist
fecf7be637
Add two tools: mkdoubledirs and gensamehash
...
mkdoubledirs creates pairs of directories a/a, b/b, c/c etc. This is to
test file lookup code: there must be a directory named blah only if the
current directory is named blah too.
gensamehash generates file names with the same XFS hash to test the
code that resolves collisions. In principle, can be updated for other
hashes: ext*, exfat, etc.
2023-01-02 01:50:02 +00:00
dunkaist
cb8c3274af
Add XFS nrext64 image and test
2022-12-29 03:45:36 +00:00
dunkaist
3cef60408b
Use 64bit time_t, add XFS bigtime test, allow atime and mtime testing
2022-12-28 20:39:21 +00:00
dunkaist
715c181582
Wrap kos_osloop, add a test for resizing cursors
2022-06-28 20:13:41 +04:00
dunkaist
395f75d1f7
Speed up coverage, not drastically
2022-06-28 17:10:21 +04:00
dunkaist
bf1af355fe
Sync LodePNG with upstream
2022-06-28 12:25:04 +04:00
dunkaist
155df83d73
Clean up vnet, update README
2022-06-28 12:23:14 +04:00
dunkaist
7f88bbf11c
Update copyright headers and years
2022-06-27 21:36:56 +04:00
dunkaist
f0f8cb8e37
Get rid of umka_ping hack! Use vnet_init
2022-06-27 16:41:29 +04:00
dunkaist
ac151ef588
[umka_os/linux] Simulate hw interrupts via signals
2022-06-26 23:57:02 +04:00
dunkaist
566de74194
Configure tap via C code. No shell commands needed
2022-06-26 12:44:16 +04:00
dunkaist
d82c5530ed
Wrap fs_execute, works for umka_os tool!
2022-06-25 02:41:23 +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
04833f514c
Add missing coverage macros
2022-05-30 13:04:04 +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
a0d3499d57
Add wrappers/tests for keyboard, mouse and cursors
2022-05-29 01:55:13 +04:00
dunkaist
d479f8a121
umka_os: Load very basic userspace KolibriOS app
2022-05-26 16:45:36 +04:00
dunkaist
ce6ad3efa6
Add one more exfat test
2022-04-26 16:21:41 +04:00
dunkaist
52f3acaebc
Add exfat test.
2022-04-23 22:34:24 +04:00
dunkaist
985f10fb88
Add tup build stub.
2022-03-12 00:20:40 +04:00
dunkaist
d59c8d5f55
Add a basic exfat test.
2022-03-12 00:08:20 +04:00
dunkaist
c5dd1673af
Use freopen instead of fopen for test output
2022-02-09 22:45:17 +03:00
dunkaist
3cf74d2664
Sync with KolibriOS trunk
...
Tested on r9710.
2022-02-09 22:19:54 +03:00
dunkaist
25979e4a5b
Include unistd.h and increase fasm memory
2021-12-13 17:04:42 +03:00
dunkaist
5eb6770760
Improve build on Windows via llvm-mingw
2021-12-13 16:57:05 +03:00
dunkaist
74f78a60de
Build with clang optionally
2021-12-13 01:07:42 +03:00
dunkaist
3015516f22
Add ACPI and PCI test files
2021-12-12 21:54:53 +03:00
dunkaist
c963ccebd6
test: don't chown files on fat32 partition
2021-12-12 21:54:46 +03:00
dunkaist
b5bd088e09
Clean branch main from acpi stuff, move it to branch acpi
2021-12-01 22:17:02 +03:00
dunkaist
129e6d4fe7
Update logs.
2021-11-17 20:56:40 +03:00
dunkaist
42c1c55029
Add write_devices_dat shell command, 043_#acpi_m012.t test
2021-11-17 20:56:32 +03:00
dunkaist
3d50050c6b
Update logs.
2021-11-16 19:40:06 +03:00
dunkaist
74157df1cf
Add umka_gen_devices_dat tool.
2021-11-04 05:52:50 +03:00
dunkaist
2f8181504c
Implement and export more acpi wrappers.
2021-11-03 17:28:03 +03:00
dunkaist
18c6f4922c
Add new shell commands: dump_win_map and set (variable).
2021-11-02 12:50:13 +03:00
dunkaist
72570a7bc3
Add ahci_init label, new tests, update logs.
2021-09-20 07:20:06 +03:00
dunkaist
ba8e7940b4
Fix wnd_number in 016_#f01_#draw_all.t
2021-07-17 05:15:14 +03:00
dunkaist
ffa2480f2a
Replace some hardcoded values with macros
2021-07-17 03:03:36 +03:00
dunkaist
9fa1ef9625
Get rid of manual HEAP_BASE align, finally
2021-07-17 01:57:03 +03:00
dunkaist
d3cc2b0800
Update is_region_userspace macro to follow the proc
2021-07-17 00:11:55 +03:00
dunkaist
d04e71f6a5
Another check of returned value.
...
Also, add removed file.
2021-07-01 02:42:04 +03:00
dunkaist
d522e6c3e9
Align with kernel trunk.
2021-06-23 19:43:26 +03:00
dunkaist
e5d50667de
Add basic node counting logic, update tests.
2021-05-31 17:32:04 +03:00
dunkaist
f87fcd87dc
Wrap is_region_userspace with a macro, update logs.
2021-04-02 04:22:22 +03:00
dunkaist
cdd733ef3d
Add one more unit test, update logs.
2020-12-29 12:45:24 +03:00
dunkaist
7be0bfe574
Update test logs.
2020-12-29 07:12:09 +03:00
dunkaist
08bad4b2eb
Update test logs.
2020-12-28 23:29:36 +03:00
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