Commit Graph

2567 Commits

Author SHA1 Message Date
Doczom
278fc718e1 add APPDATA.state for delete TASKDATA
git-svn-id: svn://kolibrios.org@9611 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-10 20:38:44 +00:00
Doczom
b1621a3797 add APPDATA.wnd_number
git-svn-id: svn://kolibrios.org@9608 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-10 16:52:37 +00:00
Doczom
a26a97719e update vga.inc
git-svn-id: svn://kolibrios.org@9606 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-09 23:50:54 +00:00
Doczom
2aee4bdf6a replacing TASKDATA.mem_start with APPDATA.memstart
git-svn-id: svn://kolibrios.org@9605 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-09 11:37:32 +00:00
Doczom
f3d6ff3eb2 replacing TASKDATA.counter_add with APPDATA.counter_add
git-svn-id: svn://kolibrios.org@9600 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-08 21:31:19 +00:00
Doczom
100cb041bb replacing TASKDATA.counter_sum with APPDATA.counter_sum.
I hope the kernel is working

git-svn-id: svn://kolibrios.org@9593 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-08 15:19:20 +00:00
Doczom
2db4916440 fix cpu_usage
git-svn-id: svn://kolibrios.org@9592 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-08 01:28:53 +00:00
Doczom
3d6209fb37 fix cpu_usage
git-svn-id: svn://kolibrios.org@9591 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-07 23:03:51 +00:00
Doczom
bb2c454ebe replacing TASKDATA.cpu_usage with APPDATA.cpu_usage
git-svn-id: svn://kolibrios.org@9590 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-07 21:53:56 +00:00
Doczom
db7f673018 add 3 constants
git-svn-id: svn://kolibrios.org@9571 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-04 18:51:19 +00:00
Doczom
c4f3315ffd small fix
git-svn-id: svn://kolibrios.org@9567 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-03 18:26:31 +00:00
f12d4adc7d [KERNEL] - removed commented outdated read_floppy_file function
- removed setmouse function that doesnt do anything
- redmousepos moved from kernel.asm to gui/mouse.inc
- small style fixes


git-svn-id: svn://kolibrios.org@9514 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-28 15:19:24 +00:00
c0671d602c [KERNEL] kernel.asm: clean commented outdated stuff, fix prior
git-svn-id: svn://kolibrios.org@9488 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-27 15:42:05 +00:00
99ad9a6ca7 fix prior, add gui/background.inc
git-svn-id: svn://kolibrios.org@9487 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-27 15:37:32 +00:00
c8ddc27015 [KERNEL] Sysfn 15, 25, 39 (working with background graphics) moved from kernel.asm to gui/background.inc file
git-svn-id: svn://kolibrios.org@9486 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-27 15:34:18 +00:00
f7761a485b [KERNEL] Move sysfn 1, 4, 13, 38 implementations from kernel.asm to window.inc
Fix comments style in window.inc
Cleanup some outdated & unused commented stuff in data32.inc

git-svn-id: svn://kolibrios.org@9477 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-26 13:18:33 +00:00
d92af710b5 [KERNEL] Use common stub undefined_syscall instead of paleholder
git-svn-id: svn://kolibrios.org@9476 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-26 11:12:56 +00:00
3d99a055b8 [KERNEL] Add sysfn 39.3 - copy rect of background image to buffer.
Previously was only 39.2 that reads one pixel from background image.
(39.2 is shomehow useless due to big context switching overhead if you trying to read some area of pixels using 39.2)

