Commit Graph

110 Commits

Author SHA1 Message Date
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
Sergey Semyonov (Serge)
b4814c7084 kernel: update PTE bits
git-svn-id: svn://kolibrios.org@5356 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-01-06 14:53:54 +00:00
Sergey Semyonov (Serge)
5c0b9990c8 kernel: remove Screen_Max_X and Screen_Max_Y variables
git-svn-id: svn://kolibrios.org@5350 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-01-05 17:18:45 +00:00
Sergey Semyonov (Serge)
2f6c0cead9 kernel: initialize handle table
git-svn-id: svn://kolibrios.org@5202 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-12-01 04:35:53 +00:00
Sergey Semyonov (Serge)
76d618357e kernel: kolibri-process merged into trunk. This is my little gift to myself for my birthday.
git-svn-id: svn://kolibrios.org@5130 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-09-18 07:58:56 +00:00
Sergey Semyonov (Serge)
3e99300152 kernel: minor optimizations
git-svn-id: svn://kolibrios.org@4424 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-02 19:43:51 +00:00
Sergey Semyonov (Serge)
1e36f2a2c8 Kernel: export new_sys_threads as CreateThread. Remove hack in set_app_params that allowed creating threads in kernel context under certain conditions
git-svn-id: svn://kolibrios.org@4105 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-26 16:11:59 +00:00
Marat Zakiyanov (Mario79)
d94d0534e6 Extended the command line for kernel
git-svn-id: svn://kolibrios.org@3828 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-07-20 07:36:53 +00:00
CleverMouse
f059bc06d5 priorities in scheduler
git-svn-id: svn://kolibrios.org@3534 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-27 09:02:35 +00:00
CleverMouse
c1284fc3b6 USB support
git-svn-id: svn://kolibrios.org@3520 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-17 23:53:28 +00:00
CleverMouse
d30caf231a ability to create kernel threads
git-svn-id: svn://kolibrios.org@3325 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-04 13:58:55 +00:00
CleverMouse
165c453d43 protect thread from external terminate while running sysfn 70
git-svn-id: svn://kolibrios.org@3296 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-28 22:03:45 +00:00
Marat Zakiyanov (Mario79)
8d6608fe2d Function 9 - returning is really 11 char is now, for: +10 = +0xA: 11 bytes: name of the process (name of the started file - executable file without extension).
git-svn-id: svn://kolibrios.org@2625 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-04-17 22:17:20 +00:00
Marat Zakiyanov (Mario79)
9b04adedbd Fix for r.2497
git-svn-id: svn://kolibrios.org@2586 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-04-07 20:20:25 +00:00
Marat Zakiyanov (Mario79)
32e6e19b5e Correction for r.2497. Restore user defined cursor by f.37.5, after showing clock_arrow mouse pointer.
git-svn-id: svn://kolibrios.org@2503 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-23 20:13:09 +00:00
Marat Zakiyanov (Mario79)
05bd5db1d7 Fix for previous revision.
git-svn-id: svn://kolibrios.org@2498 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-22 22:09:59 +00:00
Marat Zakiyanov (Mario79)
e24480a9ce Change cursor when loading applications. The new cursor with the clock.
git-svn-id: svn://kolibrios.org@2497 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-22 19:12:53 +00:00
Marat Zakiyanov (Mario79)
2f699083c4 1) Correcting information about copiright
2) VESA draw the small speedup

git-svn-id: svn://kolibrios.org@2455 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-13 16:51:57 +00:00
hidnplayr
e7bade16fe Adapted more structures to use new struct.inc
git-svn-id: svn://kolibrios.org@2384 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-02-23 18:52:13 +00:00
CleverMouse
037099f50d Style corrected for new rules, no semantic changes
git-svn-id: svn://kolibrios.org@2288 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-10-14 21:38:50 +00:00
Sergey Semyonov (Serge)
20a4ca93e3 taskman:fix error reporting
git-svn-id: svn://kolibrios.org@2157 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-09-05 11:23:08 +00:00
Sergey Semyonov (Serge)
246c135659 irq: reset fail counter
all kernel: replace old non-blocking mutexes

git-svn-id: svn://kolibrios.org@2129 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-08-27 10:59:48 +00:00