James C. McPherson wrote:

> Alan Perry wrote:
>
>> Template Version: @(#)sac_nextcase 1.64 07/13/07 SMI
>> This information is Copyright 2007 Sun Microsystems
>> 1. Introduction
>>     1.1. Project/Component Working Name:
>>      Host Protected Area (HPA) on x86 ATA drives
>>     1.2. Name of Document Author/Supplier:
>>      Author:  Lawrence Lee
>>     1.3  Date of This Document:
>>     19 November, 2007
>
> ...
>
>>         Examples:
>
> ...
>
>>         -  Don't change the HPA setting on all but two disks.
>>            Make one disk a 200GB drive (390625000*512 =  
>> 200,000,000,000)
>>            Give the other disk a 1MB Protected area
>>
>>                HPA="*",
>>                    "pci at 0,0/pci-ide at 6/ide at 0", "-390625000",
>>                    "pci at 0,0/pci-ide at 6/ide at 1", "2000";
>>
>>         More details/examples are available in the Evaluation section of
>>         CR 5044205.
>
>
> Hi Alan and Larry,
> how is the customer supposed to know that they should use a
> signed integer for the length/size field?

The value is not signed.  The syntax description of the HPA property 
appears just above where it says "Examples:" in the Technical 
Description.  It says "if '-' is specified, the number is disk capacity 
in sectors and all sector address[es] above [the] number are
assigned to the HPA."

The details of the HPA property would be added to the ata(7D) man page, 
which is how the customer would find out how to use it.

alan


Reply via email to