Ignore:
Timestamp:
Mar 3, 2001, 11:58:48 AM (24 years ago)
Author:
umoeller
Message:

Updated timers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/helpers/lvm.h

    r14 r41  
    4343
    4444    /* A BYTE is 8 bits of memory with no interpretation attached. */
    45     typedef unsigned char BYTE;
     45    // typedef unsigned char BYTE;
    4646
    4747    /* A BOOLEAN variable is one which is either TRUE or FALSE. */
    4848    typedef unsigned char  BOOLEAN;
    49     #define TRUE  1
    50     #define FALSE 0;
     49    /* #define TRUE  1
     50    #define FALSE 0; */
    5151
    5252    /* An ADDRESS variable is one which holds the address of a location in memory. */
    53     typedef void * ADDRESS;
     53    // typedef void * ADDRESS;
    5454
    5555    /* pSTRING is a pointer to an array of characters. */
     
    5757
    5858    /* 4 bytes */
    59     typedef unsigned long DoubleWord;
     59    // typedef unsigned long DoubleUSHORT;
    6060
    6161    /* 2 bytes */
    62     typedef short unsigned int Word;
     62    // typedef short unsigned int USHORT;
    6363
    6464    /* Define a Partition Sector Number.  A Partition Sector Number is relative to the start of a partition.
     
    9393    typedef struct _Partition_Record
    9494    {
    95         Byte       Boot_Indicator;    /* 80h = active partition. */
    96         Byte       Starting_Head;
    97         Byte       Starting_Sector;   /* Bits 0-5 are the sector.  Bits 6 and 7 are the high
     95        BYTE       Boot_Indicator;    /* 80h = active partition. */
     96        BYTE       Starting_Head;
     97        BYTE       Starting_Sector;   /* Bits 0-5 are the sector.  Bits 6 and 7 are the high
    9898                                         order bits of the starting cylinder. */
    99         Byte       Starting_Cylinder; /* The cylinder number is a 10 bit value.  The high order
     99        BYTE       Starting_Cylinder; /* The cylinder number is a 10 bit value.  The high order
    100100                                         bits of the 10 bit value come from bits 6 & 7 of the
    101101                                         Starting_Sector field.                                */
    102         Byte       Format_Indicator;  /* An indicator of the format/operation system on this
     102        BYTE       Format_Indicator;  /* An indicator of the format/operation system on this
    103103                                         partition.                                            */
    104         Byte       Ending_Head;
    105         Byte       Ending_Sector;
    106         Byte       Ending_Cylinder;
    107         DoubleWord Sector_Offset;     /* The number of sectors on the disk which are prior to
     104        BYTE       Ending_Head;
     105        BYTE       Ending_Sector;
     106        BYTE       Ending_Cylinder;
     107        ULONG Sector_Offset;     /* The number of sectors on the disk which are prior to
    108108                                         the start of this partition.                          */
    109         DoubleWord Sector_Count;      /* The number of sectors in this partition. */
     109        ULONG Sector_Count;      /* The number of sectors in this partition. */
    110110    } Partition_Record;
    111111
    112112    typedef struct _Master_Boot_Record
    113113    {
    114         Byte                Reserved[446];
     114        BYTE                Reserved[446];
    115115       Partition_Record    Partition_Table[4];
    116        Word                Signature;            /* AA55h in this field indicates that this
     116       USHORT                Signature;            /* AA55h in this field indicates that this
    117117                                                    is a valid partition table/MBR.         */
    118118    } Master_Boot_Record;
     
    201201    typedef struct _DLA_Entry
    202202    {
    203         DoubleWord  Volume_Serial_Number;                /* The serial number of the volume
     203        ULONG  Volume_Serial_Number;                /* The serial number of the volume
    204204                                                            that this partition belongs to.         */
    205         DoubleWord  Partition_Serial_Number;             /* The serial number of this partition.    */
    206         DoubleWord  Partition_Size;                      /* The size of the partition, in sectors.  */
     205        ULONG  Partition_Serial_Number;             /* The serial number of this partition.    */
     206        ULONG  Partition_Size;                      /* The size of the partition, in sectors.  */
    207207        LBA         Partition_Start;                     /* The starting sector of the partition.   */
    208208        BOOLEAN     On_Boot_Manager_Menu;                /* Set to TRUE if this volume/partition
     
    221221    typedef struct _DLA_Table_Sector
    222222    {
    223         DoubleWord     DLA_Signature1;             /* The magic signature (part 1) of a
     223        ULONG     DLA_Signature1;             /* The magic signature (part 1) of a
    224224                                                      Drive Letter Assignment Table.               */
    225         DoubleWord     DLA_Signature2;             /* The magic signature (part 2) of a
     225        ULONG     DLA_Signature2;             /* The magic signature (part 2) of a
    226226                                                      Drive Letter Assignment Table.               */
    227         DoubleWord     DLA_CRC;                    /* The 32 bit CRC for this sector.
     227        ULONG     DLA_CRC;                    /* The 32 bit CRC for this sector.
    228228                                                      Calculated assuming that this
    229229                                                      field and all unused space in
    230230                                                      the sector is 0.                             */
    231         DoubleWord     Disk_Serial_Number;         /* The serial number assigned to
     231        ULONG     Disk_Serial_Number;         /* The serial number assigned to
    232232                                                      this disk.                                   */
    233         DoubleWord     Boot_Disk_Serial_Number;    /* The serial number of the disk used to
     233        ULONG     Boot_Disk_Serial_Number;    /* The serial number of the disk used to
    234234                                                      boot the system.  This is for conflict
    235235                                                      resolution when multiple volumes want
     
    298298    typedef struct _LVM_Feature_Data
    299299    {
    300         DoubleWord     Feature_ID;                            /* The ID of the feature. */
     300        ULONG     Feature_ID;                            /* The ID of the feature. */
    301301        PSN            Location_Of_Primary_Feature_Data;      /* The PSN of the starting sector of
    302302                                                                 the private data for this feature.*/
     
    304304                                                                 the backup copy of the private
    305305                                                                 data for this feature.            */
    306         DoubleWord     Feature_Data_Size;                     /* The number of sectors used by this
     306        ULONG     Feature_Data_Size;                     /* The number of sectors used by this
    307307                                                                 feature for its private data.     */
    308         Word           Feature_Major_Version_Number;          /* The integer portion of the version
     308        USHORT           Feature_Major_Version_Number;          /* The integer portion of the version
    309309                                                                 number of this feature.           */
    310         Word           Feature_Minor_Version_Number;          /* The decimal portion of the version
     310        USHORT           Feature_Minor_Version_Number;          /* The decimal portion of the version
    311311                                                                 number of this feature.           */
    312312        BOOLEAN        Feature_Active;                        /* TRUE if this feature is active on
     
    322322       that it is a part of, as well as which LVM features (BBR, drive linking,
    323323       etc.) are active on the volume that this partition is a part of. */
    324 
     324#if 0
    325325    typedef struct _LVM_Signature_Sector
    326326    {
    327         DoubleWord        LVM_Signature1;                             /* The first part of the
     327        ULONG        LVM_Signature1;                             /* The first part of the
    328328                                                                         magic LVM signature. */
    329         DoubleWord        LVM_Signature2;                             /* The second part of
     329        ULONG        LVM_Signature2;                             /* The second part of
    330330                                                                         the magic LVM
    331331                                                                         signature.           */
    332         DoubleWord        Signature_Sector_CRC;                       /* 32 bit CRC for this
     332        ULONG        Signature_Sector_CRC;                       /* 32 bit CRC for this
    333333                                                                         sector.  Calculated
    334334                                                                         using 0 for this
    335335                                                                         field.               */
    336         DoubleWord        Partition_Serial_Number;                    /* The LVM assigned
     336        ULONG        Partition_Serial_Number;                    /* The LVM assigned
    337337                                                                         serial number for this
    338338                                                                         partition.           */
     
    342342        LBA               Partition_End;                              /* LBA of the last sector
    343343                                                                         of this partition.   */
    344         DoubleWord        Partition_Sector_Count;                     /* The number of sectors
     344        ULONG        Partition_Sector_Count;                     /* The number of sectors
    345345                                                                         in this partition.   */
    346         DoubleWord        LVM_Reserved_Sector_Count;                  /* The number of sectors
     346        ULONG        LVM_Reserved_Sector_Count;                  /* The number of sectors
    347347                                                                         reserved for use by
    348348                                                                         LVM.                 */
    349         DoubleWord        Partition_Size_To_Report_To_User;           /* The size of the
     349        ULONG        Partition_Size_To_Report_To_User;           /* The size of the
    350350                                                                         partition as the user
    351351                                                                         sees it - i.e. (the
     
    355355                                                                         rounded to a track
    356356                                                                         boundary.            */
    357         DoubleWord        Boot_Disk_Serial_Number;                    /* The serial number of
     357        ULONG        Boot_Disk_Serial_Number;                    /* The serial number of
    358358                                                                         the boot disk for the
    359359                                                                         system.  If the system
     
    364364                                                                         active copy of Boot
    365365                                                                         Manager.             */
    366         DoubleWord        Volume_Serial_Number;                       /* The serial number of
     366        ULONG        Volume_Serial_Number;                       /* The serial number of
    367367                                                                         the volume that this
    368368                                                                         partition belongs to.*/
     
    370370                                                                         of a Fake EBR, if one
    371371                                                                         has been allocated.  */
    372         Word              LVM_Major_Version_Number;                   /* Major version number
     372        USHORT              LVM_Major_Version_Number;                   /* Major version number
    373373                                                                         of the LVM that
    374374                                                                         created this
    375375                                                                         partition.           */
    376         Word              LVM_Minor_Version_Number;                   /* Minor version number
     376        USHORT              LVM_Minor_Version_Number;                   /* Minor version number
    377377                                                                         of the LVM that
    378378                                                                         created this
     
    401401           else the CRC will not come out correctly.                                          */
    402402    } LVM_Signature_Sector;
     403#endif
    403404
    404405    /* ******************************************************************
     
    527528        CARDINAL32   Drive_Number;        /* OS/2 Drive Number for this drive. */
    528529        CARDINAL32   Drive_Size;          /* The total number of sectors on the drive. */
    529         DoubleWord   Drive_Serial_Number; /* The serial number assigned to this drive.
     530        ULONG   Drive_Serial_Number; /* The serial number assigned to this drive.
    530531                                             For info. purposes only. */
    531         ADDRESS      Drive_Handle;        /* Handle used for operations on the disk that
     532        PVOID      Drive_Handle;        /* Handle used for operations on the disk that
    532533                                             this record corresponds to. */
    533534        CARDINAL32   Cylinder_Count;      /* The number of cylinders on the drive. */
     
    570571    typedef struct _Partition_Information_Record
    571572    {
    572         ADDRESS      Partition_Handle;                      /* The handle used to perform
     573        PVOID      Partition_Handle;                      /* The handle used to perform
    573574                                                               operations on this partition. */
    574         ADDRESS      Volume_Handle;                         /* If this partition is part
     575        PVOID      Volume_Handle;                         /* If this partition is part
    575576                                                               of a volume, this will be the
    576577                                                               handle of the volume.  If
     
    578579                                                               part of a volume, then
    579580                                                               this handle will be 0.        */
    580         ADDRESS      Drive_Handle;                          /* The handle for the drive
     581        PVOID      Drive_Handle;                          /* The handle for the drive
    581582                                                               this partition resides on. */
    582         DoubleWord   Partition_Serial_Number;               /* The serial number assigned
     583        ULONG   Partition_Serial_Number;               /* The serial number assigned
    583584                                                               to this partition.         */
    584585        CARDINAL32   Partition_Start;                       /* The LBA of the first
     
    703704    typedef struct _Volume_Control_Record
    704705    {
    705         DoubleWord Volume_Serial_Number;            /* The serial number assigned to this volume. */
    706         ADDRESS    Volume_Handle;                   /* The handle used to perform operations on this volume. */
     706        ULONG Volume_Serial_Number;            /* The serial number assigned to this volume. */
     707        PVOID    Volume_Handle;                   /* The handle used to perform operations on this volume. */
    707708        BOOLEAN    Compatibility_Volume;            /* TRUE indicates that this volume is compatible with older versions of OS/2.
    708709                                                       FALSE indicates that this is an LVM specific volume and can not be used without OS2LVM.DMD. */
     
    746747    typedef struct _Boot_Manager_Menu_Item
    747748    {
    748         ADDRESS     Handle;            /* A Volume or Partition handle. */
     749        PVOID     Handle;            /* A Volume or Partition handle. */
    749750        BOOLEAN     Volume;            /* If TRUE, then Handle is the handle of a Volume.  Otherwise, Handle is the handle of a partition. */
    750751    } Boot_Manager_Menu_Item;
     
    997998     *      Input:
    998999     *
    999      *      -- ADDRESS Drive_Handle: The handle of the drive to use.
     1000     *      -- PVOID Drive_Handle: The handle of the drive to use.
    10001001     *                    Drive handles are obtained through the
    10011002     *                    Get_Drive_Control_Data function.
     
    10131014     */
    10141015
    1015     Drive_Information_Record _System Get_Drive_Status( ADDRESS Drive_Handle, CARDINAL32 * Error_Code );
     1016    Drive_Information_Record _System Get_Drive_Status( PVOID Drive_Handle, CARDINAL32 * Error_Code );
    10161017
    10171018    /* ******************************************************************
     
    10281029     *      Input:
    10291030     *
    1030      *      -- ADDRESS Handle: This is the handle of a drive or volume.
     1031     *      -- PVOID Handle: This is the handle of a drive or volume.
    10311032     *             Drive handles are obtained through the
    10321033     *             Get_Drive_Control_Data function.  Volume
     
    10731074     */
    10741075
    1075     Partition_Information_Array _System Get_Partitions( ADDRESS Handle, CARDINAL32 * Error_Code );
     1076    Partition_Information_Array _System Get_Partitions( PVOID Handle, CARDINAL32 * Error_Code );
    10761077
    10771078    /*
     
    11001101     */
    11011102
    1102     ADDRESS _System Get_Partition_Handle( CARDINAL32 Serial_Number, CARDINAL32 * Error_Code );
     1103    PVOID _System Get_Partition_Handle( CARDINAL32 Serial_Number, CARDINAL32 * Error_Code );
    11031104
    11041105    /*
     
    11091110     *      Input:
    11101111     *
    1111      *      -- ADDRESS Partition_Handle:
     1112     *      -- PVOID Partition_Handle:
    11121113     *          The handle associated with the partition for which the
    11131114     *          Partition_Information_Record is desired.
     
    11241125     */
    11251126
    1126     Partition_Information_Record  _System Get_Partition_Information( ADDRESS Partition_Handle, CARDINAL32 * Error_Code );
     1127    Partition_Information_Record  _System Get_Partition_Information( PVOID Partition_Handle, CARDINAL32 * Error_Code );
    11271128
    11281129    /*
     
    11321133     *      Input:
    11331134     *
    1134      *      --  ADDRESS Handle: The handle of a disk drive or a block
     1135     *      --  PVOID Handle: The handle of a disk drive or a block
    11351136     *          of free space.
    11361137     *
     
    11841185     */
    11851186
    1186     ADDRESS _System Create_Partition( ADDRESS               Handle,
     1187    PVOID _System Create_Partition( PVOID               Handle,
    11871188                                      CARDINAL32            Size,
    11881189                                      char                  Name[ PARTITION_NAME_SIZE ],
     
    12001201     *      Input:
    12011202     *
    1202      *      --  ADDRESS Partition_Handle: The handle associated with the*
     1203     *      --  PVOID Partition_Handle: The handle associated with the*
    12031204     *          partition to be deleted.
    12041205     *
     
    12221223     */
    12231224
    1224     void _System Delete_Partition( ADDRESS Partition_Handle, CARDINAL32 * Error_Code );
     1225    void _System Delete_Partition( PVOID Partition_Handle, CARDINAL32 * Error_Code );
    12251226
    12261227    /*
     
    12301231     *      Input:
    12311232     *
    1232      *      --  ADDRESS Partition_Handle: The handle of the partition
     1233     *      --  PVOID Partition_Handle: The handle of the partition
    12331234     *          whose Active Flag is to be set.
    12341235     *
     
    12571258     */
    12581259
    1259     void _System Set_Active_Flag ( ADDRESS      Partition_Handle,
     1260    void _System Set_Active_Flag ( PVOID      Partition_Handle,
    12601261                                   BYTE         Active_Flag,
    12611262                                   CARDINAL32 * Error_Code
     
    12711272     *      Input:
    12721273     *
    1273      *      --  ADDRESS Partition_Handle: The handle of the partition
     1274     *      --  PVOID Partition_Handle: The handle of the partition
    12741275     *          whose Active Flag is to be set.
    12751276     *      --  BYTE OS_Flag - The new value for the OS Flag.
     
    12981299     */
    12991300
    1300     void _System Set_OS_Flag ( ADDRESS      Partition_Handle,
     1301    void _System Set_OS_Flag ( PVOID      Partition_Handle,
    13011302                               BYTE         OS_Flag,
    13021303                               CARDINAL32 * Error_Code
     
    13571358     *      Input:
    13581359     *
    1359      *      --  ADDRESS Volume_Handle: The handle of the volume about
     1360     *      --  PVOID Volume_Handle: The handle of the volume about
    13601361     *          which information is desired.
    13611362     *
     
    13731374     */
    13741375
    1375     Volume_Information_Record _System Get_Volume_Information( ADDRESS Volume_Handle, CARDINAL32 * Error_Code );
     1376    Volume_Information_Record _System Get_Volume_Information( PVOID Volume_Handle, CARDINAL32 * Error_Code );
    13761377
    13771378    /*
     
    13981399     *          link together to form the volume being created.
    13991400     *
    1400      *      --  ADDRESS Partition_Handles[]: An array of partition handles
     1401     *      --  PVOID Partition_Handles[]: An array of partition handles
    14011402     *          with one entry for each partition that is to become part
    14021403     *          of the volume being created.
     
    14301431                                CARDINAL32   FeaturesToUse,
    14311432                                CARDINAL32   Partition_Count,
    1432                                 ADDRESS      Partition_Handles[],
     1433                                PVOID      Partition_Handles[],
    14331434                                CARDINAL32 * Error_Code
    14341435                              );
     
    14401441     *      Input:
    14411442     *
    1442      *      -- ADDRESS Volume_Handle: The handle of the volume to
     1443     *      -- PVOID Volume_Handle: The handle of the volume to
    14431444     *                         delete.  All partitions which are
    14441445     *                         part of the specified volume will
     
    14701471     */
    14711472
    1472     void _System Delete_Volume( ADDRESS Volume_Handle, CARDINAL32 * Error_Code );
     1473    void _System Delete_Volume( PVOID Volume_Handle, CARDINAL32 * Error_Code );
    14731474
    14741475    /*
     
    14801481     *      Input:
    14811482     *
    1482      *      -- ADDRESS Volume_Handle: The handle of the volume to hide.
     1483     *      -- PVOID Volume_Handle: The handle of the volume to hide.
    14831484     *
    14841485     *      Output:
     
    14981499     */
    14991500
    1500     void _System Hide_Volume( ADDRESS Volume_Handle, CARDINAL32 * Error_Code );
     1501    void _System Hide_Volume( PVOID Volume_Handle, CARDINAL32 * Error_Code );
    15011502
    15021503    /*
     
    15061507     *      Input:
    15071508     *
    1508      *      --  ADDRESS Volume_Handle: The handle of the volume to be
     1509     *      --  PVOID Volume_Handle: The handle of the volume to be
    15091510     *          expanded.
    15101511     *
     
    15121513     *          volumes to be added to the volume being expanded.
    15131514     *
    1514      *      -- ADDRESS Partition_Handles[] - An array of handles.  Each
     1515     *      -- PVOID Partition_Handles[] - An array of handles.  Each
    15151516     *          handle in the array is the handle of a partition which
    15161517     *          is to be added to the volume being expanded.
     
    15491550     */
    15501551
    1551     void _System Expand_Volume ( ADDRESS         Volume_Handle,
     1552    void _System Expand_Volume ( PVOID         Volume_Handle,
    15521553                                 CARDINAL32      Partition_Count,
    1553                                  ADDRESS         Partition_Handles[],
     1554                                 PVOID         Partition_Handles[],
    15541555                                 CARDINAL32 *    Error_Code
    15551556                               );
     
    15611562     *      Input:
    15621563     *
    1563      *      --  ADDRESS Volume_Handle: The handle of the volume which
     1564     *      --  PVOID Volume_Handle: The handle of the volume which
    15641565     *          is to have its assigned drive letter changed.
    15651566     *
     
    15911592     */
    15921593
    1593     void _System Assign_Drive_Letter( ADDRESS      Volume_Handle,
     1594    void _System Assign_Drive_Letter( PVOID      Volume_Handle,
    15941595                                      char         New_Drive_Preference,
    15951596                                      CARDINAL32 * Error_Code
     
    16021603     *      Input:
    16031604     *
    1604      *      --  ADDRESS Volume_Handle: The handle of the volume to which
     1605     *      --  PVOID Volume_Handle: The handle of the volume to which
    16051606     *          OS/2 should be installed.
    16061607     *
     
    16221623     */
    16231624
    1624     void _System Set_Installable ( ADDRESS Volume_Handle, CARDINAL32 * Error_Code );
     1625    void _System Set_Installable ( PVOID Volume_Handle, CARDINAL32 * Error_Code );
    16251626
    16261627    /*
     
    16501651     *      Input:
    16511652     *
    1652      *      --  ADDRESS Handle: The handle of the drive, partition, or
     1653     *      --  PVOID Handle: The handle of the drive, partition, or
    16531654     *          volume which is to have its name set.
    16541655     *
     
    16701671     */
    16711672
    1672     void _System Set_Name ( ADDRESS      Handle,
     1673    void _System Set_Name ( PVOID      Handle,
    16731674                            char         New_Name[],
    16741675                            CARDINAL32 * Error_Code
     
    16851686     *      Input:
    16861687     *
    1687      *      --  ADDRESS Handle: The handle of the partition or volume
     1688     *      --  PVOID Handle: The handle of the partition or volume
    16881689     *          which is to be set startable.
    16891690     *
     
    17071708     */
    17081709
    1709     void _System Set_Startable ( ADDRESS      Handle,
     1710    void _System Set_Startable ( PVOID      Handle,
    17101711                                 CARDINAL32 * Error_Code
    17111712                               );
     
    17221723     *      Input:
    17231724     *
    1724      *      --  ADDRESS Handle: This is any valid drive, volume, or
     1725     *      --  PVOID Handle: This is any valid drive, volume, or
    17251726     *          partition handle.
    17261727     *
     
    17451746     */
    17461747
    1747     CARDINAL32 _System Get_Valid_Options( ADDRESS Handle, CARDINAL32 * Error_Code );
     1748    CARDINAL32 _System Get_Valid_Options( PVOID Handle, CARDINAL32 * Error_Code );
    17481749
    17491750    /* ******************************************************************
     
    17751776     *      Input:
    17761777     *
    1777      *      --  ADDRESS Handle: The handle of a partition or volume that
     1778     *      --  PVOID Handle: The handle of a partition or volume that
    17781779     *          is to be added to the Boot Manager menu.
    17791780     *
     
    18001801     */
    18011802
    1802     void _System Add_To_Boot_Manager ( ADDRESS Handle, CARDINAL32 * Error_Code );
     1803    void _System Add_To_Boot_Manager ( PVOID Handle, CARDINAL32 * Error_Code );
    18031804
    18041805    /*
     
    18271828     */
    18281829
    1829     void _System Remove_From_Boot_Manager ( ADDRESS Handle, CARDINAL32 * Error_Code );
     1830    void _System Remove_From_Boot_Manager ( PVOID Handle, CARDINAL32 * Error_Code );
    18301831
    18311832    /*
     
    19161917     *      Input:
    19171918     *
    1918      *      --  ADDRESS Handle - The handle of the partition or volume
     1919     *      --  PVOID Handle - The handle of the partition or volume
    19191920     *          to boot if the time-out timer is active and the time-out
    19201921     *          value is reached.
     
    19451946     */
    19461947
    1947     void _System Set_Boot_Manager_Options( ADDRESS      Handle,
     1948    void _System Set_Boot_Manager_Options( PVOID      Handle,
    19481949                                           BOOLEAN      Timer_Active,
    19491950                                           CARDINAL32   Time_Out_Value,
     
    19591960     *      Input:
    19601961     *
    1961      *      --  ADDRESS * Handle - The handle for the default boot
     1962     *      --  PVOID * Handle - The handle for the default boot
    19621963     *          volume or partition.
    19631964     *
     
    19921993     */
    19931994
    1994     void _System Get_Boot_Manager_Options( ADDRESS    *  Handle,
     1995    void _System Get_Boot_Manager_Options( PVOID    *  Handle,
    19951996                                           BOOLEAN    *  Handle_Is_Volume,
    19961997                                           BOOLEAN    *  Timer_Active,
     
    20132014     *      Input:
    20142015     *
    2015      *      --  ADDRESS Object: The address of the memory object to
     2016     *      --  PVOID Object: The address of the memory object to
    20162017     *          free.  This could be the Drive_Control_Data field of
    20172018     *          a Drive_Control_Record, the Partition_Array field of
     
    20262027     */
    20272028
    2028     void _System Free_Engine_Memory( ADDRESS Object );
     2029    void _System Free_Engine_Memory( PVOID Object );
    20292030
    20302031    /*
     
    20342035     *      Input:
    20352036     *
    2036      *      --  ADDRESS Drive_Handle - The handle of the drive on which
     2037     *      --  PVOID Drive_Handle - The handle of the drive on which
    20372038     *          the new MBR is to be placed.
    20382039     *
     
    20542055     */
    20552056
    2056     void _System New_MBR( ADDRESS Drive_Handle, CARDINAL32 * Error_Code );
     2057    void _System New_MBR( PVOID Drive_Handle, CARDINAL32 * Error_Code );
    20572058
    20582059    /*
     
    22522253     *          read into memory.
    22532254     *
    2254      *      --  ADDRESS Buffer : The location to put the data read into.
     2255     *      --  PVOID Buffer : The location to put the data read into.
    22552256     *
    22562257     *      Output:
     
    22742275                                LBA                 Starting_Sector,
    22752276                                CARDINAL32          Sectors_To_Read,
    2276                                 ADDRESS             Buffer,
     2277                                PVOID             Buffer,
    22772278                                CARDINAL32 *        Error);
    22782279
     
    22932294     *          be written.
    22942295     *
    2295      *      --  ADDRESS Buffer : The location of the data to be written
     2296     *      --  PVOID Buffer : The location of the data to be written
    22962297     *          to disk.
    22972298     *
     
    23162317                                 LBA                 Starting_Sector,
    23172318                                 CARDINAL32          Sectors_To_Write,
    2318                                  ADDRESS             Buffer,
     2319                                 PVOID             Buffer,
    23192320                                 CARDINAL32 *        Error);
    23202321
Note: See TracChangeset for help on using the changeset viewer.