Commit Graph

67 Commits

Author SHA1 Message Date
CleverMouse
335c5cdd86 force legacy IDE ports if specified by class code
git-svn-id: svn://kolibrios.org@4841 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-15 18:41:49 +00:00
Marat Zakiyanov (Mario79)
26aad0cc40 Fix for IDE controller. Some weird controllers generate an interrupt even if IDE interrupts are disabled and no IDE devices. For example, notebook ASUS K72F - IDE controller 010185 generates false interrupt when we work with the IDE controller 01018f. For this reason, the interrupt handler does not need to be installed if both channel IDE controller running in PIO mode.
git-svn-id: svn://kolibrios.org@4838 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-15 10:01:23 +00:00
Marat Zakiyanov (Mario79)
354e32e7f3 Fix for IDE devices:
1) Restore broken HD load for ramdisk image
2) Check of support UDMA mode for disk devices before initialization channel of IDE controller

git-svn-id: svn://kolibrios.org@4772 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-05 21:36:10 +00:00
Marat Zakiyanov (Mario79)
87aa62f216 Fix for r.4700
git-svn-id: svn://kolibrios.org@4720 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-03-30 21:09:44 +00:00
Marat Zakiyanov (Mario79)
be1fff9c56 Fix f.24 for r.4700
git-svn-id: svn://kolibrios.org@4711 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-03-28 20:04:31 +00:00
Marat Zakiyanov (Mario79)
ba19a6400d Kernel supports up to three IDE controllers, and all the devices connected to them
git-svn-id: svn://kolibrios.org@4700 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-03-27 20:44:32 +00:00
Marat Zakiyanov (Mario79)
507451f315 Removal of obsolete functions 18.11.2. Reduce the DRIVE_DATA area, because the data above 10 bytes is not used.
git-svn-id: svn://kolibrios.org@4641 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-03-13 07:21:24 +00:00
Marat Zakiyanov (Mario79)
0991dff6cc Fix for prev.rev.
git-svn-id: svn://kolibrios.org@4625 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-03-10 00:14:09 +00:00
Marat Zakiyanov (Mario79)
28e8a442bf IDE DMA
1) No more 16-bit code, all the code in 32-bit mode
2) Expansion of the data output about modes of IDE devices

git-svn-id: svn://kolibrios.org@4624 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-03-10 00:09:59 +00:00
Yogev Ezra
04857bed22 Vortex86: use correct names for constants. Show STRAP & Internal Peripheral Feature Control registers values.
git-svn-id: svn://kolibrios.org@4310 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-28 19:19:25 +00:00
Yogev Ezra
61b406acf2 Vortex86: Added CPU speed modifier detection and MMX support flags detection
git-svn-id: svn://kolibrios.org@4294 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-26 16:42:56 +00:00
Yogev Ezra
3951e5fd59 Code optimization (by size)
git-svn-id: svn://kolibrios.org@4289 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-25 01:15:59 +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
Yogev Ezra
42203528ce Perform Vortex86 detection only if CPU vendor is 'Vortex86 SoC'
git-svn-id: svn://kolibrios.org@4272 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-21 15:12:39 +00:00
Yogev Ezra
80a7695eb3 Add Vortex86 detection code.
git-svn-id: svn://kolibrios.org@4261 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-20 20:05:06 +00:00
Marat Zakiyanov (Mario79)
657905b212 HDD IDE DMA handler - remove the interrupt flag
git-svn-id: svn://kolibrios.org@3881 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-09-01 21:29:56 +00:00
Marat Zakiyanov (Mario79)
a2170a4fee Removing useless stdcall enable_irq
git-svn-id: svn://kolibrios.org@3791 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-07-09 21:04:46 +00:00
Marat Zakiyanov (Mario79)
bb7366e80a Additional check for IDE controllers
git-svn-id: svn://kolibrios.org@3785 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-07-09 00:34:01 +00:00
Marat Zakiyanov (Mario79)
c67e638d08 Dynamic setting interrupts for Floppy controller
git-svn-id: svn://kolibrios.org@3771 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-07-06 11:33:30 +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
Marat Zakiyanov (Mario79)
93e7aee516 1) DMA LBA48 read and write for HDD
2) Some optimization of code

