Commit Graph

450 Commits

Author SHA1 Message Date
Marat Zakiyanov (Mario79)
8a0dae3f14 1) Dynamic setting interrupts for IDE controller
2) Fixed problems with some hardware (eBox IDE Native mode and similar)


git-svn-id: svn://kolibrios.org@3762 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-07-05 06:43:56 +00:00
CleverMouse
4db18bd0de merge PE and COFF export tables into one
git-svn-id: svn://kolibrios.org@3761 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-07-04 21:14:34 +00:00
Sergey Semyonov (Serge)
1281879463 kernel: apic hotfix from CleverMouse
git-svn-id: svn://kolibrios.org@3751 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-07-03 08:39:54 +00:00
CleverMouse
87cf596e85 USB: new API for drivers to query device characteristics
git-svn-id: svn://kolibrios.org@3745 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-07-01 21:35:01 +00:00
CleverMouse
d59bc76c6d support for PnP disks, part 4: move NTFS,EXT2,/hd*,/bd* to the new interface
git-svn-id: svn://kolibrios.org@3742 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-07-01 16:29:16 +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
c8f93d8d8f fix V86 IRQ redirecting when task switch is needed, it never worked before
git-svn-id: svn://kolibrios.org@3696 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-24 07:49:56 +00:00
CleverMouse
1a7694e453 malloc/free do not change ebx now
git-svn-id: svn://kolibrios.org@3681 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-18 10:33:19 +00:00
CleverMouse
bf4022be57 be more fair
git-svn-id: svn://kolibrios.org@3617 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-07 17:05:31 +00:00
CleverMouse
30b17fb697 allow high-priority threads to wakeup after any IRQ, not just timer
git-svn-id: svn://kolibrios.org@3615 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-07 16:46:52 +00:00
shikhin
d4216492e1 Fixed sys_msg_board (fn 63) to not rely on cross_order and take arguments in original order.
git-svn-id: svn://kolibrios.org@3614 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-07 14:12:54 +00:00
CleverMouse
a77e7ee15d make macro for push imm/pop dst
git-svn-id: svn://kolibrios.org@3598 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-04 11:14:37 +00:00
Sergey Semyonov (Serge)
d81e718e9b Kernel: remove useless MOUSE_DOWN MOUSE_BACKGROUND DONT_DRAW_MOUSE.
git-svn-id: svn://kolibrios.org@3558 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-28 19:40:50 +00:00
hidnplayr
e4cf34c0de Merge new network stack with trunk
git-svn-id: svn://kolibrios.org@3545 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-28 17:34:26 +00:00
CleverMouse
efb80df08b never relink mouse handler
git-svn-id: svn://kolibrios.org@3543 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-28 16:29:26 +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
CleverMouse
b7d54cce54 export USB API to drivers
git-svn-id: svn://kolibrios.org@3524 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-20 08:45:18 +00:00
CleverMouse
c1284fc3b6 USB support
git-svn-id: svn://kolibrios.org@3520 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-17 23:53:28 +00:00
CleverMouse
5f291d1d1c small fix - 3
git-svn-id: svn://kolibrios.org@3513 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-16 21:15:02 +00:00
CleverMouse
0f3580df30 small fix - 2
git-svn-id: svn://kolibrios.org@3512 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-16 19:14:59 +00:00
CleverMouse
8573603b63 small fix
git-svn-id: svn://kolibrios.org@3511 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-16 18:45:41 +00:00
CleverMouse
0674683a36 correction for r3505: exclude IRQ6, 14, 15 and keyboard handler
git-svn-id: svn://kolibrios.org@3509 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-15 18:17:49 +00:00
CleverMouse
9bae783f11 workaround for handlers registered with wrong IRQ
git-svn-id: svn://kolibrios.org@3505 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-15 15:10:55 +00:00
Marat Zakiyanov (Mario79)
f3b083075c Kernel scheduler - equal rights for all threads. Discussion http://board.kolibrios.org/viewtopic.php?f=35&t=2303
git-svn-id: svn://kolibrios.org@3504 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-14 22:47:15 +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
Sergey Semyonov (Serge)
d67b35544c kernel: export GetCpuFreq
git-svn-id: svn://kolibrios.org@3481 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-04-26 10:57:25 +00:00
hidnplayr
4803caa65f bug in v86 irq, spotted by mikedld
git-svn-id: svn://kolibrios.org@3400 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-21 06:51:48 +00:00
Sergey Semyonov (Serge)
1c5f400737 kernel: export pe disk functions
git-svn-id: svn://kolibrios.org@3397 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-20 02:30:07 +00:00
Sergey Semyonov (Serge)
6e80a53e5e kernel: wait_event_timeout
git-svn-id: svn://kolibrios.org@3390 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-19 03:38:52 +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
Yogev Ezra
b2da70be62 Group all Spanish translations in one place
git-svn-id: svn://kolibrios.org@3345 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-06 15:04:33 +00:00
Yogev Ezra
d1a0e37e4c Fix iglobal directive usage try 3
git-svn-id: svn://kolibrios.org@3344 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-06 14:21:43 +00:00
Yogev Ezra
d5752dec0e Fix iglobal directive usage try 2
git-svn-id: svn://kolibrios.org@3343 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-06 13:43:28 +00:00
Yogev Ezra
8acd7b0e95 Fix iglobal directive usage
git-svn-id: svn://kolibrios.org@3342 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-06 13:29:34 +00:00
Yogev Ezra
d990bce2e4 Fix Spanish language selection
git-svn-id: svn://kolibrios.org@3341 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-06 12:04:53 +00:00
CleverMouse
d30caf231a ability to create kernel threads
git-svn-id: svn://kolibrios.org@3325 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-04 13:58:55 +00:00
CleverMouse
31e9ec37f4 fix r2601
git-svn-id: svn://kolibrios.org@3320 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-04 11:01:50 +00:00
esevece
d2e8899b67 More spanish translation
git-svn-id: svn://kolibrios.org@3309 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-02 20:57:38 +00:00
CleverMouse
a5c1457eb0 I'm sorry
git-svn-id: svn://kolibrios.org@3304 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-01 10:30:42 +00:00
CleverMouse
a321a83609 Protect thread from external terminate while running any syscall except 5,10,23.
Now 18.2/18.12 are really safe through kernel-colored glasses (however, you still
should not use them except for really critical cases),
although the protection is sometimes quite excessive.

