Commit Graph

56 Commits

Author SHA1 Message Date
Ivan Baravy
73d12d1c99 Edit memmap to increase space for the kernel.
Move TMP_STACK_TOP and sys_proc higher.
Add a static assert to save some time in the future.

git-svn-id: svn://kolibrios.org@8085 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-02 12:23:04 +00:00
hidnplayr
709f961e4c memmap: remove some incorrect information
git-svn-id: svn://kolibrios.org@7964 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-21 13:37:33 +00:00
Ivan Baravy
368d42ffae Update BOOT_DATA structure and use it instead of all the BOOT_* vars.
git-svn-id: svn://kolibrios.org@7132 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-17 02:12:53 +00:00
Ivan Baravy
09684c0db9 Synchronize memmap.inc and const.inc, replace hardcoded numbers with macros.
git-svn-id: svn://kolibrios.org@7122 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-11-29 22:03:58 +00:00
Ivan Baravy
16d9a4a4bc Remove VRR code, mostly commented out anyway.
git-svn-id: svn://kolibrios.org@7121 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-11-29 00:15:25 +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
CleverMouse
1842871f8f support for PnP disks, part 5: FAT12, ramdisk, floppies
git-svn-id: svn://kolibrios.org@4273 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-21 16:07:16 +00:00
Marat Zakiyanov (Mario79)
8f439a5b9a The fonts char.mt and char2.mt are included in the kernel is now.
git-svn-id: svn://kolibrios.org@2640 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-04-20 22:22:57 +00:00
Marat Zakiyanov (Mario79)
5f344577c8 1) Fix for r. 2504
2) Corrected memmap.inc

git-svn-id: svn://kolibrios.org@2525 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-29 23:27:07 +00:00
Marat Zakiyanov (Mario79)
659824c952 'Event 5' is changed now. Event returns after redrawing the background.
git-svn-id: svn://kolibrios.org@2513 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-27 20:02:50 +00:00
Marat Zakiyanov (Mario79)
6b82f99a8b 1) Fix for r. 2485
2) Corrected memmap.inc

git-svn-id: svn://kolibrios.org@2504 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-24 12:51:49 +00:00
Marat Zakiyanov (Mario79)
3bd1f7b7ce 1) Fix for r. 2480
2) Corrected memmap.inc

git-svn-id: svn://kolibrios.org@2485 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-20 23:01:50 +00:00
Marat Zakiyanov (Mario79)
4ba4f03104 Fix for r.2446 - for Qemu or non-standart videocards. Unfortunately [BytesPerScanLine] does not always equal to [_display.width]*[ScreenBPP]/8
git-svn-id: svn://kolibrios.org@2480 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-19 20:56:55 +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
Marat Zakiyanov (Mario79)
4832ce7a33 VESA draw some speedup (line, points, text, numbers)
git-svn-id: svn://kolibrios.org@2438 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-08 19:10:26 +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
Artem Jerdev (art_zh)
a9bc0ed088 Extended PCI-express configuration space
can now be manually configured for non-AMD machines

git-svn-id: svn://kolibrios.org@1487 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-08 14:58:29 +00:00
Artem Jerdev (art_zh)
999126566d 1) back to #1451 to save some phys. memory
2) non-PSE paging restored
3) documentation corrected

git-svn-id: svn://kolibrios.org@1455 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-04-22 15:33:55 +00:00
Artem Jerdev (art_zh)
8e6ff896c2 memmap info corrected
git-svn-id: svn://kolibrios.org@1393 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-02-07 14:48:39 +00:00
Artem Jerdev (art_zh)
038c6d5b23 memmap.inc corrected; all free holes listed
git-svn-id: svn://kolibrios.org@1388 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-02-04 12:07:41 +00:00
Evgeny Grechnikov (Diamond)
26d83dcf4a keep physical page 0 intact (used by some BIOSes in int 13h)
git-svn-id: svn://kolibrios.org@1172 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-22 17:10:24 +00:00
Evgeny Grechnikov (Diamond)
7931378fda use fn E820 of int 15h to query memory map (if available)
git-svn-id: svn://kolibrios.org@1103 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-06-04 19:43:17 +00:00
Galkov
82da211b9b sys32 - concentration all (except #NM) exception handlers in ecx_c for optimization purpose
debug  - moved handler to sys32::exc_c
fpu    - moved except_16/19 to sys32::exc_c
memory - changing interface for page_fault_handler
v86    - changing interface for handler v86_exc_c
kernel - small optimization

git-svn-id: svn://kolibrios.org@1056 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-04-04 19:58:42 +00:00
Evgeny Grechnikov (Diamond)
ebeed28881 * V86 manager
* support of drives visible by BIOS through V86 mode
* shutdown fixes
* background redraw fixes
* when booting from CD/DVD, load all floppy by tracks, not only used sectors

git-svn-id: svn://kolibrios.org@709 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-04 15:31:59 +00:00
Sergey Semyonov (Serge)
b26531da12 reduce core memory
git-svn-id: svn://kolibrios.org@581 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-07-16 16:19:43 +00:00
Marat Zakiyanov (Mario79)
b229fdc2c2 The universal cache of IDE devices.
Step 1:
1) Allocate of separate area for everyone IDE device.
2) Usage of the allocated areas for HDD. (Cache CD\DVD - not realized, but the memory for it is allocated. This be realized  in step 2).
3) The area of memory 0x80300000 - > 0x80400000 now is free and is not used.
4) The area of memory 0x80284000 - > 0x8028BFFF is used for HDD DMA.