git-svn-id: svn://kolibrios.org@9458 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-22 17:10:59 +00:00
Doczom
c92d2a4af9 fix 68.31
git-svn-id: svn://kolibrios.org@9442 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-18 23:39:17 +00:00
Doczom
a83d394677 add function for get SRV structure
git-svn-id: svn://kolibrios.org@9441 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-18 22:46:36 +00:00
Doczom
dc2ad5b020 add function for unload driver
git-svn-id: svn://kolibrios.org@9440 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-18 18:11:03 +00:00
Doczom
d888aca21b small update loader drivers
git-svn-id: svn://kolibrios.org@9438 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-18 11:12:02 +00:00
Doczom
1168314a69 fix call function
git-svn-id: svn://kolibrios.org@9432 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-17 06:22:21 +00:00
Doczom
8c8771e04d add check handler driver
git-svn-id: svn://kolibrios.org@9430 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-17 06:07:45 +00:00
a9f8d6d660 [KERNEL][TEST] use_umka = False by default
git-svn-id: svn://kolibrios.org@9421 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-15 18:07:01 +00:00
97222e8036 [KERNEL][TEST] Undo prior, main branch isn't ready
git-svn-id: svn://kolibrios.org@9420 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-15 18:03:39 +00:00
03d859336e [KERNEL][TEST] Do not checkout trunk brranch of UMKa
git-svn-id: svn://kolibrios.org@9419 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-15 18:03:06 +00:00
64086ffda0 [KERNEL][TEST] Use llvm-mingw if available
git-svn-id: svn://kolibrios.org@9418 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-15 17:03:27 +00:00
c4ee26ef93 kolibri-ahci: added atapi disks registration, small refactoring & fixes. TODOFIX: identifying sector count of atapi disks gives always the same value. why?
git-svn-id: svn://kolibrios.org@9417 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-12 19:54:50 +00:00
88f0d7c48f [KERNEL][TEST] Only download img if not exist
git-svn-id: svn://kolibrios.org@9416 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-12 14:39:30 +00:00
65cd85761c [KERNEL][TEST] Only call UMKa functions on use_umka
git-svn-id: svn://kolibrios.org@9415 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-12 14:38:16 +00:00
198f333fa3 [KERNEL][TEST] Initial UMKa integration
git-svn-id: svn://kolibrios.org@9414 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-12 14:30:53 +00:00
f786997b1b [KERNEL][TEST] Handle the latest UMKa
git-svn-id: svn://kolibrios.org@9412 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-10 18:06:40 +00:00
0954251dbc [KERNEL][TEST][runtests.py] Conform PEP8 except import
git-svn-id: svn://kolibrios.org@9409 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-07 20:02:15 +00:00
6aea287961 [ASMXYGEN] Conform PEP8 except line import re
git-svn-id: svn://kolibrios.org@9408 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-07 19:35:46 +00:00
c867c5020b [ASMXYGEN] Convert indentation to spaces
git-svn-id: svn://kolibrios.org@9407 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-07 15:48:11 +00:00
Doczom
36933473bc fix load driver
TODO: add function for unload driver

