Showing changes from revision #0 to #1:
Added | Removed | Changed
Input is dependent on the version of ADFS Module in use.
Entry | |
---|---|
R0 | 0 – Device info by Legacy ID |
R1 | bit 0 set => find information for ATADriver device ID 8 rather than 0 |
(corresponds to slave rather than master device on PATA systems) | |
bit 1 = find information for ATADriver controller/port ID 1 rather than 0 | |
bits 2-31 reserved, should be 0 |
Exit | |
---|---|
R0 | Preserved |
R1 | Type of device: |
0 – no device | |
1 – non-packet | |
2 – packet device (ATAPI) | |
R2 | ADFS drive number of device, otherwise undefined |
R3 | Pointer to a 512-byte block containing the data returned by an ATA IDENTIFY DEVICE or IDENTIFY PACKET DEVICE, or 0 if no device |
Entry | |
---|---|
R0 | 1 – Device info by controller/port and device ID |
R1 | bits 0-3 = device ID |
bits 4-11 = controller/port ID | |
bits 12-31 reserved, should be 0 |
Exit | |
---|---|
R0 | Preserved |
R1 | Type of device: |
0 – no device | |
1 – non-packet | |
2 – packet device (ATAPI) | |
R2 | ADFS drive number of device, otherwise -1 |
R3 | Pointer to a 512-byte block containing the data returned by an ATA IDENTIFY DEVICE or IDENTIFY PACKET DEVICE, or 0 if no device |
Entry | |
---|---|
R0 | 2 – Device info by drive number |
R1 | ADFS drive number of device |
Exit | |
---|---|
R0 | Preserved |
R1 | Type of device: |
0 – no device | |
1 – non-packet | |
R2 | bits 0-3 = device ID |
bits 4-11 = controller/port ID | |
R3 | Pointer to a 512-byte block containing the data returned by an ATA IDENTIFY DEVICE or IDENTIFY PACKET DEVICE, or 0 if no device |
The purpose of this call is to return information on attached devices.