git-svn-id: svn://kolibrios.org@580 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-07-15 23:22:14 +00:00
Evgeny Grechnikov (Diamond)
0e12a2072c make background redraw faster
git-svn-id: svn://kolibrios.org@555 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-06-26 15:52:28 +00:00
victor
07486a11e4 change format outputed data sysfunc 18.13
see sysfuncs.txt

git-svn-id: svn://kolibrios.org@540 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-06-11 15:42:19 +00:00
Sergey Semyonov (Serge)
692d24b4ec additional space for kernel code
git-svn-id: svn://kolibrios.org@516 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-21 18:36:02 +00:00
Sergey Semyonov (Serge)
4c1ad6f2c7 align heap_base on 4Mb border
move sys_pgmap at the top of kernel memory

git-svn-id: svn://kolibrios.org@513 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-20 10:01:18 +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
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)
04929cf017 1)fixed wrong exported LFB address
2)replace 0x3000 0x3004 0x3010 0x3020 whith symbolic constants


git-svn-id: svn://kolibrios.org@379 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-28 08:52:06 +00:00
Sergey Semyonov (Serge)
73c568fb03 1)new memory layout
2)Infinity 1.0

git-svn-id: svn://kolibrios.org@378 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-27 11:47:52 +00:00
Sergey Semyonov (Serge)
0f0c0aabfa reduce kernel memory
git-svn-id: svn://kolibrios.org@363 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-19 08:22:55 +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)
76d3050df9 Kernel updated to 0.6.5.0
git-svn-id: svn://kolibrios.org@346 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-14 16:01:07 +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)
822a9715c4 * Modified sysfunction 65 (see documentation), use new KFAR
* Deleted useless sysfunction 59 (syscalls trace)
* Load vmode.mdr via new file subsystem
* KFar 0.2

git-svn-id: svn://kolibrios.org@314 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-02 15:09:14 +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
Sergey Semyonov (Serge)
f96c2c867c 16Mb version
git-svn-id: svn://kolibrios.org@212 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-11-16 10:59:49 +00:00
Ivan Poddubny
3e2bc5b35f Introduced APPDATA, TASKDATA, WNDDATA, RECT, BOX structures.
git-svn-id: svn://kolibrios.org@115 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-06 10:29:45 +00:00
Ivan Poddubny
82859246df Direct window activation without osloop/checkwindows, straightforward window minimizing
git-svn-id: svn://kolibrios.org@105 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-07-25 10:48:35 +00:00
Ivan Poddubny
c5b30426a8 1. a little fix for scheduler + correct comments
2. refactored window activation/ process termination/ getting active process
3. deleted dead code in checkwindows
4. eliminated almost all accesses to 0x3020+...+0xe, changed to direct process number
5. cli/sti in vesa12 and vga drivers and in calculatescreen
6. skipping dead windows in some funcs in window.inc

git-svn-id: svn://kolibrios.org@102 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-07-23 14:47:32 +00:00
Marat Zakiyanov (Mario79)
c9d4558817 Mihaylov Iliya Andreevich aka Ghost
Advanced Power Management
SYSTEM CALL
eax = 49
dx = number of the function APM BIOS (Is similar AX in real mode)
Others registers (bx, cx) on the specification (see. docs/apm.zip>apm.txt)
Result: on the specification (including CF), the high part 32 bit registers is not defined


git-svn-id: svn://kolibrios.org@76 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-05-06 14:34:30 +00:00
Ivan Poddubny
7e96e14297 memmap.inc: marked areas reserved by physical memory manager.
physmem.inc: fixed a little bug with cld/std with allocating and copying a physical memory block.

git-svn-id: svn://kolibrios.org@69 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-04-18 17:56:52 +00:00
Evgeny Grechnikov (Diamond)
aa7be4e6f1 Debug subsystem: added DRx registers support
git-svn-id: svn://kolibrios.org@66 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-04-10 15:20:34 +00:00
Marat Zakiyanov (Mario79)
333b0bbae6 1) Parallel processing of mouses: PS2, COM1, COM2
2) Detection PS2 mouse.
3) Switching FPU in PM with reset.
4) Click on the application button - works only if during release of a up-button mouse the cursor is on the button application. Realization Victor Alberto Gil Hanla (vhanla). Version 1.1
5) Return of focus (activated window) on previous application at completion of the active application
6) Change skin of header of windows type 4, at loss and return of focus (activated window).

git-svn-id: svn://kolibrios.org@33 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-01-06 11:46:26 +00:00
Ivan Poddubny
182a9c6899 fixed a bug in sched.inc (speaker)
fixed exception handlers - shows correct EIP of a terminated process

some corrections to memmap.inc

git-svn-id: svn://kolibrios.org@22 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-11-10 17:59:41 +00:00
Ivan Poddubny
905bbcc1fa * A bug with esp0 of processes has been fixed.
* Some minor corrections for memmap.inc and others

git-svn-id: svn://kolibrios.org@14 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-10-27 12:40:46 +00:00