here - OSTA - Optical Storage Technology Association
here - OSTA - Optical Storage Technology Association
here - OSTA - Optical Storage Technology Association
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
2.3.10.1 Long Allocation Descriptor<br />
struct long_ad { /* ECMA 167 4/14.14.2 */<br />
Uint32 ExtentLength;<br />
Lb_addr ExtentLocation;<br />
byte<br />
ImplementationUse[6];<br />
}<br />
To allow use of the ImplementationUse field by UDF and also by<br />
implementations the following structure shall be recorded within the 6-byte<br />
Implementation Use field.<br />
struct ADImpUse<br />
{<br />
Uint16 flags;<br />
byte impUse[4];<br />
}<br />
/*<br />
* ADImpUse Flags (NOTE: bits 1-15 reserved for future use by UDF)<br />
*/<br />
#define EXTENTErased (0x01)<br />
In the interests of efficiency on Rewritable media that benefits from<br />
preprocessing, the EXTENTErased flag shall be set to ONE to indicate an erased<br />
extent. This applies only to extents of type not recorded but allocated.<br />
2.3.11 Allocation Extent Descriptor<br />
struct AllocationExtentDescriptor { /* ECMA 167 4/14.5 */<br />
struct tag DescriptorTag;<br />
Uint32 PreviousAllocationExtentLocation;<br />
Uint32 LengthOfAllocationDescriptors;<br />
}<br />
The Allocation Extent Descriptor does not contain the Allocation Descriptors<br />
itself. UDF will interpret ECMA 167, 4/14.5 in such a way that the Allocation<br />
Descriptors will start on the first byte following the<br />
LengthOfAllocationDescriptors field of the Allocation Extent Descriptor. The<br />
Allocation Extent Descriptor together with its Allocation Descriptors constitutes<br />
an extent of allocation descriptors. The length of an extent of allocation<br />
descriptors shall not exceed the logical block size. Unused bytes following the<br />
Allocation Descriptors till the end of the logical block shall have a value of #00.<br />
2.3.11.1 Struct tag DescriptorTag<br />
The DescriptorCRCLength of the DescriptorTag should include the Allocation<br />
Descriptors following the Allocation Extent Descriptor. The<br />
DescriptorCRCLength shall be either 8 or 8 + LengthOfAllocationDescriptors.<br />
UDF 2.01<br />
62<br />
March50 April