Commit Graph

2587 Commits

Author SHA1 Message Date
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
14beceb157 AHCI: support up to 8 controllers
git-svn-id: svn://kolibrios.org@9231 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-02 17:49:21 +00:00
707e7037f0 uefi64kos: Detect last PCI bus, use fastcall macro.
* Detect last PCI bus via PCI Root Bridge IO protocol (uefi64kos only).
 * fastcall macro by Tomasz is much cleaner than eficall from osdev board.

git-svn-id: svn://kolibrios.org@9227 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-01 02:04:30 +00:00
Doczom
4f072de650 update
git-svn-id: svn://kolibrios.org@9224 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-10-23 17:11:57 +00:00
Doczom
4f59e32470 fix bug in my fix bug
git-svn-id: svn://kolibrios.org@9223 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-10-23 16:05:08 +00:00
Doczom
bb36197cd2 fix bug http://bugs.kolibrios.org/view.php?id=145 in sf 4
git-svn-id: svn://kolibrios.org@9222 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-10-23 15:53:35 +00:00
83176ac8ef kernel: Fix window redraw after 1px move.
If
 - window A is above window B, and
 - window A has been moved,
then window B receives a redraw event.

But if that move was 1px right or down, window B didn't receive an event
because of off-by-one error. Now it's fixed.

git-svn-id: svn://kolibrios.org@9221 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-10-18 16:23:18 +00:00
496d1b957e ahci: name drives as sdX instead of hdX
git-svn-id: svn://kolibrios.org@9219 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-10-16 22:13:26 +00:00
turbocat
93b5078632 Removed useless kolibri-f branch
git-svn-id: svn://kolibrios.org@9192 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-14 17:42:01 +00:00
turbocat
bdef8f9596 Created a branch for low-level work with disks
git-svn-id: svn://kolibrios.org@9191 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-14 17:39:32 +00:00
cf3af4b4ed kernel: fix export of file_system_lfn_protected.
This function returns values not in registers but in their images on
stack. Therefore we have to wrap a call with pushad/popad.

git-svn-id: svn://kolibrios.org@9185 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-09 22:37:00 +00:00
79377393da kolibri-ahci: code style fixes
git-svn-id: svn://kolibrios.org@9184 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-09 12:05:09 +00:00
954246b1b7 Merge kolibri-ahci into trunk
git-svn-id: svn://kolibrios.org@9183 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-09 11:38:38 +00:00
a17d3b7653 kolibri-ahci:
- fix bug with identical names for all disks

git-svn-id: svn://kolibrios.org@9168 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-30 10:59:18 +00:00
f270456bab kolibri-ahci:
- added write, seems to work

git-svn-id: svn://kolibrios.org@9166 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-29 19:20:12 +00:00
617b2bf8c3 kolibri-ahci:
- fix bugs with prdt overflow
- full refactoring of disk reading
- added fdo verbosity control
- other changes

git-svn-id: svn://kolibrios.org@9162 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-28 14:17:15 +00:00
hidnplayr
389c2bc6c3 Fix typo
git-svn-id: svn://kolibrios.org@9151 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-24 16:48:03 +00:00
eb103eed40 kolibri-ahci:
- fixed two stupid errors, now work in qemu

git-svn-id: svn://kolibrios.org@9145 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-20 07:13:00 +00:00
7126f01a79 kolibri-ahci:
- added ahci_read

git-svn-id: svn://kolibrios.org@9143 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-19 19:36:23 +00:00
b89963de95 kolibri-ahci:
- important register preseving

git-svn-id: svn://kolibrios.org@9142 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-19 10:33:40 +00:00
6a6dcc90ae kolibri-ahci:
- added ahci_read_first_sector and it works
- temporariry removed ahci_read
- small changes

git-svn-id: svn://kolibrios.org@9141 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-19 10:10:28 +00:00
8dfac86e67 kolibri-ahci:
- added disk registration in system
- added ahci_read (DOES NOT WORK, TODO), ahci_querymedia
- other changes

git-svn-id: svn://kolibrios.org@9140 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-18 21:55:32 +00:00
b436ed9f25 kolibri-ahci:
- use spinlocks (added two functions) instead of delays in ahci_port_identify
- small changes

