Commit Graph

77 Commits

Author SHA1 Message Date
4165acdf83 Remove $Revision$ from kernel file headers
- To better support git, remove SVN dependant `$Revision$` from file headers. This does *not* remove: the use of `__REV__` macro in `boostr.inc` and `kernel.asm`
- Header Copyright notices updated to 2024.
- Minimal white space cleanup (trailing spaces automatically removed).
- Note: `asmxygen.py` has a *large* amount of whitespace cleanup, due to incorrect line endings.

git-svn-id: svn://kolibrios.org@10051 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-22 15:15:14 +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
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
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
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
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
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
hidnplayr
5a633309ff ай-яй-яй: Fix #7967
git-svn-id: svn://kolibrios.org@7968 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-22 15:44:06 +00:00
hidnplayr
d397ad5154 User-land ring buffers.
git-svn-id: svn://kolibrios.org@7967 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-22 15:38:59 +00:00
hidnplayr
9ab5b699d5 Improved readability, no semantic changes.
git-svn-id: svn://kolibrios.org@7965 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-21 13:55:36 +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
0CodErr
ea4f9aa063 remove unnecessary check
git-svn-id: svn://kolibrios.org@6974 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-09-13 10:53:39 +00:00
pathoswithin
a4a06a81a0 no need for manual heap initialization (68.11)
git-svn-id: svn://kolibrios.org@6893 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-13 06:41:42 +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)
2ce28a4047 kernel: total globalization
git-svn-id: svn://kolibrios.org@5359 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-01-06 16:09:34 +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)
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
CleverMouse
0fb3c4300c KernelAlloc/KernelFree are called from IRQ handlers in network drivers, so make them spinlock-protected instead of mutex-protected
git-svn-id: svn://kolibrios.org@4391 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-20 17:38:01 +00:00
Sergey Semyonov (Serge)
6298589632 kernel: fix user_unmap
git-svn-id: svn://kolibrios.org@3798 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-07-10 09:29:34 +00:00
CleverMouse
17c018e1af fix insignificant misprint
git-svn-id: svn://kolibrios.org@3371 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-13 09:48:46 +00:00
Sergey Semyonov (Serge)
629515a9f6 heap.inc: Fix indention. Why don't we use 12 spaces ?
git-svn-id: svn://kolibrios.org@3246 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-17 12:07:32 +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
Sergey Semyonov (Serge)
a6898aa575 change application heap size and shared dll locations
git-svn-id: svn://kolibrios.org@2412 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-02-27 08:28:06 +00:00
Sergey Semyonov (Serge)
8c4037718d new 68.26 user_unmap(void* block_base, unsigned int offset, size_t unmap_size);
git-svn-id: svn://kolibrios.org@2400 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-02-24 21:47:01 +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)
be59696270 merge kolibri_acpi #2156
git-svn-id: svn://kolibrios.org@2167 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-09-10 10:58:39 +00:00
Sergey Semyonov (Serge)
751664d089 heap: fix memory leakage
git-svn-id: svn://kolibrios.org@2164 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-09-07 21:27:52 +00:00
Sergey Semyonov (Serge)
1804fc6d05 merge kolibri-acpi #2151
git-svn-id: svn://kolibrios.org@2154 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-09-04 16:41:24 +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
Sergey Semyonov (Serge)
ff13f0e607 1)kernel_free: set proper return value
2)export get_timer_ticks

git-svn-id: svn://kolibrios.org@1615 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-09-13 19:59:03 +00:00
Marat Zakiyanov (Mario79)
e454817cbc Fix for function 68.23 - infinite loop after CLI and PAGE FAULT for destroy_smap
git-svn-id: svn://kolibrios.org@1501 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-19 19:57:00 +00:00
Evgeny Grechnikov (Diamond)
c9db05056e kernel heap size restored to correct value after rev. 1130
git-svn-id: svn://kolibrios.org@1332 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-26 12:35:19 +00:00
Evgeny Grechnikov (Diamond)
e463f78e27 dynamic libraries now share unmodified pages
git-svn-id: svn://kolibrios.org@1289 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-27 23:49:47 +00:00
Sergey Semyonov (Serge)
00c7719786 bugfix of 68.22
git-svn-id: svn://kolibrios.org@1213 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-13 11:01:18 +00:00
Evgeny Grechnikov (Diamond)
c752107a02 fixed kernel heap manager broken in rev. 1090
git-svn-id: svn://kolibrios.org@1130 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-07-25 13:12:11 +00:00
Evgeny Grechnikov (Diamond)
0226898ca6 Work with small amount of physical memory corrected (bug #9, part 1)
git-svn-id: svn://kolibrios.org@1090 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-05-29 19:28:27 +00:00
Evgeny Grechnikov (Diamond)
5628c096c5 some cosmetic fixes
git-svn-id: svn://kolibrios.org@983 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-12-28 21:21:41 +00:00
Sergey Semyonov (Serge)
34c30dea68 destroy shared memory. update docs
git-svn-id: svn://kolibrios.org@945 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-12-06 20:24:43 +00:00
Sergey Semyonov (Serge)
07cb3855b0 shmem_close()
git-svn-id: svn://kolibrios.org@943 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-12-04 06:04:21 +00:00
Sergey Semyonov (Serge)
4ac08fc6e9 shmem_open()
git-svn-id: svn://kolibrios.org@940 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-30 19:04:25 +00:00
Evgeny Grechnikov (Diamond)
1827396bcc bugfixes in 68.20 for decreasing allocated memory size
git-svn-id: svn://kolibrios.org@823 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-07-11 10:49:21 +00:00
Sergey Semyonov (Serge)
ed2e35a24c 1) unmap_pages
2) code cleanup

git-svn-id: svn://kolibrios.org@819 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-07-04 20:44:53 +00:00
Sergey Semyonov (Serge)
1fe26ef9de fixed kernel heap size
git-svn-id: svn://kolibrios.org@793 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-04-21 09:44:14 +00:00
Sergey Semyonov (Serge)
81e27e05e7 fix load_file
git-svn-id: svn://kolibrios.org@663 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-10-21 02:16:16 +00:00
Sergey Semyonov (Serge)
39d4709d97 yet another stdcall fix
git-svn-id: svn://kolibrios.org@662 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-10-20 21:02:38 +00:00
Sergey Semyonov (Serge)
0c4aa274bd fix some kernel stdcall functions
git-svn-id: svn://kolibrios.org@660 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-10-20 17:11:22 +00:00
Evgeny Grechnikov (Diamond)
324c641d1a bugfixes in 68.20
git-svn-id: svn://kolibrios.org@620 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-09-05 11:18:20 +00:00
Mihail Semenyako (mike.dld)
92f657f440 Revision numbering fix
git-svn-id: svn://kolibrios.org@593 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-07-27 13:52:03 +00:00