/**/ /***************************************************************************/ /** **/ /** © 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:24:52 by OpenVMS SDL EV3-3 */ /* Source: 14-NOV-2008 16:48:53 $1$DGA7274:[LIB_H.SRC]F11DEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $FM2DEF ***/ #ifndef __FM2DEF_LOADED #define __FM2DEF_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 /* retrieval pointer type codes */ #define FM2$C_PLACEMENT 0 /* 00 = placement control data */ #define FM2$C_FORMAT1 1 /* 01 = format 1 */ #define FM2$C_FORMAT2 2 /* 10 = format 2 */ #define FM2$C_FORMAT3 3 /* 11 = format 3 */ /* format of retrieval pointer */ #define FM2$K_LENGTH0 2 /* length of format 0 (placement) */ #define FM2$C_LENGTH0 2 /* length of format 0 (placement) */ #define FM2$K_LENGTH1 4 /* length of format 1 */ #define FM2$C_LENGTH1 4 /* length of format 1 */ #define FM2$S_FM2DEF 4 /* Old size name - synonym */ typedef struct _fm2 { __union { unsigned short int fm2$w_word0; /* first word, of many uses */ __struct { unsigned fm2$$_fill_1 : 14; /* type specific data */ unsigned fm2$v_format : 2; /* format type code */ } fm2$r_word0_bits0; __struct { unsigned fm2$v_exact : 1; /* exact placement specified */ unsigned fm2$v_oncyl : 1; /* on cylinder allocation desired */ unsigned fm2$$_fill_2 : 10; unsigned fm2$v_lbn : 1; /* use LBN of next map pointer */ unsigned fm2$v_rvn : 1; /* place on specified RVN */ unsigned fm2$v_fill_3_ : 2; } fm2$r_word0_bits1; __struct { unsigned fm2$$_fill_3 : 8; /* low byte described below */ unsigned fm2$v_highlbn : 6; /* high order LBN */ unsigned fm2$v_fill_4_ : 2; } fm2$r_word0_bits2; __struct { unsigned fm2$v_count2 : 14; /* format 2 & 3 count field */ unsigned fm2$v_fill_5_ : 2; } fm2$r_word0_bits3; unsigned char fm2$b_count1; /* format 1 count field */ } fm2$r_word0_overlay; unsigned short int fm2$w_lowlbn; /* format 1 low order LBN */ } FM2; #if !defined(__VAXC) #define fm2$w_word0 fm2$r_word0_overlay.fm2$w_word0 #define fm2$v_format fm2$r_word0_overlay.fm2$r_word0_bits0.fm2$v_format #define fm2$v_exact fm2$r_word0_overlay.fm2$r_word0_bits1.fm2$v_exact #define fm2$v_oncyl fm2$r_word0_overlay.fm2$r_word0_bits1.fm2$v_oncyl #define fm2$v_lbn fm2$r_word0_overlay.fm2$r_word0_bits1.fm2$v_lbn #define fm2$v_rvn fm2$r_word0_overlay.fm2$r_word0_bits1.fm2$v_rvn #define fm2$v_highlbn fm2$r_word0_overlay.fm2$r_word0_bits2.fm2$v_highlbn #define fm2$v_count2 fm2$r_word0_overlay.fm2$r_word0_bits3.fm2$v_count2 #define fm2$b_count1 fm2$r_word0_overlay.fm2$b_count1 #endif /* #if !defined(__VAXC) */ #define FM2$K_LENGTH2 6 /* length of format 2 */ #define FM2$C_LENGTH2 6 /* length of format 2 */ #define FM2$S_FM2DEF1 6 /* Old size name - synonym */ typedef struct _fm2_1 { char fm2$$_fill_4 [2]; unsigned int fm2$l_lbn2; /* format 2 LBN (longword) */ } FM2_1; #define FM2$K_LENGTH3 8 /* length of format 3 */ #define FM2$C_LENGTH3 8 /* length of format 3 */ #define FM2$S_FM2DEF2 8 /* Old size name - synonym */ typedef struct _fm2_2 { char fm2$$_fill_5 [2]; unsigned short int fm2$w_lowcount; /* format 3 low order count */ unsigned int fm2$l_lbn3; /* format 3 LBN (longword) */ } FM2_2; #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 /* __FM2DEF_LOADED */