git-svn-id: svn://kolibrios.org@3303 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-01 10:27:19 +00:00
CleverMouse
165c453d43 protect thread from external terminate while running sysfn 70
git-svn-id: svn://kolibrios.org@3296 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-28 22:03:45 +00:00
CleverMouse
debda5ffe2 output program name in addition to PID when it crashes
git-svn-id: svn://kolibrios.org@3294 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-28 12:09:39 +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
hidnplayr
d274e313e0 Added new sound.obj wich automatically loads correct sound driver.
See forum for more details (http://board.kolibrios.org/viewtopic.php?f=28&t=2196)

git-svn-id: svn://kolibrios.org@3171 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-15 20:38:35 +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
CleverMouse
a221c289a3 fix double-unlock in free(); make free() always save edi; update test
git-svn-id: svn://kolibrios.org@3126 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-12-17 15:54:19 +00:00
Sergey Semyonov (Serge)
6c5d6e467f kernel: export MapPage
git-svn-id: svn://kolibrios.org@3030 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-11-12 20:06:37 +00:00
Marat Zakiyanov (Mario79)
dfaeeb56ff Functions 66.6, 66.7 - control input from the keyboard for hotkeys
git-svn-id: svn://kolibrios.org@2709 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-06-01 00:58:16 +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
Marat Zakiyanov (Mario79)
2643d953b1 A more detailed log of the boot in a black screen.
git-svn-id: svn://kolibrios.org@2642 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-04-21 11:41:37 +00:00
Marat Zakiyanov (Mario79)
8d6608fe2d Function 9 - returning is really 11 char is now, for: +10 = +0xA: 11 bytes: name of the process (name of the started file - executable file without extension).
git-svn-id: svn://kolibrios.org@2625 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-04-17 22:17:20 +00:00
CleverMouse
bf4cb45023 API for external keyboards
git-svn-id: svn://kolibrios.org@2601 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-04-11 19:06:32 +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
Marat Zakiyanov (Mario79)
9b04adedbd Fix for r.2497
git-svn-id: svn://kolibrios.org@2586 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-04-07 20:20:25 +00:00
Marat Zakiyanov (Mario79)
a787d74980 Function 34 - who owner the pixel on the screen
git-svn-id: svn://kolibrios.org@2511 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-27 13:25:30 +00:00
Marat Zakiyanov (Mario79)
a540a71a13 Function 25 - put image area on the background layer
git-svn-id: svn://kolibrios.org@2509 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-26 21:10:43 +00:00
Marat Zakiyanov (Mario79)
32e6e19b5e Correction for r.2497. Restore user defined cursor by f.37.5, after showing clock_arrow mouse pointer.
git-svn-id: svn://kolibrios.org@2503 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-23 20:13:09 +00:00
Marat Zakiyanov (Mario79)
6d3caf1b30 Fix for r. 2489
git-svn-id: svn://kolibrios.org@2500 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-23 16:05:39 +00:00
Marat Zakiyanov (Mario79)
05bd5db1d7 Fix for previous revision.
git-svn-id: svn://kolibrios.org@2498 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-22 22:09:59 +00:00
Marat Zakiyanov (Mario79)
e24480a9ce Change cursor when loading applications. The new cursor with the clock.
git-svn-id: svn://kolibrios.org@2497 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-22 19:12:53 +00:00
Marat Zakiyanov (Mario79)
36115aba3f Using the new mutex to r.2486
git-svn-id: svn://kolibrios.org@2489 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-21 22:48:54 +00:00
Marat Zakiyanov (Mario79)
b4268eda9f Fix for r. 1275 - to use the CLI command is not a good solution. Much better to use a mutex!
git-svn-id: svn://kolibrios.org@2486 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-21 11:48:46 +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)
bca9931e5d try to load HDA driver, as requested
git-svn-id: svn://kolibrios.org@2454 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-12 18:53:48 +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
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)
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
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
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
hidnplayr
58fe32f210 Usage of struct.inc from fasm in trunk kernel.
git-svn-id: svn://kolibrios.org@2381 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-02-22 15:46:09 +00:00
hidnplayr
599bb8d0bd Reserved sysfn 74,75,76 in trunk for new stack.
git-svn-id: svn://kolibrios.org@2365 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-02-21 11:00:54 +00:00
Sergey Semyonov (Serge)
d328d0e037 export destroy_event and timer_hs
git-svn-id: svn://kolibrios.org@2356 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-02-19 12:48:21 +00:00
Sergey Semyonov (Serge)
9dadf069ea export free_page
git-svn-id: svn://kolibrios.org@2343 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-02-04 13:21:17 +00:00
Sergey Semyonov (Serge)
5491cb4d99 blitter prerequisite
git-svn-id: svn://kolibrios.org@2341 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-02-02 08:42:35 +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)
1463afc261 reduce kernel memory usage
git-svn-id: svn://kolibrios.org@2267 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-10-05 11:13:17 +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)
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)
20a4ca93e3 taskman:fix error reporting
git-svn-id: svn://kolibrios.org@2157 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-09-05 11:23:08 +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)
87882ebc37 v86: fix wrong irq number
git-svn-id: svn://kolibrios.org@2149 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-09-03 08:04:20 +00:00
CleverMouse
a3388c45de sync with r2143 except for a typo
git-svn-id: svn://kolibrios.org@2146 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-09-02 19:32:21 +00:00
CleverMouse
c33c39a421 fix mutex_unlock
git-svn-id: svn://kolibrios.org@2137 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-08-30 14:03:36 +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
CleverMouse
fa7b5eb6e1 kernel timers
git-svn-id: svn://kolibrios.org@2122 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-08-26 11:46:54 +00:00
CleverMouse
cdeeb6be66 support for PnP disks: add exports and docs
git-svn-id: svn://kolibrios.org@2120 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-08-25 19:58:37 +00:00
Sergey Semyonov (Serge)
0c8c27e46c move PIC functions into separate file
git-svn-id: svn://kolibrios.org@2118 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-08-25 09:32:01 +00:00
Sergey Semyonov (Serge)
0d01bde3f5 missing irq.inc
git-svn-id: svn://kolibrios.org@2113 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-08-24 11:03:45 +00:00
Sergey Semyonov (Serge)
000b6ce1cb shared irq's
git-svn-id: svn://kolibrios.org@2112 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-08-24 11:01:37 +00:00
maximYCH
7f63a7e064 Russian language for kernel boot messages
git-svn-id: svn://kolibrios.org@2104 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-08-23 07:32:13 +00:00
Marat Zakiyanov (Mario79)
b3bbdbcdf1 Correct for r2101 "force behaviour as before r1992"
git-svn-id: svn://kolibrios.org@2103 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-08-22 17:10:02 +00:00
CleverMouse
1b390fd667 force behaviour as before r1989, r1992
git-svn-id: svn://kolibrios.org@2101 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-08-22 15:39:22 +00:00
Sergey Semyonov (Serge)
5a5c11b26d remove unused code
git-svn-id: svn://kolibrios.org@2100 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-08-22 09:49:26 +00:00
Sergey Semyonov (Serge)
b3a861cedd remove fn 41,42,44,45
git-svn-id: svn://kolibrios.org@2089 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-08-21 12:26:22 +00:00