git-svn-id: svn://kolibrios.org@9139 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-18 11:09:40 +00:00
7bedba2c53 kolibri-ahci:
- refactoring: use swap_bytes_in_words for strings in ident space
- added viewing lba48 addresable sectors count, disk capacity in MiB and GiB
- other small changes

git-svn-id: svn://kolibrios.org@9138 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-16 17:36:12 +00:00
48a6c045c4 kolibri-ahci:
- fix build

git-svn-id: svn://kolibrios.org@9136 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-14 14:04:25 +00:00
b8a5378080 kolibri-ahci:
- optimized signature checking

git-svn-id: svn://kolibrios.org@9135 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-14 13:59:08 +00:00
a85d76349a kolibri-ahci:
- added drive type detection
- identify now works both for SATA and SATAPI
- small fixes

git-svn-id: svn://kolibrios.org@9134 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-13 21:41:56 +00:00
324586c098 kolibri-ahci:
- fixed identify command sending, now driver successfully identifies hard disk model on my acer aspire
- small changes

git-svn-id: svn://kolibrios.org@9131 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-10 12:24:33 +00:00
16ff205237 kolibri-ahci:
- fixed issue with staggered spin-up, so now works better on real hardware
- more verbose debug output
- other small changes
TODO: improve reading identification space
why identification space is all zeroes on my acer aspire ?

git-svn-id: svn://kolibrios.org@9130 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-09 19:32:15 +00:00
39368a57b4 kolibri-ahci:
- added ahci_port_identify (it works!)
- other fixes
- todo: fix dirty codestyle)

git-svn-id: svn://kolibrios.org@9074 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-21 23:00:47 +00:00
f195324958 kolibri-ahci:
- make some padding and reserved field anonymous
- correct mistake in FIS_DMA_SETUP, some fileds were absent
- small fixes

git-svn-id: svn://kolibrios.org@9072 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-21 15:33:47 +00:00
774aee343f kolibri-ahci:
- added more structures
- added function ahci_find_cmdslot
- small fixes

git-svn-id: svn://kolibrios.org@9069 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-20 16:25:00 +00:00
9ea50cc779 kolibri-ahci:
- add ahci_send_cmd
- add ahci_flush_cmd
- add ahci_port_rebase
- other small changes

git-svn-id: svn://kolibrios.org@9068 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-16 16:39:49 +00:00
760c9f36c4 kolibri-ahci:
- add functions start_cmd and stop_cmd
- small changes

git-svn-id: svn://kolibrios.org@9065 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-13 20:20:23 +00:00
a8fd8dac68 kolibri-ahci:
- added FIS structures
- shorten some names in HBA_MEM structure

git-svn-id: svn://kolibrios.org@9064 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-13 17:09:18 +00:00
Kirill Lipatov (Leency)
4f8b740144 sysfuncr.txt: translate 74.11 - 74.16
osupdate: add to ISO
icons16.png: update icons of windows, kolibri, floppy
cedit: update by akron1

git-svn-id: svn://kolibrios.org@9060 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-13 10:30:43 +00:00
turbocat
9b2048f146 kernel (trunk) :
- Added the function of working with the file system in the export for the driver.
  (However, feature 70 vulnerability should not be fixed until the drivers using it are rebuilt).

git-svn-id: svn://kolibrios.org@9055 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-12 22:34:27 +00:00
hidnplayr
ae22a16a43 Fix loopback
git-svn-id: svn://kolibrios.org@9054 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-12 20:39:08 +00:00
Kirill Lipatov (Leency)
716db38e51 docs: update sys f48.3 description about color names and meanings
git-svn-id: svn://kolibrios.org@9052 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-12 09:45:12 +00:00
turbocat
3ee8369ec6 Kolibri-F:
- Added sprintf to the kernel.
- Added a notification from @notify when there are exceptions in the application. 
- Added debug files to bochs

git-svn-id: svn://kolibrios.org@9051 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-11 11:17:39 +00:00
hidnplayr
7b13d5fb4e Add is_userspace_region checks to some socket functions.
Disabled PPPoE and IPv6 completely by default, as not functional.


