/**/ /***************************************************************************/ /** **/ /** © Copyright 2010, Hewlett-Packard Development Company, L.P. **/ /** **/ /** Confidential computer software. Valid license from HP and/or **/ /** its subsidiaries required for possession, use, or copying. **/ /** **/ /** Consistent with FAR 12.211 and 12.212, Commercial Computer Software, **/ /** Computer Software Documentation, and Technical Data for Commercial **/ /** Items are licensed to the U.S. Government under vendor's standard **/ /** commercial license. **/ /** **/ /** Neither HP nor any of its subsidiaries shall be liable for technical **/ /** or editorial errors or omissions contained herein. The information **/ /** in this document is provided "as is" without warranty of any kind and **/ /** is subject to change without notice. The warranties for HP products **/ /** are set forth in the express limited warranty statements accompanying **/ /** such products. Nothing herein should be construed as constituting an **/ /** additional warranty. **/ /** **/ /***************************************************************************/ /********************************************************************************************************************************/ /* Created: 30-Mar-2010 17:25:03 by OpenVMS SDL EV3-3 */ /* Source: 14-NOV-2008 16:48:53 $1$DGA7274:[LIB_H.SRC]F11DEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $BBDDEF ***/ #ifndef __BBDDEF_LOADED #define __BBDDEF_LOADED 1 #pragma __nostandard /* This file uses non-ANSI-Standard features */ #pragma __member_alignment __save #pragma __nomember_alignment #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __save /* Save the previously-defined required ptr size */ #pragma __required_pointer_size __short /* And set ptr size default to 32-bit pointers */ #endif #ifdef __cplusplus extern "C" { #define __unknown_params ... #define __optional_params ... #else #define __unknown_params #define __optional_params ... #endif #ifndef __struct #if !defined(__VAXC) #define __struct struct #else #define __struct variant_struct #endif #endif #ifndef __union #if !defined(__VAXC) #define __union union #else #define __union variant_union #endif #endif /*+ */ /* */ /* Bad block descriptor (generated by formatters for RK06, RM03, et al) */ /* */ /*- */ #define BBD$K_DESCRIPT 8 /* start of bad block descriptors */ #define BBD$C_DESCRIPT 8 /* start of bad block descriptors */ #define BBD$S_BBDDEF 512 /* Old size name - synonym */ typedef struct _bbd { unsigned int bbd$l_serial; /* pack serial number */ unsigned short int bbd$w_reserved; /* reserved area (MBZ) */ unsigned short int bbd$w_flags; /* pack status flags (zero for normal use) */ char bbddef$$_fill_1 [500]; unsigned int bbd$l_lastword; /* last longword of block */ } BBD; #define BBD$K_ENTRY 4 #define BBD$C_ENTRY 4 #define BBD$S_BBDDEF1 4 /* Old size name - synonym */ typedef struct _bbd1 { __union { unsigned int bbd$l_badblock; /* individual bad block entry */ __struct { unsigned bbd$v_cylinder : 15; /* cylinder number of bad block */ unsigned bbddef$$_fill_2 : 1; unsigned bbd$v_sector : 8; /* sector number of bad block */ unsigned bbd$v_track : 7; /* track number of bad block */ unsigned bbd$v_fill_11_ : 1; } bbd$r_badblock_bits; } bbd$r_bbd1_overlay; } BBD1; #if !defined(__VAXC) #define bbd$l_badblock bbd$r_bbd1_overlay.bbd$l_badblock #define bbd$v_cylinder bbd$r_bbd1_overlay.bbd$r_badblock_bits.bbd$v_cylinder #define bbd$v_sector bbd$r_bbd1_overlay.bbd$r_badblock_bits.bbd$v_sector #define bbd$v_track bbd$r_bbd1_overlay.bbd$r_badblock_bits.bbd$v_track #endif /* #if !defined(__VAXC) */ #pragma __member_alignment __restore #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __restore /* Restore the previously-defined required ptr size */ #endif #ifdef __cplusplus } #endif #pragma __standard #endif /* __BBDDEF_LOADED */