Doczom
9a2d26f2a7
[KERNEL] the window subsystem was refactored, WDATA structures were expanded and magic numbers were replaced with constants
...
git-svn-id: svn://kolibrios.org@9926 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-25 16:42:10 +00:00
Doczom
76202213a1
[KERNEL] fixed a bug in rev 9917
...
git-svn-id: svn://kolibrios.org@9925 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-22 03:32:33 +00:00
09ebacf1ef
[KERNEL][TEST] Download and build UMKa if enabled.
...
git-svn-id: svn://kolibrios.org@9923 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-18 18:36:53 +00:00
add3113b8b
[KERNEL][TEST] Initialize tup if it is not.
...
git-svn-id: svn://kolibrios.org@9922 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-18 15:07:58 +00:00
21392e4c9b
[KERNEL][TEST] Fix tests fail for new qemu.
...
git-svn-id: svn://kolibrios.org@9921 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-18 13:48:44 +00:00
8b6c817da7
[KERNEL][TEST] Print informative message on test fail.
...
git-svn-id: svn://kolibrios.org@9920 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-18 13:47:38 +00:00
82d8c58e1e
[KERNEL][TEST] Fail on prematurely finished qemu.
...
git-svn-id: svn://kolibrios.org@9919 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-18 12:44:38 +00:00
0a2a7aa344
Tests: Fix testing kernel build
...
The test system used a custom command to build the testing kernel.
Make it use the tup system.
git-svn-id: svn://kolibrios.org@9918 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-17 20:07:12 +00:00
Doczom
cd441e7929
[KERNEL]: Replaced magic numbers with constants and cleaned code
...
git-svn-id: svn://kolibrios.org@9917 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-17 18:40:54 +00:00
Doczom
7028e04565
[KERNEL] cleaned code and added description of some functions
...
git-svn-id: svn://kolibrios.org@9911 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-04-09 18:19:13 +00:00
Doczom
cf0e9867b0
[KERNEL] updated local labels in functions and other small changes
...
git-svn-id: svn://kolibrios.org@9910 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-04-08 21:24:05 +00:00
Doczom
dd33210115
[KERNEL]: Replaced magic numbers with constants:
...
PAGE_SIZE, -PAGE_SIZE, PAGE_SIZE-1
git-svn-id: svn://kolibrios.org@9900 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-02-14 23:26:59 +00:00
aae65fd398
Unhardcode some PAGE_SIZE related numbers
...
4096 is PAGE_SIZE
not 4095 is -PAGE_SIZE
etc
git-svn-id: svn://kolibrios.org@9899 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-02-12 21:37:30 +00:00
59315b183d
[kernel] Fix reading from empty board buffer (sf63.2)
...
Syscall 63.2, reading from the board buffer, was overwriting registers
edx and ebp when the buffer was empty. Now it sets eax and ebx according
to the kernel API.
Because of this ancient bug BOARD checks the status of sf63.2 syscall
this way:
mcall 63, 2
cmp ebx, 1
jne no_data
; when the buffer is empty, ebx is untouched, i.e. still 2, haha
; edx and ebp are destroyed, the code is lucky not to use them
By the way, the bug was found using umka tool.
git-svn-id: svn://kolibrios.org@9897 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-01-30 03:33:03 +00:00
Doczom
2160c0e6f7
[KERNEL] Added the "FsAdd" function for drivers on file systems.
...
TODO: added functions for lock\unlock partition and read\write sectors for user programs
git-svn-id: svn://kolibrios.org@9894 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-01-21 18:07:32 +00:00
679a138dd7
[xfs] Fix a file lookup bug in btree dirs
...
Literally, an off-by-one error.
git-svn-id: svn://kolibrios.org@9890 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-01-02 00:58:36 +00:00
06d05066a3
[xfs] Support XFS nrext64 feature bit
...
This feature is _not_ enabled by default by mkfs.xfs at the moment.
That said, make KolibriOS ready for the future. By the way, fix two
bugs in support of XFSv5 disk format.
git-svn-id: svn://kolibrios.org@9889 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-01-02 00:55:53 +00:00
df7f78788c
[xfs] Support XFS bigtime feature bit
...
Current version of mkfs.xfs enables this feature by default.
Now KolibriOS can read such partitions too.
git-svn-id: svn://kolibrios.org@9888 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-01-02 00:53:31 +00:00
Doczom
b2734e40fd
[KERNEL] fixed vulnerability (execution of user code in kernel mode) in sysfn 77.10 and sysfn 77.11
...
git-svn-id: svn://kolibrios.org@9884 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-10-25 18:20:48 +00:00
Doczom
729487fd7a
disabling the SRV.srv_proc check to zero
...
git-svn-id: svn://kolibrios.org@9872 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-08-23 19:25:18 +00:00
Doczom
6dc1dec037
fix futex freezes
...
git-svn-id: svn://kolibrios.org@9871 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-08-23 19:18:13 +00:00
Doczom
e25f14c9ba
fixing kernel breakage when futex freezes
...
git-svn-id: svn://kolibrios.org@9869 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-08-10 11:57:08 +00:00
f717a55cc1
[KERNEL] Fix resizing cursors for window borders
...
git-svn-id: svn://kolibrios.org@9850 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-26 18:03:03 +00:00
d77dd5decc
[KERNEL] Use specific cursors for window borders
...
git-svn-id: svn://kolibrios.org@9848 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-23 15:18:20 +00:00
turbocat
1865c30de8
[KERNEL]: Remove unused get_curr_task and replace with get_curr_slot
...
git-svn-id: svn://kolibrios.org@9832 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-06 21:51:08 +00:00
a9d195b964
Rename fields in SYSCALL_STACK struct: _eax -> eax, etc
...
git-svn-id: svn://kolibrios.org@9831 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-05 14:41:51 +00:00
vitalkrilov
c48822e03e
sysfuncr.txt: added missing docs for SysFn77.10, SysFn77.11, SysFn77.13 from wiki
...
ksys.h:
- libc.obj's file synced with newlib's (r9788)
- added scancodes enum
- added wrappers for SysFn66.4 and SysFn66.5 (sys. hotkeys)
- added wrappers for SysFn77.0 -- SysFn77.3 (futexes)
git-svn-id: svn://kolibrios.org@9829 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-04 22:48:35 +00:00
Doczom
4b862c1c0b
KERNEL: reducing the use of current_slot_idx
...
git-svn-id: svn://kolibrios.org@9828 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-03 23:34:04 +00:00
aa4154894c
[kernel] Add is_string_userspace func, like is_region_userspace
...
git-svn-id: svn://kolibrios.org@9823 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-31 07:27:00 +00:00
3111bdaa18
Sync language names and IDs for @taskbar, kernel and docs
...
git-svn-id: svn://kolibrios.org@9822 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-29 19:36:19 +00:00
824bf97e3c
[KERNEL] Change fragmented packet log
...
git-svn-id: svn://kolibrios.org@9817 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-15 17:34:08 +00:00
cac3f92e93
[KERNEL] Update kernel images
...
git-svn-id: svn://kolibrios.org@9816 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-15 12:41:34 +00:00
7218749f8a
[KERNEL] Change fragmented packet log
...
git-svn-id: svn://kolibrios.org@9815 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-15 12:36:21 +00:00
607e199769
[KERNEL] Use stack to save EDI and fix stack and EDI state on packet drop
...
git-svn-id: svn://kolibrios.org@9814 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-15 12:07:53 +00:00
vitalkrilov
5f43399ad2
kernel: fixed bug with loading DEVICES.DAT (appeared since r9756)
...
git-svn-id: svn://kolibrios.org@9813 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-11 21:18:56 +00:00
908aa98953
[KERNEL] Temporally drop fragmented packets
...
git-svn-id: svn://kolibrios.org@9809 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-08 14:46:34 +00:00
68d6fe5255
[KERNEL] Attempt to fix unexpected stack state
...
git-svn-id: svn://kolibrios.org@9807 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-05 15:47:56 +00:00
2543e89522
[KERNEL] Temporal fix for fragmented packet building
...
git-svn-id: svn://kolibrios.org@9806 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-05 14:58:04 +00:00
ebefc0be7c
[KERNEL] Fix incorrect address of the first buffer
...
git-svn-id: svn://kolibrios.org@9805 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-04 09:43:21 +00:00
4cd9e17acd
[KERNEL] Fix FIXME
...
git-svn-id: svn://kolibrios.org@9804 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-02 14:42:34 +00:00
be86fc49c6
[KERNEL] Fix offset to first fragment
...
git-svn-id: svn://kolibrios.org@9803 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-02 14:41:19 +00:00
12d55e6e71
[KERNEL] Temporal fragmented packet size workaround
...
git-svn-id: svn://kolibrios.org@9802 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-02 12:41:26 +00:00
b2bd20b9fa
[KERNEL] Temporal fix for EDI destruction
...
git-svn-id: svn://kolibrios.org@9801 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-02 11:26:04 +00:00
0700cf15dd
[KERNEL] Update compyrights in IPv4.inc
...
git-svn-id: svn://kolibrios.org@9800 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-02 10:41:03 +00:00
52a5b1bf6e
[KERNEL] Fix IPv4 packet buffer structuring
...
git-svn-id: svn://kolibrios.org@9799 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-02 10:35:07 +00:00
33f685c41e
[KERNEL] Generate .fas file for kernel with extended primary loader
...
git-svn-id: svn://kolibrios.org@9798 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-27 16:23:37 +00:00
df15574e00
Translate documentation of sf68.31 into English
...
git-svn-id: svn://kolibrios.org@9796 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-26 20:55:37 +00:00
Doczom
906a16d3a2
fixed kernel malfunction when loading a program with mem_size > os_base .
...
git-svn-id: svn://kolibrios.org@9794 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-26 13:09:12 +00:00
Doczom
953d47e06c
Add documentation on 68.31 sysfn
...
git-svn-id: svn://kolibrios.org@9779 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-23 21:32:11 +00:00
vitalkrilov
f1b9d66b39
kernel: changed "/rd/1" to "/sys" (at least for returning normal work in UEFI mode with non-ramdisk "/sys" directory)
...
docs of kernel (rus, SysFn68-16): changed "/rd/1" to "/sys" (like in ENG version; I guess writer meant "/sys")
git-svn-id: svn://kolibrios.org@9756 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-02 23:04:09 +00:00