git-svn-id: svn://kolibrios.org@9406 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-07 02:49:57 +00:00
Coldy
f3dca4689e Fixed vulnerabilitie in sysfn 68.23 (system halt if the name doesn't exist)
git-svn-id: svn://kolibrios.org@9405 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-06 16:57:50 +00:00
743ff0dfff [KERNEL] Update documentation of disk.inc
git-svn-id: svn://kolibrios.org@9404 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-05 15:51:25 +00:00
162c652619 [ASMXYGEN] Make it read comments before align specifier
git-svn-id: svn://kolibrios.org@9403 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-05 15:46:26 +00:00
e259e30fbf [ASMXYGEN] Add debug mode to compare generated stuff
git-svn-id: svn://kolibrios.org@9402 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-05 15:21:39 +00:00
bdebc82262 [ASMXYGEN] Only execute code on direct script execution
git-svn-id: svn://kolibrios.org@9401 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-05 14:51:26 +00:00
4da474f427 [ASMXYGEN] Move data closer to place it used
git-svn-id: svn://kolibrios.org@9400 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-05 14:48:06 +00:00
ae1e7138a1 [ASMXYGEN] Do not mix declarations and code
git-svn-id: svn://kolibrios.org@9399 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-05 14:43:31 +00:00
02675ebbfb [ASMXYGEN] Make keyword list compact
git-svn-id: svn://kolibrios.org@9398 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-05 14:22:21 +00:00
ae0000aeca [KERNEL][TEST] Prepare for full UMKa integration
git-svn-id: svn://kolibrios.org@9397 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-05 13:48:32 +00:00
79aa4c134d [KERNEL] Fix eth_input function documentation
git-svn-id: svn://kolibrios.org@9395 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-04 19:56:44 +00:00
dde29ddf15 [KERNEL] Document eth_input function
git-svn-id: svn://kolibrios.org@9394 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-04 16:01:10 +00:00
2a56bcb027 [KERNEL][TEST] Remove UMKa from the main repo for now
git-svn-id: svn://kolibrios.org@9387 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-04 11:28:12 +00:00
904c78d4e4 [KERNEL][TEST] Use python library instead of custom function
git-svn-id: svn://kolibrios.org@9369 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-03 15:52:30 +00:00
7cde259662 [KERNEL][UMKA] Fix linux build
git-svn-id: svn://kolibrios.org@9343 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-28 11:14:40 +00:00
e92d2fb87b [KERNEL][UMKA] Make it compile and run on Windows
git-svn-id: svn://kolibrios.org@9342 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-27 23:28:38 +00:00
f90d41a388 [KERNEL][TEST] Use filecmp instead of cmp utility
git-svn-id: svn://kolibrios.org@9340 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-27 20:07:11 +00:00
17af3bd52c [KERNEL][TEST] Rename umka_shell to umka_shell.exe
git-svn-id: svn://kolibrios.org@9339 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-27 20:04:04 +00:00
147fb23071 [KERNEL][UMKA] Make it clang-compatible
git-svn-id: svn://kolibrios.org@9338 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-27 20:01:42 +00:00
d718f1b0de [KERNEL][UMKA] Prepare to make it work on Windows
* Remove FS and network tests
* Remove some unix-only dependencies



git-svn-id: svn://kolibrios.org@9337 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-27 19:12:33 +00:00
f71ae8ed96 [KERNEL][TEST] Speed up UMKa testing before multithreading
git-svn-id: svn://kolibrios.org@9335 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-27 10:58:06 +00:00
69fca329d1 [KERNEL][TEST] Make qemu tests more robust
git-svn-id: svn://kolibrios.org@9334 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-27 10:54:09 +00:00
f80242ef66 [KERNEL][TEST] Make UMKa tests position independent
git-svn-id: svn://kolibrios.org@9333 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-27 10:48:59 +00:00
809317b91f [KERNEL][TEST] Make it possible to run qemu tests concurently
git-svn-id: svn://kolibrios.org@9332 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-27 09:53:08 +00:00
b61452e9e1 [KERNEL][TEST] Make qemu tests position-independent
git-svn-id: svn://kolibrios.org@9331 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-27 09:46:44 +00:00
134e54dcbb [KERNEL][TEST] Save UMKa C objects in umka/build/
git-svn-id: svn://kolibrios.org@9330 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-27 09:33:11 +00:00
c58fcd5efe [KERNEL][TEST] Refactor UMKA build
git-svn-id: svn://kolibrios.org@9329 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-27 09:23:17 +00:00
d67d360b41 [KERNEL][TEST] Integrate UMKA
git-svn-id: svn://kolibrios.org@9328 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-26 23:28:38 +00:00
64249cf8fd [KERNEL][TEST] Build UMKA if not built
git-svn-id: svn://kolibrios.org@9327 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-26 23:13:22 +00:00
bdd82790b0 [KERNEL][TEST] Build UMKA if not built
git-svn-id: svn://kolibrios.org@9326 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-26 23:08:25 +00:00
74e8772507 [KERNEL][UMKA] Initial commit
git-svn-id: svn://kolibrios.org@9325 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-26 23:05:35 +00:00
83baece6ec [KERNEL][TEST] Log stdout and stderr of qemu into files
git-svn-id: svn://kolibrios.org@9324 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-26 21:57:31 +00:00
5971fdb186 [KERNEL][TEST] Run serial tests in separated thread
git-svn-id: svn://kolibrios.org@9323 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-26 21:56:18 +00:00
5175b0da3a [KERNEL][TEST] Prepare for multithreading
git-svn-id: svn://kolibrios.org@9322 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-26 21:38:46 +00:00
9ad8889fd4 [KERNEL][TEST] Refactor runtests.py
git-svn-id: svn://kolibrios.org@9321 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-26 21:30:41 +00:00
00df866213 [KERNEL][TEST] Remove unused test and change author string
git-svn-id: svn://kolibrios.org@9320 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-26 15:45:54 +00:00
18562cd78f [KERNEL][TEST] Make it run on Windows
git-svn-id: svn://kolibrios.org@9319 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-26 15:42:19 +00:00
98d64b669d [KERNEL][TEST] Fix makeflop usage and small details
git-svn-id: svn://kolibrios.org@9317 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-25 23:04:42 +00:00
a849cabad0 [KERNEL][TEST] Use makeflop instead of mtools
git-svn-id: svn://kolibrios.org@9316 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-25 22:00:43 +00:00
96cf187d5e [KERNEL][TEST] Use Python3 method name
git-svn-id: svn://kolibrios.org@9315 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-25 21:57:16 +00:00
dcb708dd09 [KERNEL][TEST] Use urllib instead of wget
git-svn-id: svn://kolibrios.org@9314 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-25 21:54:29 +00:00
16fd3a9980 [KERNEL][TEST] Embrase test code
git-svn-id: svn://kolibrios.org@9313 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-25 21:04:13 +00:00
f4d71d2b55 [KERNEL][TEST] Compile kernel instead of downloading it
* Change copyright
* Fix kernel copying on server



git-svn-id: svn://kolibrios.org@9312 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-25 20:53:33 +00:00
2c7ecbb305 [KERNEL][TEST] Refactor tool check
git-svn-id: svn://kolibrios.org@9311 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-25 20:32:59 +00:00
2510534664 [KERNEL][TEST] Inform about required packages
git-svn-id: svn://kolibrios.org@9310 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-25 20:26:22 +00:00
0dc168b130 uefi64kos: Fix reporting of file size
git-svn-id: svn://kolibrios.org@9286 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-17 23:17:45 +00:00
Doczom
4003f26194 delete 43 sysfunction
git-svn-id: svn://kolibrios.org@9279 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-16 18:54:17 +00:00
571040afd5 AHCI: Full multiple controller support.
Fix using hardcoded ctr1_data in three functions, use corresponding controller instead.
Add pointer to parent controller to PORT_DATA structure,
Other small changes

git-svn-id: svn://kolibrios.org@9272 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-15 16:48:27 +00:00
1f842ffb93 AHCI: simplify structures, fix naming, more comments. sync kolibri-ahci with trunk
git-svn-id: svn://kolibrios.org@9271 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-15 15:05:03 +00:00
3e39815f8c AHCI: fix failure when adding > 1 disks on one controller
git-svn-id: svn://kolibrios.org@9270 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-15 11:56:07 +00:00
Doczom
7fa9473c69 small clean code
git-svn-id: svn://kolibrios.org@9268 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-14 19:15:56 +00:00
Doczom
f62bef13d5 fixing a memory leak in the clipboard
git-svn-id: svn://kolibrios.org@9265 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-14 14:02:16 +00:00
a5f6a10b43 kolibri-ahci: sync with trunk
git-svn-id: svn://kolibrios.org@9264 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-14 10:30:27 +00:00
c1e1215115 [KERNEL][TEST] Add example keyboard and screenshot test
git-svn-id: svn://kolibrios.org@9258 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-05 12:32:12 +00:00
41f68b6632 [KERNEL][TEST][API] Implement image comparsion
git-svn-id: svn://kolibrios.org@9257 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-05 12:25:50 +00:00
b3fb622ac5 [KERNEL][TEST][API] Implement screenshot taking
git-svn-id: svn://kolibrios.org@9256 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-05 11:53:13 +00:00
5aafac98ba [KERNEL][TEST][API] Implement keyboard keys sending
git-svn-id: svn://kolibrios.org@9255 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-05 11:51:19 +00:00
c582c8b648 [KERNEL][TEST] Wait for debug.log more reliable
git-svn-id: svn://kolibrios.org@9254 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-05 09:17:31 +00:00
e44770ac18 uefi64kos: Fix stack alignment on function calls.
It is a formal requirement of UEFI spec that the stack is to be aligned
on 16 bytes on all calls to service routines. I changed eficall macro to
fstcall one in my previous commit. Due to differences in macro logic
that change broke UEFI boot on some platforms that do care about stack
alignment. This commit should fix the issue.

git-svn-id: svn://kolibrios.org@9253 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-05 02:17:31 +00:00
7454368c78 [KERNEL][TEST] Do not pack test kernel (test speedup)
git-svn-id: svn://kolibrios.org@9252 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-05 00:28:48 +00:00
bc7960659c [KERNEL][TEST] Do not redirect stdin to qemu
git-svn-id: svn://kolibrios.org@9251 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-05 00:27:39 +00:00
5a7c52a4c4 [KERNEL][TEST] Add test kernel to autobuild
git-svn-id: svn://kolibrios.org@9250 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-05 00:21:53 +00:00
0b73fe657f [KERNEL] Add test framework
git-svn-id: svn://kolibrios.org@9249 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-04 23:52:56 +00:00
Doczom
95f32fae09 fix start apps in kernel mode
git-svn-id: svn://kolibrios.org@9248 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-04 21:45:55 +00:00