Commit Graph

80 Commits

Author SHA1 Message Date
Rustem Gimadutdinov (rgimad)
5b284466d4 Translate russian comments to english #2 , no code changes
git-svn-id: svn://kolibrios.org@8051 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-07-14 22:30: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
dbe9918dc6 Return capacity and bytes per sector of bios disks
This patch makes bd_querymedia return valid Capacity and SectorSize
values. Bios disks detection code saves the values to extended
BiosDiskData structure, bd_querymedia copies them to DISKMEDIAINFO.


git-svn-id: svn://kolibrios.org@6843 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-01-21 00:14:05 +00:00
pathoswithin
26611cadd0 fix for ide_querymedia
git-svn-id: svn://kolibrios.org@6842 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-01-20 20:02:50 +00:00
Ivan Baravy
5b61094dc6 fix #98, #103
Set Bus_Master bit in PCI Command register for drives in DMA mode


git-svn-id: svn://kolibrios.org@6816 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-12-26 21:52:58 +00:00
pathoswithin
ee14b53b33 sysfunction 70 cleaning
git-svn-id: svn://kolibrios.org@6464 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-07-29 11:12:13 +00:00
CleverMouse
a64323c296 always install IDE interrupt handler
git-svn-id: svn://kolibrios.org@6015 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-12-30 15:48:01 +00:00
pathoswithin
4054b22aaa LBA28 support
git-svn-id: svn://kolibrios.org@5852 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-10-20 22:51:18 +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
Marat Zakiyanov (Mario79)
ab98cf7eab Support for all IDE controllers (e.g. PCI 0101EE). Previously supported only PCI 01018x.
git-svn-id: svn://kolibrios.org@5147 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-10-24 05:13:52 +00:00
CleverMouse
2ecf899269 don't try to detect CD if controller doesn't respond to device select
git-svn-id: svn://kolibrios.org@5030 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-08-12 11:11:45 +00:00
Marat Zakiyanov (Mario79)
da8c332884 Added the tag "Revision: XXXX" in some kernel files, to form the right number of revision at boot (blue boot screen).
git-svn-id: svn://kolibrios.org@4850 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-17 21:19:45 +00:00
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