git-svn-id: svn://kolibrios.org@9049 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-10 09:41:13 +00:00
Magomed Kostoev (mkostoevr)
eccd8f2198 [CLEVERMOUSE_PE_KERNEL] Apply CleverMouse PE patch
git-svn-id: svn://kolibrios.org@9048 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-09 19:26:55 +00:00
Magomed Kostoev (mkostoevr)
360e379fc7 [KERNEL] Get ready to apply CleverMouse PE patch
git-svn-id: svn://kolibrios.org@9047 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-09 19:19:04 +00:00
b6f769987c kernel: Check for base+len overflow in is_region_userspace
git-svn-id: svn://kolibrios.org@9045 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-09 09:22:44 +00:00
6beb99fc30 kernel: Implement sf70.5 for default FS stub
Only get partition size, not its label.

Information of a block device and FS on it should be reported by
different system calls.

git-svn-id: svn://kolibrios.org@9043 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-09 03:20:12 +00:00
Magomed Kostoev (mkostoevr)
293a74db28 [KERNEL][TASKMAN] Add prefixes to named constants
git-svn-id: svn://kolibrios.org@9038 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 20:04:59 +00:00
ffb87dab38 kolibri-ahci:
- started implementing drives detect
- other fixes

git-svn-id: svn://kolibrios.org@9037 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 19:20:11 +00:00
Magomed Kostoev (mkostoevr)
c81b16b529 [KERNEL][TASKMAN] Use named constants instead of magic numbers
git-svn-id: svn://kolibrios.org@9036 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 19:16:00 +00:00
Magomed Kostoev (mkostoevr)
436e509ba2 [kernel][dll] Doxycomment load_file function
git-svn-id: svn://kolibrios.org@9034 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 18:39:49 +00:00
Magomed Kostoev (mkostoevr)
51562c329d [asmxygen] Dump into file instead of stdout
git-svn-id: svn://kolibrios.org@9033 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 18:33:06 +00:00
Magomed Kostoev (mkostoevr)
43ca471eaa [KERNEL][TASKMAN] Document fs_execute function return value
git-svn-id: svn://kolibrios.org@9032 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 18:08:28 +00:00
Magomed Kostoev (mkostoevr)
d68f8ecdce [KERNEL][TASKMAN] Comment fs_execute function
git-svn-id: svn://kolibrios.org@9031 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 17:55:19 +00:00
Magomed Kostoev (mkostoevr)
374173db37 [asmxygen] Make dump more beautiful
git-svn-id: svn://kolibrios.org@9030 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 17:53:41 +00:00
Magomed Kostoev (mkostoevr)
7ba2ef299c [kernel][unpacker] Update the unpacker comment in order to update the documentation
git-svn-id: svn://kolibrios.org@9029 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 16:57:24 +00:00
Magomed Kostoev (mkostoevr)
923adaf09c [asmxygen] Document label function parameters according to @param directives
git-svn-id: svn://kolibrios.org@9028 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 16:56:05 +00:00
Magomed Kostoev (mkostoevr)
0f1e2f75dc [kernel][doxygen] Document unpacker function
git-svn-id: svn://kolibrios.org@9027 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 16:41:09 +00:00
Magomed Kostoev (mkostoevr)
85eb28b60b [kernel][doxygen] Hide utility macros from struct.inc
git-svn-id: svn://kolibrios.org@9026 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 16:34:04 +00:00
048b0de963 kolibri-ahci: refactoring
git-svn-id: svn://kolibrios.org@9024 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 14:27:05 +00:00
478c96b635 kolibri-ahci:
- improve controller initialization
- some refactoring

git-svn-id: svn://kolibrios.org@9023 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 11:56:47 +00:00
62850037f1 kolibri-ahci: delete file added by mistake
git-svn-id: svn://kolibrios.org@9022 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-07 22:48:31 +00:00
c587f61465 kolibri-ahci: added missed files + info with useful links
git-svn-id: svn://kolibrios.org@9021 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-07 22:37:28 +00:00
21816f5c0b kolibri-ahci: upload first results on AHCI support
git-svn-id: svn://kolibrios.org@9020 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-07 21:53:12 +00:00
73864ff1d7 Create kolibri-ahci branch
git-svn-id: svn://kolibrios.org@9019 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-07 21:36:03 +00:00
hidnplayr
e32ea5d3c8 Network device error/missed/dropped packet counters.
+ Network buffer sanity checks.