git-svn-id: svn://kolibrios.org@3712 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-27 06:11:10 +00:00
CleverMouse
65d0cef44b style fixes, no binary changes (style checker was sick for some time)
git-svn-id: svn://kolibrios.org@3711 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-26 23:35:43 +00:00
Marat Zakiyanov (Mario79)
178ccd95f9 PIO LBA48 write for HDD
git-svn-id: svn://kolibrios.org@3706 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-26 02:38:47 +00:00
Marat Zakiyanov (Mario79)
d9b8117616 1) SATA IDE support for HDD and ATAPI
2) PIO LBA48 read for HDD

git-svn-id: svn://kolibrios.org@3702 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-25 03:15:38 +00:00
Sergey Semyonov (Serge)
f272bbb588 kernel: reduce DRIVE_DATA array. Now kernel can handle only 64 /hd and /cd partitions
git-svn-id: svn://kolibrios.org@3627 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-08 13:08:51 +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
c1284fc3b6 USB support
git-svn-id: svn://kolibrios.org@3520 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-17 23:53:28 +00:00
CleverMouse
46ebef439c support for PnP disks, part 3: FAT16/FAT32
git-svn-id: svn://kolibrios.org@2643 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-04-23 09:19:34 +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
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
Marat Zakiyanov (Mario79)
fe72383413 Fix for Floppy/IRQ6 - broken from r.1380
git-svn-id: svn://kolibrios.org@2084 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-08-20 15:18:25 +00:00
Evgeny Grechnikov (Diamond)
431a2b2431 reverted wrong file from previous commit
git-svn-id: svn://kolibrios.org@1425 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-02-28 16:08:32 +00:00
Evgeny Grechnikov (Diamond)
093a27f7ac fixed behaviour with too big window sizes broken in rev. 1391
git-svn-id: svn://kolibrios.org@1424 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-02-28 16:06:46 +00:00
turbanoff
7f6ce667e1 reworked search partition on HDD
git-svn-id: svn://kolibrios.org@1410 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-02-13 13:34:41 +00:00
turbanoff
7eed0cd366 ext2fs support. read only
git-svn-id: svn://kolibrios.org@1378 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-01-23 15:24:03 +00:00
Alexey Teplov (
7ac27a2f61 I'm not sure what all my change is right.
Some optimization.

git-svn-id: svn://kolibrios.org@1276 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-20 02:36:08 +00:00
Alexey Teplov (
9aef4d69df small optimization
git-svn-id: svn://kolibrios.org@1229 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-23 17:35:26 +00:00
Evgeny Grechnikov (Diamond)
8861a95ef3 fixed caching of BIOS disks in some rare situations
git-svn-id: svn://kolibrios.org@1150 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-05 22:15:36 +00:00
Evgeny Grechnikov (Diamond)
d03ef619fc added biosmem.inc referenced in previous revision
git-svn-id: svn://kolibrios.org@1104 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-06-04 20:04:51 +00:00
Rus
07985443ea Com mouse cod moved to driver.
Begin of reorganization interrupts handlers Part 1.
Some dead code deleted.

git-svn-id: svn://kolibrios.org@769 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-03-13 20:23:15 +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
heavyiron
b9b45d733a *Remove unneeded ps2mouse.inc and m_ps2.inc
*Remove 18.1 and 18.9.1 functions (sinse 465 revision they doesn't work), so CPU now use END application for reboot
NOTE: file ROSE.TXT don't used in kernel now and can be deleted from image

*New END application form Leency & Veliant

git-svn-id: svn://kolibrios.org@748 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-19 05:28:11 +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
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
Marat Zakiyanov (Mario79)
93e2c279ba The universal cache of IDE devices.
Step 2:
1) Realized cache ATAPI device (CD\DVD).
2) Lock\Unlock ATAPI device for working with cache.
3) Eject (F70/10) and Load (F70/11) tray of ATAPI device.
4) Application CD_tray for control of tray ATAPI device.

git-svn-id: svn://kolibrios.org@585 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-07-22 20:52:21 +00:00
Marat Zakiyanov (Mario79)
dfac57a317 Fix calculate size of cache (IDE devices). Now data do not intersect limits of the cache.
git-svn-id: svn://kolibrios.org@584 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-07-21 15:59:17 +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)
441fcf143a * Unified COM1/COM2 mice handling.
* Corrected COM mouse detection.
* Mouse cursor can now be at right and bottom screen sides.
* Normal handling of "desktop background redraw" event.
  (Background redraw is faster now.)
* Fixed error in stretch background function for VESA 2.0.

git-svn-id: svn://kolibrios.org@473 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-02 12:06:10 +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