Commit Graph

48 Commits

Author SHA1 Message Date
fe0d0438ff Use e820entry macro instead of hardcoded values.
git-svn-id: svn://kolibrios.org@8217 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-17 21:47:10 +00:00
a9121a0da9 kernel: Split acpi.inc and hpet.inc from init.inc.
Also, replace some hardcoded constants with macros.

git-svn-id: svn://kolibrios.org@8111 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-21 14:23:51 +00:00
f8b90e92fa translate russian comments to english #3, no code changes
git-svn-id: svn://kolibrios.org@8052 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-07-16 13:51:29 +00:00
cbceb320e8 kernel: Support more than one I/O APIC and 24 interrupts.
git-svn-id: svn://kolibrios.org@7733 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-03-02 04:25:30 +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
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
c14a80d34f Add UEFI stuff.
git-svn-id: svn://kolibrios.org@7130 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-16 21:10:49 +00:00
6494817540 Add EFLAGS_* macros, get rid of some more magic numbers.
git-svn-id: svn://kolibrios.org@7126 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-05 06:39:34 +00:00
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
Sergey Semyonov (Serge)
d0092175df kernel: export acpi root table pointer
git-svn-id: svn://kolibrios.org@6590 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-10-13 18:03:56 +00:00
Sergey Semyonov (Serge)
50e97c60fa kernel: restart, reboot and power off
git-svn-id: svn://kolibrios.org@6244 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-02-18 02:03:38 +00:00
Sergey Semyonov (Serge)
e2da0771d6 Kernel: Good news, everyone! Now kernel starts at 0.25 seconds faster.
git-svn-id: svn://kolibrios.org@5792 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-09-04 15:20:25 +00:00
Sergey Semyonov (Serge)
a410b6abe3 Kernel: use 22.10 fixed point arithmetic in HPET timestamp calculation.
git-svn-id: svn://kolibrios.org@5791 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-09-04 11:50:27 +00:00
Sergey Semyonov (Serge)
530a133818 Kernel: Initial HPET support
git-svn-id: svn://kolibrios.org@5787 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-09-03 14:47:08 +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)
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
CleverMouse
39d0c4cbda test_cpu: simplify & detect physical address width
git-svn-id: svn://kolibrios.org@4593 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-02-25 19:12:10 +00:00
CleverMouse
3a9d9f866f set type of memory range detected without BIOS, fix r2466
git-svn-id: svn://kolibrios.org@4390 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-20 13:13:43 +00:00
Sergey Semyonov (Serge)
f03da1efd4 kernel: removed unnecessary duplication of BOOT_VAR
git-svn-id: svn://kolibrios.org@3732 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-29 08:26:56 +00:00
CleverMouse
32b4fcb9ab recode all kernel sources to UTF-8; binary still uses single-byte encoding and isn't changed at all
git-svn-id: svn://kolibrios.org@3539 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-27 22:16:00 +00:00
Sergey Semyonov (Serge)
791845236e merge acpi
git-svn-id: svn://kolibrios.org@2466 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-15 13:05:45 +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)
2f5fd7a295 trunk: print cpu count on the debug board
git-svn-id: svn://kolibrios.org@2443 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-09 15:50:49 +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)
a61cc1cc58 merge apic code
git-svn-id: svn://kolibrios.org@2231 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-09-22 16:44:10 +00:00
Sergey Semyonov (Serge)
e06410d094 merge acpi #2217
git-svn-id: svn://kolibrios.org@2218 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-09-21 09:13:47 +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
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)
e84fb6973a Number of system pages corrected
git-svn-id: svn://kolibrios.org@1454 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-04-20 21:03:47 +00:00
Artem Jerdev (art_zh)
91ae6e8a7f useless i486-code removed from init.inc
git-svn-id: svn://kolibrios.org@1453 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-04-19 08:20:58 +00:00
Artem Jerdev (art_zh)
0d32c5bfec kernel PTE initialization bug fixed
git-svn-id: svn://kolibrios.org@1451 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-04-16 21:47:03 +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)
3bfcc9b988 init_page_map fixed
git-svn-id: svn://kolibrios.org@1331 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-25 22:47:29 +00:00
Evgeny Grechnikov (Diamond)
d165a4f143 align
git-svn-id: svn://kolibrios.org@1131 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-07-25 13:38:17 +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)
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
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
Alexey Teplov (
42ea13c96b change mov [cpu_type],0 on mov [cpu_type],eax
git-svn-id: svn://kolibrios.org@942 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-12-01 07:16:04 +00:00
Iliya Mihailov (Ghost)
251159e3c5 Small bug fix in init_BIOS32
git-svn-id: svn://kolibrios.org@756 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-24 04:04:33 +00:00
victor
524ca9c4c7 Placed copyright and properties "svn: keywords Rev"
git-svn-id: svn://kolibrios.org@750 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-19 07:14:38 +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
Sergey Semyonov (Serge)
a4f10b7565 From Ghost: calls to PCIBIOS services
git-svn-id: svn://kolibrios.org@586 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-07-23 17:50:42 +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
Sergey Semyonov (Serge)
f111d6969f string manipulation routines for drivers and kernel
enable global page support after paging 

git-svn-id: svn://kolibrios.org@519 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-23 11:26:19 +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