Commit Graph

139 Commits

Author SHA1 Message Date
Doczom
cd441e7929 [KERNEL]: Replaced magic numbers with constants and cleaned code
git-svn-id: svn://kolibrios.org@9917 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-17 18:40:54 +00:00
Doczom
7028e04565 [KERNEL] cleaned code and added description of some functions
git-svn-id: svn://kolibrios.org@9911 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-04-09 18:19:13 +00:00
Doczom
cf0e9867b0 [KERNEL] updated local labels in functions and other small changes
git-svn-id: svn://kolibrios.org@9910 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-04-08 21:24:05 +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
a9d195b964 Rename fields in SYSCALL_STACK struct: _eax -> eax, etc
git-svn-id: svn://kolibrios.org@9831 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-05 14:41:51 +00:00
aa4154894c [kernel] Add is_string_userspace func, like is_region_userspace
git-svn-id: svn://kolibrios.org@9823 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-31 07:27:00 +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
Doczom
c92d2a4af9 fix 68.31
git-svn-id: svn://kolibrios.org@9442 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-18 23:39:17 +00:00
Doczom
a83d394677 add function for get SRV structure
git-svn-id: svn://kolibrios.org@9441 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-18 22:46:36 +00:00
Doczom
dc2ad5b020 add function for unload driver
git-svn-id: svn://kolibrios.org@9440 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-18 18:11:03 +00:00
Doczom
d888aca21b small update loader drivers
git-svn-id: svn://kolibrios.org@9438 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-18 11:12:02 +00:00
Doczom
36933473bc fix load driver
TODO: add function for unload driver

git-svn-id: svn://kolibrios.org@9406 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-07 02:49:57 +00:00
0f675e4534 [KERNEL] use constants instead of hardcoded values, other small fixes
git-svn-id: svn://kolibrios.org@8876 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-19 08:41:09 +00:00
8ef75d4496 [KERNEL] #4 Preparing to merge legacy TASKDATA into APPDATA:
- use thread state constants instead of hardcoded values
- other small style fixes

git-svn-id: svn://kolibrios.org@8874 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-18 08:26:02 +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
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
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
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
pathoswithin
755c9fe4d1 proper unicode support
git-svn-id: svn://kolibrios.org@6798 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-12-15 17:38:17 +00:00
pathoswithin
f9f1eb0d75 preparation
git-svn-id: svn://kolibrios.org@6792 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-12-09 09:48:32 +00:00
Sergey Semyonov (Serge)
18d0ffcc1c kernel: use undefined_syscall for undefined fn's in f68 family
git-svn-id: svn://kolibrios.org@6599 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-10-16 20:32:10 +00:00
Sergey Semyonov (Serge)
a316af7413 kernel: new app loader
git-svn-id: svn://kolibrios.org@6333 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-03-13 06:08:07 +00:00
Sergey Semyonov (Serge)
06644f770e kernel: framebuffers code
git-svn-id: svn://kolibrios.org@6263 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-02-20 09:57:44 +00:00
Sergey Semyonov (Serge)
a1e19e9f62 Kernel: minor cleanup
git-svn-id: svn://kolibrios.org@5788 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-09-03 14:52:02 +00:00
Sergey Semyonov (Serge)
3b36db1909 kernel: fix stupid bug in map_page_table()
git-svn-id: svn://kolibrios.org@5365 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-01-09 02:20:21 +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)
82d7c79bd5 kernel: validate PTE bits before mapping
git-svn-id: svn://kolibrios.org@5357 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-01-06 15:24:09 +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
727d1c9b53 fix SB16 driver broken in r3727, convert to PE
git-svn-id: svn://kolibrios.org@5057 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-08-25 09:49:27 +00:00
CleverMouse
cd8fe59acc don't rely on BIOS for returning to real mode
git-svn-id: svn://kolibrios.org@5032 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-08-15 11:18:27 +00:00
CleverMouse
b1cb69355f reconfigure MTRRs after BIOS, enable write-combining framebuffer in more configurations
git-svn-id: svn://kolibrios.org@4608 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-03-04 13:58:20 +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
a10422fbce separate USB host controller code into external drivers
git-svn-id: svn://kolibrios.org@4418 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-30 11:18:33 +00:00
Sergey Semyonov (Serge)
faf0beb393 kernel:f68.27 load_file_umode
git-svn-id: svn://kolibrios.org@3786 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-07-09 12:38:05 +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
CleverMouse
f059bc06d5 priorities in scheduler
git-svn-id: svn://kolibrios.org@3534 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-27 09:02:35 +00:00
Sergey Semyonov (Serge)
d613a64038 kernel: cleanup
git-svn-id: svn://kolibrios.org@3486 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-04-28 12:43:27 +00:00
CleverMouse
9f2e9bf07a get_pg_addr now correctly handles the kernel large page
git-svn-id: svn://kolibrios.org@3166 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-14 09:39:51 +00:00
Marat Zakiyanov (Mario79)
1b604d2521 Fix for r.1345
git-svn-id: svn://kolibrios.org@2647 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-04-25 21:35:25 +00:00
Sergey Semyonov (Serge)
1f1bf0a470 new_mem_resize hotfix
git-svn-id: svn://kolibrios.org@2595 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-04-09 15:19:40 +00:00
Sergey Semyonov (Serge)
fdbd14a1ca rewritten new_mem_resize
git-svn-id: svn://kolibrios.org@2594 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-04-09 13:19:32 +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)
0735fd9e1b fn.40: ebx bit 30 - do not send mouse events if cursor outside window
git-svn-id: svn://kolibrios.org@2414 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-02-28 08:36:15 +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
Marat Zakiyanov (Mario79)
e4aa2672b0 Decrease size of shadow buffer for VGA. The old size is 2-fold excess of actual need.
git-svn-id: svn://kolibrios.org@2398 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-02-24 19:20:05 +00:00