Commit Graph

286 Commits

Author SHA1 Message Date
Sergey Semyonov (Serge)
4ad5e0815b kernel heap: use on demand mapping
git-svn-id: svn://kolibrios.org@1066 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-04-23 12:26:47 +00:00
Sergey Semyonov (Serge)
f7e7dc15e2 remove fixed memory variables
git-svn-id: svn://kolibrios.org@996 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-01-17 16:04:50 +00:00
Sergey Semyonov (Serge)
072729a7f2 move kernel vars into .bss
git-svn-id: svn://kolibrios.org@928 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-22 12:57:25 +00:00
Sergey Semyonov (Serge)
c01a33cfa5 sync with trunk #913
git-svn-id: svn://kolibrios.org@914 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-07 04:10:42 +00:00
Sergey Semyonov (Serge)
9ad23608e6 link dll
git-svn-id: svn://kolibrios.org@908 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-05 07:10:14 +00:00
Sergey Semyonov (Serge)
53f90bca38 exec PE
git-svn-id: svn://kolibrios.org@897 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-03 09:38:21 +00:00
Sergey Semyonov (Serge)
c6b57fbd1a PE loader. link with required dll
git-svn-id: svn://kolibrios.org@892 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-01 01:25:51 +00:00
Sergey Semyonov (Serge)
da448a7a84 PE loader. Link kernel.mnt
git-svn-id: svn://kolibrios.org@890 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-10-30 19:23:42 +00:00
Sergey Semyonov (Serge)
cb4549795b PE loader. "C" version
git-svn-id: svn://kolibrios.org@889 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-10-30 06:30:13 +00:00
Sergey Semyonov (Serge)
b7083f5742 new memory management for kernel heap
git-svn-id: svn://kolibrios.org@888 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-10-29 15:55:39 +00:00
Sergey Semyonov (Serge)
3f22b06b9f replace old kernel_free with mem_free
git-svn-id: svn://kolibrios.org@887 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-10-27 23:38:33 +00:00
Sergey Semyonov (Serge)
bc6cebbf4b mem_free
git-svn-id: svn://kolibrios.org@886 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-10-27 20:47:58 +00:00
Mihail Semenyako (mike.dld)
5620ba7561 Fixed network stack crash in stateTCB_FIN_WAIT_2 (page fault), trunk + all branches
git-svn-id: svn://kolibrios.org@871 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-10-03 05:50:39 +00:00
Iliya Mihailov (Ghost)
639d436580 and eax, 0xff -> movzx eax, al
git-svn-id: svn://kolibrios.org@865 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-09-20 05:52:34 +00:00
Sergey Semyonov (Serge)
6cb566cf5e replace old alloc_kernel_space and kernel_alloc with mem_alloc
git-svn-id: svn://kolibrios.org@864 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-09-15 15:25:03 +00:00
Sergey Semyonov (Serge)
0e79d8c724 reboot & power off
git-svn-id: svn://kolibrios.org@863 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-09-13 15:52:04 +00:00
Sergey Semyonov (Serge)
d08f862229 fixed ASSERT conditions
git-svn-id: svn://kolibrios.org@862 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-09-12 10:56:47 +00:00
Sergey Semyonov (Serge)
f806f6b7f8 fixed:
1) small heap
2) malloc
3) background image

git-svn-id: svn://kolibrios.org@861 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-09-11 20:26:49 +00:00
Sergey Semyonov (Serge)
d10c087a12 merged trunk 850 - 858
git-svn-id: svn://kolibrios.org@860 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-09-10 14:00:21 +00:00
Sergey Semyonov (Serge)
2b91637d4d 1) slab allocator
2) new kernel heap

