genode/os/src/drivers/atapi
Sebastian Sumpf 2dce04618e atapi_drv: Implement LBA48 specific block count
Use NATIVE MAX ADDRESS EXT to retrieve last block for LBA48. Also check not only
for enabled LBA48 support but for the 'host protected area' bit before using the
LBA48 version. This is because the high order byte (HOB) data retrieval is
broken in Qemu.

Fixes #761.
2013-07-11 12:44:18 +02:00
..
contrib Imported Genode release 11.11 2011-12-22 16:19:25 +01:00
README Imported Genode release 11.11 2011-12-22 16:19:25 +01:00
ata_bus_master.cc Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
ata_bus_master.h Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
ata_device.cc atapi_drv: Implement LBA48 specific block count 2013-07-11 12:44:18 +02:00
ata_device.h atapi_drv: Implement LBA48 specific block count 2013-07-11 12:44:18 +02:00
atapi_device.cc Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
endian.h Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
io.cc Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
io.h Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
main.cc Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
pio.h Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
target.mk Merge base libraries into a single library 2013-02-19 14:45:55 +01:00

README

This directory contains a port of the MINDRVR PATA/SATA driver (See:
[http://ata-atapi.com].

The driver will probe the system's IDE bus and will use the first ATAPI device
present.


Usage
-----

Simply start the 'atapi_drv' in your Genode environment. The front-end
implemented by the driver is Genode's block interface (see:
'os/include/block_session').

Configuration example:

! <start name="atapi_drv">
!   <resource name="RAM" quantum="1M" />
!     <provides><service name="Block" /></provides>
! </start>

To use the driver as IDE block driver supporting both read and write
transactions, supply the XML attribute 'ata="yes"' to the config node of
'atapi_drv'.