git-svn-id: svn://kolibrios.org@9017 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-07 19:26:17 +00:00
Kirill Lipatov (Leency)
5f1af2011f sysfunc: fixed mistake in f48.5 (found by zorggish)
git-svn-id: svn://kolibrios.org@8994 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-04 11:59:11 +00:00
Magomed Kostoev (mkostoevr)
241c5e20f1 [kernel][doxygen] Comment acpi_get_root_ptr and test asmxygen update
git-svn-id: svn://kolibrios.org@8991 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-04 09:13:41 +00:00
Magomed Kostoev (mkostoevr)
e567146b49 [asmxygen] Fix unknown macro name at the end of a struct declaration in case if a file wasn't parsed cause it's parsed already
Now asmxygen also saves a list of parsed symbols separately. So when he starts to parse anything once again he already know all other symbols defined in other files and can use em to find valid variable declarations and other stuff

git-svn-id: svn://kolibrios.org@8990 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-04 09:10:24 +00:00
Magomed Kostoev (mkostoevr)
d063163da3 [asmxygen] Handle label commented with @return or @param as a function
git-svn-id: svn://kolibrios.org@8989 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-03 20:50:00 +00:00
turbocat
aa79e1a449 Recreation of the Kolibri-F branch. Part 2
git-svn-id: svn://kolibrios.org@8988 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-03 19:50:55 +00:00
turbocat
fc1285c39c Recreation of the Kolibri-F branch. Part 1
git-svn-id: svn://kolibrios.org@8987 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-03 19:49:51 +00:00
turbocat
631f5b8e1e Kolibri-F:
- Added syscall_ common name for system call functions. 
- Fixed not logical names of system calls of functions.

git-svn-id: svn://kolibrios.org@8986 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-03 14:13:18 +00:00
turbocat
422f79f395 a new branch of the Kolibri-F core was created
git-svn-id: svn://kolibrios.org@8985 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-03 11:48:49 +00:00
Magomed Kostoev (mkostoevr)
2995e59834 [asmxygen] Implement --stats key
git-svn-id: svn://kolibrios.org@8982 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-29 20:48:05 +00:00
Magomed Kostoev (mkostoevr)
01b9146608 [asmxygen] Warn if an element has no comment
git-svn-id: svn://kolibrios.org@8980 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-29 19:47:40 +00:00
Magomed Kostoev (mkostoevr)
ee35eb534c [kernel][doxygen] Documment endp macro
git-svn-id: svn://kolibrios.org@8979 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-29 19:41:20 +00:00
Magomed Kostoev (mkostoevr)
68783fcb25 [kernel][doxygen] Hide proc/endp supporting macros from doxygen
git-svn-id: svn://kolibrios.org@8978 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-29 19:19:44 +00:00
Magomed Kostoev (mkostoevr)
e6dd99e189 [asmxygen] Ignore symbols marked in a comment as '@dont_give_a_doxygen'
git-svn-id: svn://kolibrios.org@8977 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-29 19:18:18 +00:00
Magomed Kostoev (mkostoevr)
7f55a3dc7b [asmxygen] Optimize identifier classification mechanism (stable 5% speedup)
git-svn-id: svn://kolibrios.org@8976 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-29 19:03:55 +00:00
Magomed Kostoev (mkostoevr)
6374a2c01b [asmxygen] Only parse files if no --clean key provided
git-svn-id: svn://kolibrios.org@8975 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-29 17:49:34 +00:00
Magomed Kostoev (mkostoevr)
af6b4f93ba [asmxygen] Translate dict in AsmReaderReadingComments into just a set of fields
git-svn-id: svn://kolibrios.org@8974 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-29 17:41:04 +00:00
Magomed Kostoev (mkostoevr)
6df2192b27 [asmxygen] Remove unuseful method
git-svn-id: svn://kolibrios.org@8973 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-29 17:33:31 +00:00