git-svn-id: svn://kolibrios.org@859 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-09-10 13:04:24 +00:00
Sergey Semyonov (Serge)
06eb2f3614 compact static kernel memory
git-svn-id: svn://kolibrios.org@855 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-08-20 18:37:48 +00:00
Sergey Semyonov (Serge)
e7779275eb mixed compilation
git-svn-id: svn://kolibrios.org@854 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-08-13 19:13:40 +00:00
Sergey Semyonov (Serge)
4637e1f6a3 splitting kernel into sections
git-svn-id: svn://kolibrios.org@851 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-08-10 05:23:24 +00:00
Sergey Semyonov (Serge)
c6d4df748c PE kernel
git-svn-id: svn://kolibrios.org@849 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-08-09 08:38:20 +00:00
Sergey Semyonov (Serge)
7cb2a21b33 GRUB Now!!!
git-svn-id: svn://kolibrios.org@848 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-08-08 13:30:55 +00:00
Sergey Semyonov (Serge)
ebacfa0899 multiboot kernel
git-svn-id: svn://kolibrios.org@847 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-08-07 15:34:13 +00:00
Sergey Semyonov (Serge)
94030d053e preparing for GRUB
git-svn-id: svn://kolibrios.org@846 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-08-07 09:14:48 +00:00
Sergey Semyonov (Serge)
2769f0fd61 merged trunk 842
git-svn-id: svn://kolibrios.org@844 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-08-05 16:58:13 +00:00
Sergey Semyonov (Serge)
28b0948e61 initial buddy allocator
git-svn-id: svn://kolibrios.org@843 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-08-05 14:17:58 +00:00
Sergey Semyonov (Serge)
b2e313b0d9 boot time allocator
git-svn-id: svn://kolibrios.org@841 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-07-30 08:32:24 +00:00
Sergey Semyonov (Serge)
3a719cd911 allocate memory for display_data
git-svn-id: svn://kolibrios.org@840 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-07-29 15:39:22 +00:00
Sergey Semyonov (Serge)
0490e63747 redesigned memory layout
git-svn-id: svn://kolibrios.org@839 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-07-29 12:37:27 +00:00
Sergey Semyonov (Serge)
1146b67279 check for PSE and BIOS SMAP
git-svn-id: svn://kolibrios.org@838 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-07-28 14:49:38 +00:00
Sergey Semyonov (Serge)
2a2b5a8ff8 use e820 smap
git-svn-id: svn://kolibrios.org@837 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-07-28 06:29:05 +00:00
Sergey Semyonov (Serge)
981a4ac300 Removed file/folder
git-svn-id: svn://kolibrios.org@487 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-11 07:53:05 +00:00
Sergey Semyonov (Serge)
4c272bed81 update memmap.inc
git-svn-id: svn://kolibrios.org@464 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-04-13 16:20:27 +00:00
Sergey Semyonov (Serge)
8101a2af97 drivers update
git-svn-id: svn://kolibrios.org@462 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-04-13 08:17:42 +00:00
Sergey Semyonov (Serge)
73baea5f6c 1)debugger support
2)fixed bugs in get_event_for_app()

git-svn-id: svn://kolibrios.org@459 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-04-11 18:54:58 +00:00
heavyiron
1bc5430ccc removed unneeded files
!!!Note that on svn should be only sources without binary files!!!

git-svn-id: svn://kolibrios.org@458 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-04-10 19:39:14 +00:00
trolly
b4c4da41b5 corrected error in my kernel source reorganization
git-svn-id: svn://kolibrios.org@457 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-04-10 19:25:47 +00:00
trolly
298b39f497 Removed file/folder
git-svn-id: svn://kolibrios.org@456 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-04-10 19:24:29 +00:00
Sergey Semyonov (Serge)
0305115a3b 1)fix user_realloc()
2)fix mouse events 


git-svn-id: svn://kolibrios.org@455 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-04-10 12:22:37 +00:00
trolly
1db510e6a9 modified kernel from the standard kernel
it load the first app (or vrr_m) and cpu from /hd0/1/kolibri/bin

the skin is in /hd0/1/kolibri/etc/default.skn
the drivers ar loaded from /hd0/1/kolibri/drivers

the ramdisk is'nt loaded when you chose to load it from the hard-drive (because it is'nt needed)

you will also need to download the modified version of sommes app:

launcher
vrr_m
@panel 
@menu
setup
icon
jpegview
@rb

git-svn-id: svn://kolibrios.org@454 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-04-09 22:22:25 +00:00
Sergey Semyonov (Serge)
4048aef3a0 1) merged trunk
2) fn 68.20 from diamond

