Commit Graph

1959 Commits

Author SHA1 Message Date
034dd79f43 Switch to the unified (BIOS and UEFI) kernel image
The initial patch by bzt with my minor edits.

git-svn-id: svn://kolibrios.org@9958 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-14 01:39:36 +00:00
Kirill Lipatov (Leency)
d91cb7946f https://board.kolibrios.org/viewtopic.php?p=79329#79912
NTFS fix for sf 70.3 by Pathoswithin (non-tested) => Doczom please check if you can

git-svn-id: svn://kolibrios.org@9953 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-12 01:11:26 +00:00
turbocat
bbee219bab [KERNEL] Use PAT if supported. Otherwise MTRR
git-svn-id: svn://kolibrios.org@9950 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-12-26 18:33:21 +00:00
Doczom
b9d43b416f fix bug in sysfn 7
git-svn-id: svn://kolibrios.org@9949 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-10-23 12:53:06 +00:00
Doczom
6643206b73 [KERNEL] fixed bug in sysfn 39.3
git-svn-id: svn://kolibrios.org@9948 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-10-12 21:52:14 +00:00
ace_dent
52ed04f5cc Update docs/README.TXT and rename to CREDITS
- Rename to `CREDITS.TXT` for clarity.
- Improve text of opening paragraph. Thanks to various translators.
- Reformat to use headings, removing excessive whitespace characters (~2.5KiB).
- Sort list of contributors alphabetically; easier to maintain.
- Add missing contributors and remove from `kernel.asm`. Thanks to @rgimad.
- Minor formatting and whitespace cleanup.

git-svn-id: svn://kolibrios.org@9947 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-10-01 21:53:34 +00:00
turbocat
2c2132e24d Fixed typo in "blue screen"
git-svn-id: svn://kolibrios.org@9943 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-09-22 20:38:13 +00:00
turbocat
e4362a1edc Fixed a "blue screen" hang when trying to write a configuration to a read-only device
git-svn-id: svn://kolibrios.org@9942 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-09-22 19:17:33 +00:00
Doczom
69f5ec5ac7 [KERNEL] Graphics subsystem has been redesigned:
- removed the old cursor and the code for its operation
 - minor fixes in other kernel modules
 - new fields have been added to the display_t structure for further refactoring of the graphics subsystem.

git-svn-id: svn://kolibrios.org@9941 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-09-22 16:31:40 +00:00
Kirill Lipatov (Leency)
cc4e120366 Starting Blue screen:
- The next message was improved: "New settings have been applied. Do you want to record them for the future boots? Answer 'yes' only if your booting device is writable." to avoid users saving changes on CD. This is a bug 'cos normally such behaviour must be handeled in the code http://board.kolibrios.org/viewtopic.php?p=80012#p80012
- Hide option "Create blank image" which is outdated now

git-svn-id: svn://kolibrios.org@9938 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-09-13 23:43:36 +00:00
Doczom
d0acf78f92 [KERNEL] cleared the code of unnecessary comments
git-svn-id: svn://kolibrios.org@9932 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-08-20 21:54:50 +00:00
Magomed Kostoev (mkostoevr)
0932401978 [KERNEL][TEST] Run UMKa tests if enabled.
Before this commit UMKa was downloaded, but none of its tests had been executed. Now it executes all the tagged UMKa tests (41 for now). Some tags had been excluded, like #acpi, because the ACPI subsystem is still under development.



git-svn-id: svn://kolibrios.org@9931 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-08-20 10:40:03 +00:00
Doczom
0a5beb0bc0 [KERNEL] The window subsystem has been redesigned:
-extended WDATA structures up to 128 bytes
-added the background_windows constant
-the draw_data array has been deleted
-APPDATA.window and WDATA.thread fields added
-minor fixes in the operation of external file system drivers

git-svn-id: svn://kolibrios.org@9930 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-08-18 20:51:33 +00:00
Magomed Kostoev (mkostoevr)
48e0317921 [KERNEL] Trigger GitHub mirror sync.
git-svn-id: svn://kolibrios.org@9929 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-08-14 18:55:18 +00:00
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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
Magomed Kostoev (mkostoevr)
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