Commit Graph

131 Commits

Author SHA1 Message Date
Jurgen
fe0bd82114 Edit struct APP_HEADER_01_, add line: except_stack_top
git-svn-id: svn://kolibrios.org@9974 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-02-16 06:37:52 +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
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
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
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
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
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
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
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
182f6ade61 small update copyright year in kernel
git-svn-id: svn://kolibrios.org@9715 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-02-12 17:27:41 +00:00
Doczom
39780d1f65 delete APPDATA.mem_start
git-svn-id: svn://kolibrios.org@9710 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-02-09 18:09:54 +00:00
Doczom
707dc7c2e6 delete TASKDATA
git-svn-id: svn://kolibrios.org@9709 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-02-09 17:07:51 +00:00
Doczom
19347417f0 replacing TASK DATA.pid with APPDATA.tid
git-svn-id: svn://kolibrios.org@9692 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-02-06 20:33:29 +00:00
Doczom
4afc0dd84b replacing TASKDATA.event_mask with APPDATA.event_mask and cleared code
git-svn-id: svn://kolibrios.org@9614 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-11 20:38:19 +00:00
Doczom
df70a59fd5 add APPDATA.state for delete TASKDATA
git-svn-id: svn://kolibrios.org@9613 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-11 10:50:30 +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
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
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
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
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
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)
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
8ef75d4496 [KERNEL] #4 Preparing to merge legacy TASKDATA into APPDATA:
- use thread state constants instead of hardcoded values
- other small style fixes

git-svn-id: svn://kolibrios.org@8874 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-18 08:26:02 +00:00
2359531a17 [KERNEL] #3 Preparing to merge legacy TASKDATA into APPDATA:
- get rid of CURRENT_TASK
- to APPDATA added new fields which will be used instead of TASKDATA's
- other small fixes

git-svn-id: svn://kolibrios.org@8869 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-17 09:41:16 +00:00
d4bf03befc [KERNEL] #2 Preparing to merge legacy TASKDATA into APPDATA:
- rename event_mask in APPDATA to occured_events, cause TASKDATA already has event_mask and they have different meaning and usage
- small fixes

git-svn-id: svn://kolibrios.org@8867 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-16 13:57:17 +00:00
9cdec89085 [KERNEL] Preparing to merge legacy TASKDATA into APPDATA:
- now doesnt use TASK_COUNT, now uses [thread_count] global instead of it
- update come copyrights

git-svn-id: svn://kolibrios.org@8866 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-16 10:04:10 +00:00
f3f40df401 [KERNEL] Refactoring:
- optimize struct zeroing in sys32.inc 
- set_app_param: delete setting completely unused APPDATA.event_filter (also make this field reserved)
- update some copyringhs
- other small fixes

git-svn-id: svn://kolibrios.org@8858 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-15 16:24:33 +00:00
75fe8b68da refactoring pid_to_slot:
- use constants instead of hardcoded values
- add more comments

git-svn-id: svn://kolibrios.org@8851 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-14 11:48:48 +00:00
4dea14e6e3 Delete unused function check_region (it was commented out years ago) and stub calls of this function.
git-svn-id: svn://kolibrios.org@8840 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-13 20:51:08 +00:00
Coldy
ed25f2c1ca Dll autoload
Kernel
- removed unnecessary and rewrote/add some comments, no code changes
User (lib/dll.obj)   
- Introduced new KX header as extension for existing formats
- Added staring KX header processing
- Improved import table test logic, no reason to kill app for import absence - skip 
  import processing (tnx ProMiNick)
- Add ReadMe.txt


git-svn-id: svn://kolibrios.org@8709 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-05-01 16:17:27 +00:00
Coldy
cb3d4656b9 For DLL autoload
git-svn-id: svn://kolibrios.org@8671 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-17 08:52:27 +00:00
c39db73416 taskman.inc: fixed two vulnerabilities which caused kernel memory corruption on attempt to run apps with illegal addresses in MENUET0x header
git-svn-id: svn://kolibrios.org@8593 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-14 13:21:22 +00:00
1351c15bd0 taskman.inc: add comments for unobvious things, no code changes
git-svn-id: svn://kolibrios.org@8592 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-13 23:42:08 +00:00
aaf1ac4439 Assert sizeof.APPDATA=256, use it instead of hardcoded 256 value.
git-svn-id: svn://kolibrios.org@8093 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-12 02:54:44 +00:00
db8eddbd53 Enable xsave/xrstor, attempt 2.
git-svn-id: svn://kolibrios.org@7276 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-05-13 00:16:10 +00:00
CleverMouse
43e84d7672 fix FPU after r7124 for other CPU configurations
git-svn-id: svn://kolibrios.org@7165 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-02-19 16:35:45 +00:00
0e02132b9f Replace 'equ' macros with '=' ones.
They appear in symbols file.
They don't require parentheses.
They are shorter.

git-svn-id: svn://kolibrios.org@7136 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-20 01:07:10 +00:00
9e6b9b61f7 Use xsave/xrestor if available, enable AVX* instructions.
git-svn-id: svn://kolibrios.org@7124 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-05 05:24:21 +00:00
pathoswithin
f9f1eb0d75 preparation
git-svn-id: svn://kolibrios.org@6792 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-12-09 09:48:32 +00:00
pathoswithin
8eb00f284b alternate ways of setting the string encoding for absolute paths
git-svn-id: svn://kolibrios.org@6758 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-11-25 15:11:25 +00:00
pathoswithin
31fad3ee4a UTF-8 file path input, unicode names for apps and libs
git-svn-id: svn://kolibrios.org@6502 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-08-25 19:30:08 +00:00
Sergey Semyonov (Serge)
42ff38aa22 kernel: mtdbg support code
git-svn-id: svn://kolibrios.org@6345 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-03-16 08:48:55 +00:00
Sergey Semyonov (Serge)
22e9386a23 kernel: set maximum length of a stored application path name to 1023 bytes
git-svn-id: svn://kolibrios.org@6338 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-03-13 10:30:38 +00:00
Sergey Semyonov (Serge)
8bb7273e0f hotfix r6333: copy full path
git-svn-id: svn://kolibrios.org@6337 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-03-13 09:13:27 +00:00
Sergey Semyonov (Serge)
a316af7413 kernel: new app loader
git-svn-id: svn://kolibrios.org@6333 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-03-13 06:08:07 +00:00
Sergey Semyonov (Serge)
06644f770e kernel: framebuffers code
git-svn-id: svn://kolibrios.org@6263 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-02-20 09:57:44 +00:00
Sergey Semyonov (Serge)
1c503b8257 kernel: fixed a bug with tls introduced in rev5130. Double facepalm.
git-svn-id: svn://kolibrios.org@6090 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-01-23 10:08:21 +00:00
Sergey Semyonov (Serge)
1888797ed4 trunk: merge kolibri-acpi code
git-svn-id: svn://kolibrios.org@5595 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-07-22 11:17:45 +00:00
Yogev Ezra
76a0cbdfe5 Change copyright year in kernel and drivers to 2015. No code changes.
git-svn-id: svn://kolibrios.org@5363 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-01-08 20:10:22 +00:00