git-svn-id: svn://kolibrios.org@453 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-04-06 14:51:16 +00:00
Sergey Semyonov (Serge)
46c7cf52d9 fixed address bug in fat12.inc
git-svn-id: svn://kolibrios.org@445 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-31 14:34:07 +00:00
Sergey Semyonov (Serge)
cf69f09b47 copyrights
git-svn-id: svn://kolibrios.org@444 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-31 08:59:56 +00:00
Evgeny Grechnikov (Diamond)
5dc5a99124 Fixed rare bug in FAT code
git-svn-id: svn://kolibrios.org@442 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-30 13:15:50 +00:00
Sergey Semyonov (Serge)
1b3a66fd7b clear PG_GLOBAL flag
git-svn-id: svn://kolibrios.org@441 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-30 13:05:17 +00:00
Sergey Semyonov (Serge)
4a8a139540 fixed bootcode.inc
git-svn-id: svn://kolibrios.org@440 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-30 07:22:10 +00:00
Sergey Semyonov (Serge)
f72fabb279 merged trunk
git-svn-id: svn://kolibrios.org@438 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-29 11:57:39 +00:00
Sergey Semyonov (Serge)
025b91fede merged trunk
git-svn-id: svn://kolibrios.org@436 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-28 18:04:13 +00:00
Sergey Semyonov (Serge)
84fe57af51 fixed terminate()
git-svn-id: svn://kolibrios.org@433 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-28 06:16:57 +00:00
Sergey Semyonov (Serge)
13c87af9d3 1)fixed bug in fs_lfn.inc
2)cleanup


git-svn-id: svn://kolibrios.org@432 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-27 13:02:45 +00:00
Sergey Semyonov (Serge)
b26a2baf38 reduce kernel memory. single tss, copy_on_write io permission map
disabled debug

git-svn-id: svn://kolibrios.org@430 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-23 07:01:28 +00:00
Sergey Semyonov (Serge)
0e065d64a6 revision
git-svn-id: svn://kolibrios.org@428 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-22 13:18:48 +00:00
Sergey Semyonov (Serge)
e449a2473e optimization
git-svn-id: svn://kolibrios.org@427 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-22 12:01:05 +00:00
Sergey Semyonov (Serge)
139ea3d0ee fixed bug in fs_lfn, enable DMA IDE
git-svn-id: svn://kolibrios.org@421 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-20 04:33:41 +00:00
Sergey Semyonov (Serge)
b1101aa868 software task switch (experimental, disabled IDE DMA, io permission
map)


git-svn-id: svn://kolibrios.org@420 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-19 06:28:05 +00:00
Sergey Semyonov (Serge)
5f84f102c5 flat kernel
git-svn-id: svn://kolibrios.org@419 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-17 06:34:07 +00:00
Sergey Semyonov (Serge)
4c9dc158c8 memory layout
git-svn-id: svn://kolibrios.org@418 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-15 18:07:22 +00:00
Sergey Semyonov (Serge)
ef977fdf26 1)fixed hangup on reboot/restart/poweroff
2)drivers

git-svn-id: svn://kolibrios.org@417 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-13 22:09:38 +00:00
Sergey Semyonov (Serge)
d4db051a61 update
git-svn-id: svn://kolibrios.org@416 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-13 00:59:44 +00:00
heavyiron
5efd9e7bcf Mods by vhanla:
- Window is grabbed to drag only if you CLICK on its grab area (ie. the title bar) 
- Button is selected only if it is clicked on its area

git-svn-id: svn://kolibrios.org@415 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-12 21:54:24 +00:00
Sergey Semyonov (Serge)
2a81124ad8 com driver
git-svn-id: svn://kolibrios.org@414 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-12 14:14:24 +00:00
Sergey Semyonov (Serge)
8670b710f7 com driver
git-svn-id: svn://kolibrios.org@413 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-11 13:37:42 +00:00
Sergey Semyonov (Serge)
2ff588abea com driver //under construction
git-svn-id: svn://kolibrios.org@405 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-09 11:20:06 +00:00
Iliya Mihailov (Ghost)
e0c5415aa5 Small fixes for non Russian compilation
git-svn-id: svn://kolibrios.org@401 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-08 18:30:52 +00:00
Sergey Semyonov (Serge)
907e29249b 1) high LFB
2) ixed fat12 & RD write error

