Search found 88 matches

by vgal
Fri Oct 30, 2015 8:30 pm
Forum: Development Help
Topic: AtaX - simple PnP ATA-ATAPI driver
Replies: 6
Views: 21428

Re: AtaX - simple PnP ATA-ATAPI driver

Seems you like abbreviations? What does this d/l mean? ^^ - ears or eyebrows? :D ppl - people? Why you think, what I want fight? First point was there: https://jira.reactos.org/browse/CORE-9119. Then began to study language C and source codes UniAta and ReactOS. Understood what easier to write the d...
by vgal
Sat Oct 24, 2015 5:19 pm
Forum: Development Help
Topic: AtaX - simple PnP ATA-ATAPI driver
Replies: 6
Views: 21428

Re: AtaX - simple PnP ATA-ATAPI driver

Now can work in Ultra DMA modes. http://vga.16mb.com/download/atax/atax037.zip
by vgal
Sat Oct 24, 2015 5:11 pm
Forum: Development Help
Topic: PCI IDE Bus Master implementation
Replies: 8
Views: 11387

Re: PCI IDE Bus Master implementation

It not a patch. It has been added for my driver Atax . That it was possible to transfer the data in UDMA a mode. There are two moments. 1. #define MAX_SG_ELEMENTS 0x10 (in reactos\hal\halx86\generic\dma.c) One SG_ELEMENTS - minimind 4 kB. 16*4= 64 kB. It is not enough for IDE. It is necessary twice ...
by vgal
Sat Oct 24, 2015 4:12 pm
Forum: Development Help
Topic: PCI IDE Bus Master implementation
Replies: 8
Views: 11387

Re: PCI IDE Bus Master implementation

reactos\drivers\storage\ide\pciide\pciide.c /* * COPYRIGHT: See COPYING in the top level directory * PROJECT: PCI IDE bus driver * FILE: drivers/storage/pciide/pciide.c * PURPOSE: Main file * PROGRAMMERS: Hervй Poussineau (hpoussin@reactos.org) */ #include "pciide.h" //#define NDEBUG #include <debug...
by vgal
Fri Oct 23, 2015 2:07 pm
Forum: Development Help
Topic: PCI IDE Bus Master implementation
Replies: 8
Views: 11387

Re: PCI IDE Bus Master implementation

Little patience, my friend. I yet did not finish. pciidex.h #ifndef _PCIIDEX_PCH_ #define _PCIIDEX_PCH_ #include <ntifs.h> #include <ide.h> #include <..\bmaster.h> #define PRIMARY_CHANNEL 0x00 #define SECONDARY_CHANNEL 0x01 typedef NTSTATUS (NTAPI *PALLOCATE_ADAPTER)(IN ULONG AllocateAdapterContext)...
by vgal
Fri Oct 23, 2015 12:40 am
Forum: Development Help
Topic: PCI IDE Bus Master implementation
Replies: 8
Views: 11387

PCI IDE Bus Master implementation

reactos\drivers\storage\ide\pciidex\dma.c - new file #include "pciidex.h" #include <initguid.h> #include <wdmguid.h> #define NDEBUG #include <debug.h> //#define MAX_SG_ELEMENTS 0x20 <-- in reactos\hal\halx86\generic\dma.c //PDRIVER_LIST_CONTROL static VOID NTAPI AdapterListControl( IN PDEVICE_OBJECT...
by vgal
Thu Oct 22, 2015 11:37 pm
Forum: Russian
Topic: USB
Replies: 274
Views: 233634

Re: USB

Всем привет! Кажется, я знаю "Кто виноват?" (Один из наших любимых вопросов) :) Чтобы было понятно - немного деталей. При запуске ОС, после передачи загрузчиком управления ядру, происходит (в том числе) инициализация менеджера ввода-вывода. За это отвечает функция IoInitSystem() (reactos\ntoskrnl\io...
by vgal
Tue Sep 22, 2015 6:47 pm
Forum: Development Help
Topic: AtaX - simple PnP ATA-ATAPI driver
Replies: 6
Views: 21428

AtaX - simple PnP ATA-ATAPI driver

While only PIO mode. I investigate DMA mode. Tested: Virtual Box 4.2.16, Livecd, HDD - Primary Master, CD - Secondary Master.
Source: http://vga.16mb.com/download/atax/atax032.zip.
by vgal
Tue Sep 22, 2015 6:33 pm
Forum: Russian
Topic: Не пора ли нам,друзья, замахнуться на ... ATA/ATAPI драйвер?
Replies: 10
Views: 19330

Re: Не пора ли нам,друзья, замахнуться на ... ATA/ATAPI драй

Исходники можно скачать тут: http://vga.16mb.com/download/atax/atax032.zip
Всё по-минимуму, PIO режим. Но работает. Сейчас изучаю DMA - режим. Если получится, то выложу потом.
by vgal
Sat Aug 22, 2015 6:52 pm
Forum: Russian
Topic: Не пора ли нам,друзья, замахнуться на ... ATA/ATAPI драйвер?
Replies: 10
Views: 19330

Re: Не пора ли нам,друзья, замахнуться на ... ATA/ATAPI драй

Наверное и правда не совсем понятна предыстория. В новогодние праздники возился с ноутбуком. Пробовал, в том числе, и UniAta. Не помогло. Потом, через какое-то время нашел сайт ReactOS. Заинтересовался. Захотелось установить ReactOS на свой старенький комп. Не вышло. Написал отчёт об ошибке https://...
by vgal
Thu Aug 20, 2015 4:52 pm
Forum: Russian
Topic: Не пора ли нам,друзья, замахнуться на ... ATA/ATAPI драйвер?
Replies: 10
Views: 19330

Re: Не пора ли нам,друзья, замахнуться на ... ATA/ATAPI драй

Решил сделать страничку в интернете. Пришлось затратить время на изучение этого вопроса.
Это первая страничка (и она в "тестовом" режиме). Не судите строго.
AtaX driver
by vgal
Tue Aug 18, 2015 9:26 am
Forum: Development Help
Topic: Problem with PnP Manager (Enumerate Devices)
Replies: 8
Views: 17117

Re: Problem with PnP Manager (Enumerate Devices)

From DDK: "Specifying Driver Load Order". ... To reinforce the importance of setting the correct StartType value, the following list describes how Windows and the PnP manager use the StartType entries in INF files: 1. On system startup, the operating system loader loads drivers of type SERVICE_BOOT_...
by vgal
Mon Aug 17, 2015 7:31 am
Forum: Development Help
Topic: Problem with PnP Manager (Enumerate Devices)
Replies: 8
Views: 17117

Re: Problem with PnP Manager (Enumerate Devices)

I am stopped by function IopCreateArcNames () - Bugcheck 0x69. It earlier, than InstallDriver (). As to tell these drivers that they will work together ... disk_new (and cdromnew (cdrom_new - 9 characters)), atax (- ata channel driver), pciide ... without enumerating? I use the non-standard pnp boot...
by vgal
Sun Aug 16, 2015 11:27 am
Forum: Development Help
Topic: Problem with PnP Manager (Enumerate Devices)
Replies: 8
Views: 17117

Re: Problem with PnP Manager (Enumerate Devices)

I used function IopInstallCriticalDevice () in reactos\ntoskrnl\io\pnpmgr\pnpmgr.c : VOID NTAPI IopInstallCriticalDevice(PDEVICE_NODE DeviceNode) { extern PLOADER_PARAMETER_BLOCK IopLoaderBlock; ... /* Free our temp buffer */ ExFreePool(PartialInfo); >>> To insert there if ( ExpInTextModeSetup && (I...