Commit Graph

56 Commits

Author SHA1 Message Date
42c1c55029 Add write_devices_dat shell command, 043_#acpi_m012.t test 2021-11-17 20:56:32 +03:00
74157df1cf Add umka_gen_devices_dat tool. 2021-11-04 05:52:50 +03:00
2f8181504c Implement and export more acpi wrappers. 2021-11-03 17:28:03 +03:00
18c6f4922c Add new shell commands: dump_win_map and set (variable). 2021-11-02 12:50:13 +03:00
72570a7bc3 Add ahci_init label, new tests, update logs. 2021-09-20 07:20:06 +03:00
ba8e7940b4 Fix wnd_number in 016_#f01_#draw_all.t 2021-07-17 05:15:14 +03:00
ffa2480f2a Replace some hardcoded values with macros 2021-07-17 03:03:36 +03:00
9fa1ef9625 Get rid of manual HEAP_BASE align, finally 2021-07-17 01:57:03 +03:00
d3cc2b0800 Update is_region_userspace macro to follow the proc 2021-07-17 00:11:55 +03:00
d04e71f6a5 Another check of returned value.
Also, add removed file.
2021-07-01 02:42:04 +03:00
d522e6c3e9 Align with kernel trunk. 2021-06-23 19:43:26 +03:00
e5d50667de Add basic node counting logic, update tests. 2021-05-31 17:32:04 +03:00
f87fcd87dc Wrap is_region_userspace with a macro, update logs. 2021-04-02 04:22:22 +03:00
cdd733ef3d Add one more unit test, update logs. 2020-12-29 12:45:24 +03:00
7be0bfe574 Update test logs. 2020-12-29 07:12:09 +03:00
08bad4b2eb Update test logs. 2020-12-28 23:29:36 +03:00
357202412e Update test logs. 2020-12-28 06:52:07 +03:00
4a6495d786 Update logs. 2020-12-17 19:42:14 +03:00
afb184fa3f Add one more test config, update logs. 2020-12-09 17:15:54 +03:00
f4921f9b9f Add one more Atom test config, update logs. 2020-11-19 04:21:15 +03:00
ea43ef1662 Rename cast to convert (regarding the spec), add acpica test stub. 2020-10-22 20:09:43 +03:00
f9db3877e5 Align SLOT_BASE and HEAP_BASE properly via umka.ld script. 2020-10-22 02:44:34 +03:00
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
e834b93108 Clean excessive inline asm, mention tap0 in README. 2020-10-14 20:56:28 +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
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
811cc93c5c Add two new test acpi+pci configurations.
qemu -M pc, kolibrios.org server
2020-10-09 00:19:53 +03:00
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
01df7faab2 Ramdisk enabling, part one. 2020-09-18 06:00:32 +03:00
0cd2a759f2 Rearrange includes according to kernel32.inc.
Compile in posix/posix.inc and blkdev/rd.inc.
2020-09-18 05:31:10 +03:00
1f107b2f61 Use core/sync.inc and mutex.{init,lock,unlock} from KolibriOS. 2020-09-18 04:49:35 +03:00
62d8258cf2 Compile in core/{sched,irq,apic}.inc files. 2020-09-17 20:51:03 +03:00
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
6f3117b665 Use slab allocator. 2020-06-05 21:24:57 +03:00
b22d2aacf3 Add commands shell_acpi_{set,get}_usage, update test logs. 2020-05-20 14:13:20 +03:00
d995632e71 Update test logs for upstream fix. 2020-05-19 18:20:46 +03:00
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
57fadae3dd Add background related functions; umka_os works. 2020-05-11 06:38:44 +03:00
532f440ec9 Fix kernel stack size and TASK_COUNT usage. 2020-05-10 09:21:20 +03:00
10f97725c4 Move shell from umka_shell to separate module. 2020-05-10 07:21:49 +03:00
7f355dfed2 Call monitor thread from os thread. 2020-05-09 07:34:28 +03:00
90d1aaaccc Handle cli/sti in scheduler: fake i flag with id flag. 2020-05-09 06:41:32 +03:00
0d07b5810f Run net stack, jump to the osloop. Compiles, doesn't crash. 2020-05-09 05:15:57 +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
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
349800ca54 Update unicode fs test, increase read buffer, clean macros. 2020-02-29 04:48:37 +03:00
f10976c16a Fix for getopt, include unicode.inc from the kernel. 2020-02-28 05:18:09 +03:00
13c5b4ac7a Clean some ugly macros. 2020-02-28 00:22:44 +03:00