git-svn-id: svn://kolibrios.org@400 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-08 11:28:22 +00:00
Sergey Semyonov (Serge)
9431abc950 fixed init_page_map
git-svn-id: svn://kolibrios.org@397 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-07 12:50:38 +00:00
Sergey Semyonov (Serge)
ed47d8bf86 fixed #pf handler
git-svn-id: svn://kolibrios.org@395 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-07 05:42:05 +00:00
Sergey Semyonov (Serge)
87fc474bee high kernel
git-svn-id: svn://kolibrios.org@394 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-06 19:26:52 +00:00
Sergey Semyonov (Serge)
ecc2925f76 power off, reboot, restart
git-svn-id: svn://kolibrios.org@393 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-06 17:02:17 +00:00
Sergey Semyonov (Serge)
fd8f50d23f fixed IDE DMA
git-svn-id: svn://kolibrios.org@390 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-06 11:58:00 +00:00
Sergey Semyonov (Serge)
9140ef0cce not flat yet
git-svn-id: svn://kolibrios.org@388 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-05 20:56:42 +00:00
Sergey Semyonov (Serge)
f591baba3e create branch
git-svn-id: svn://kolibrios.org@387 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-05 20:17:43 +00:00
Mihail Semenyako (mike.dld)
dddc5bbf2d Updated gfx_kernel to revision #383
git-svn-id: svn://kolibrios.org@385 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-03 17:47:01 +00:00
Mihail Semenyako (mike.dld)
8a1c0404e2 Updated gfx_kernel to revision #383
git-svn-id: svn://kolibrios.org@384 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-03 17:43:42 +00:00
Evgeny Grechnikov (Diamond)
7f1f402a78 File subsystem: fixed function 70.0 for CD
Window subsystem: now minimized windows are not activated when program terminates
@RB: now it ignores minimized windows
CMD: version from K0600 distro (modified to use fn 70.7 instead of 19) +
     redraw does not change window border


git-svn-id: svn://kolibrios.org@154 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-09-19 13:16:31 +00:00
heavyiron
bede2c62e6 Scripts now deletes lang.inc after compiling kernel.
Removed tabs from code (preboot.inc)

git-svn-id: svn://kolibrios.org@152 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-09-19 10:39:40 +00:00
Evgeny Grechnikov (Diamond)
18c3550908 File subsystem: fixed error in function 70.5 for CD
Window subsystem: now when window coordinates are changed,
                  client area is changed too

git-svn-id: svn://kolibrios.org@150 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-09-18 12:23:52 +00:00
Evgeny Grechnikov (Diamond)
55d060c456 bootcode.inc: fixed error in loader block checks
dev_hdcd.inc: increased delay in reset function
kernel.asm: now kernel loads system programs (vrr_m/launcher and cpu) via fn 70
shutdown.inc: corrected code of rose output
IR, VRR_M: modified to use function 70 + optimization

git-svn-id: svn://kolibrios.org@143 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-31 12:56:29 +00:00
Evgeny Grechnikov (Diamond)
d3ae4b4e07 Kernel: rewritten function 4
@rcher, ac97wav, midamp, rtfread: modified to use function 70

git-svn-id: svn://kolibrios.org@139 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-28 13:34:54 +00:00
Evgeny Grechnikov (Diamond)
dde2612191 Kernel: now bootcode loads from floppy only used sectors
sysxtree: rewritten to 70th function, corrected scrollbar
copyr: new version for new sysxtree
@rcher, rtfread: modified to work with new sysxtree
midamp: added version modified to work with new sysxtree

git-svn-id: svn://kolibrios.org@134 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-24 12:33:31 +00:00
Evgeny Grechnikov (Diamond)
ec76c66cd2 File system: new function 70.4 to set file size
Graphics: fixed error when putimage and drawrect do not draw pixels
          on right and bottom window sides
Processes: fixed kernel fault when program to load is too big
Programs: EYES: now it works with new kernel (rev. 130). Size optimization.
                Blinking deleted.

git-svn-id: svn://kolibrios.org@133 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-21 13:06:02 +00:00
Evgeny Grechnikov (Diamond)
16091ddd9e File system: new function 70.3 for write to the existing file
@panel: to match K0581 distro: SYSMETER -> GMON
@numcalc: moved to the appropriate place in repository
HeEd: added english variant
NetSendC, NetSendS: added english variant + optimization
pic4: changes in set background + optimization
tetris, @rcher, board, sysxtree, vrr: new versions from K0581 distro
bgitest: fixed small error + ability to set language via lang.inc
c4: small correction in label height to match K0581 distro

git-svn-id: svn://kolibrios.org@131 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-18 13:32:18 +00:00
Mihail Semenyako (mike.dld)
e3172037f7 Added gfx_kernel branch
git-svn-id: svn://kolibrios.org@129 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-14 21:38:03 +00:00