Commit Graph

59 Commits

Author SHA1 Message Date
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
Evgeny Grechnikov (Diamond)
925adfd15a changed background handling
git-svn-id: svn://kolibrios.org@546 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-06-18 16:39:42 +00:00
Sergey Semyonov (Serge)
fef69aab20 merge flat kernel
git-svn-id: svn://kolibrios.org@465 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-04-18 06:37:14 +00:00
Evgeny Grechnikov (Diamond)
1408306a87 New sysfunction 68.20: reallocate memory block
git-svn-id: svn://kolibrios.org@448 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-04-02 14:29:39 +00:00
Sergey Semyonov (Serge)
5b119159d4 copyrights
git-svn-id: svn://kolibrios.org@431 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-26 12:18:08 +00:00
victor
21e4bc0233 added computing of current #revision for kernel *.inc and *.asm files
git-svn-id: svn://kolibrios.org@425 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-21 22:58:33 +00:00
Sergey Semyonov (Serge)
a90d0cfe1d replace vars 0x8000 0xC000 0xC004 0xD000 0x80000 whith symbolic constants
rename PROC_BASE -> SLOT_BASE


git-svn-id: svn://kolibrios.org@380 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-28 10:51:05 +00:00
Sergey Semyonov (Serge)
d7c8e47442 fixed kernel heap
git-svn-id: svn://kolibrios.org@369 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-22 06:41:46 +00:00
Sergey Semyonov (Serge)
c3f06c82fb rename pages_tab -> page_tabs
git-svn-id: svn://kolibrios.org@365 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-20 12:05:24 +00:00
Sergey Semyonov (Serge)
ee29610808 dynamic stack with fpu state area
git-svn-id: svn://kolibrios.org@357 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-17 10:09:23 +00:00
Evgeny Grechnikov (Diamond)
1ace68286b * New sysfunction 70.9, create folder
* Deleted obsolete 58.4 (create folder 8.3 on hd)
* Updated docs
* Bugfixes (file system; core; direct screen access), improvements (sysfn 70.3)
* KFar 0.21, full error handling, folder creation (with new kernel)

git-svn-id: svn://kolibrios.org@321 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-05 14:20:36 +00:00
Evgeny Grechnikov (Diamond)
3f37e88368 * Fixed memory leak in new_mem_resize (caused by off-by-one error).
* user_alloc and user_free now update memory size information.

git-svn-id: svn://kolibrios.org@294 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-01-25 13:42:23 +00:00
Sergey Semyonov (Serge)
15170454cc imports header
kernel objects
segmented sound buffers

git-svn-id: svn://kolibrios.org@281 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-01-19 03:58:46 +00:00
Sergey Semyonov (Serge)
14256358ea added release_pages, heap_mutex
git-svn-id: svn://kolibrios.org@279 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-01-18 07:31:56 +00:00
Sergey Semyonov (Serge)
f825a71d89 rewritten reg_service, get_service, stop_all_services
git-svn-id: svn://kolibrios.org@278 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-01-18 02:06:00 +00:00
Evgeny Grechnikov (Diamond)
d6ffa8cd02 retry bugfix in user_alloc from revision 213
git-svn-id: svn://kolibrios.org@270 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-01-11 14:43:51 +00:00
Sergey Semyonov (Serge)
fd12438007 fixed bug in user_free
git-svn-id: svn://kolibrios.org@266 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-01-09 18:30:35 +00:00
Sergey Semyonov (Serge)
f5b902bbee small optimization
git-svn-id: svn://kolibrios.org@254 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-12-29 07:12:27 +00:00
Sergey Semyonov (Serge)
00b8fb388c 1)fixed bug with wrong lfb size on some old videocards
2)set fpu/sse to default state for new thread
3)added driver sceletone

git-svn-id: svn://kolibrios.org@214 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-11-20 07:06:00 +00:00