/********************************************************************************************************************************/ /* Created: 9-Mar-2021 22:28:06 by OpenVMS SDL EV3-3 */ /* Source: 09-MAR-2021 22:28:01 $1$DGA8085:[STARLET_H.SRC]STARDEFMP.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE PAGEDEF ***/ #ifndef __PAGEDEF_LOADED #define __PAGEDEF_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 #define MMG$C_VAX_PAGE_SIZE 512 /* SIZE OF VAX PAGE */ #define MMG$C_ALPHA_MAX_PAGE_SIZE 65536 /* MAX. PAGE SIZE */ #define IOC$C_DISK_BLKSIZ 512 /* STANDARD DISK BLOCK SIZE */ #define IOC$C_CD_DVD_BLKSIZ 2048 /* Typical CD and DVD sector size */ #define IOC$S_BLOCK_BYTEMASK 9 /* Width of byte field & shift factor for blocks */ #define IOC$S_DVDBLK_BYTEMASK 11 /* Width of byte field & shift factor for CD/DVD Sectors */ #define IOC$M_BLOCK_BYTEMASK 0x1FF #define IOC$M_BLOCK_BLKNUM 0xFFFFFE00 #ifdef __NEW_STARLET typedef union _blockdef { __struct { unsigned ioc$v_block_bytemask : 9; /*BYTE VIELD */ unsigned ioc$v_block_blknum : 23; /*BLOCK NUMBER */ } ioc$r_blockdef_bits0; } BLOCKDEF; #if !defined(__VAXC) #define ioc$v_block_bytemask ioc$r_blockdef_bits0.ioc$v_block_bytemask #define ioc$v_block_blknum ioc$r_blockdef_bits0.ioc$v_block_blknum #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ union blockdef { __struct { unsigned ioc$v_block_bytemask : 9; /*BYTE VIELD */ unsigned ioc$v_block_blknum : 23; /*BLOCK NUMBER */ } ioc$r_blockdef_bits0; } ; #if !defined(__VAXC) #define ioc$v_block_bytemask ioc$r_blockdef_bits0.ioc$v_block_bytemask #define ioc$v_block_blknum ioc$r_blockdef_bits0.ioc$v_block_blknum #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #define IOC$M_DVDBLK_BYTEMASK 0x7FF #define IOC$M_DVDBLK_BLKNUM 0xFFFFF800 #ifdef __NEW_STARLET typedef union _dvdblkdef { __struct { unsigned ioc$v_dvdblk_bytemask : 11; /* CD/DVD Vield */ unsigned ioc$v_dvdblk_blknum : 21; /* CD/DVD Block Number */ } ioc$r_dvdblkdef_bits0; } DVDBLKDEF; #if !defined(__VAXC) #define ioc$v_dvdblk_bytemask ioc$r_dvdblkdef_bits0.ioc$v_dvdblk_bytemask #define ioc$v_dvdblk_blknum ioc$r_dvdblkdef_bits0.ioc$v_dvdblk_blknum #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ union dvdblkdef { __struct { unsigned ioc$v_dvdblk_bytemask : 11; /* CD/DVD Vield */ unsigned ioc$v_dvdblk_blknum : 21; /* CD/DVD Block Number */ } ioc$r_dvdblkdef_bits0; } ; #if !defined(__VAXC) #define ioc$v_dvdblk_bytemask ioc$r_dvdblkdef_bits0.ioc$v_dvdblk_bytemask #define ioc$v_dvdblk_blknum ioc$r_dvdblkdef_bits0.ioc$v_dvdblk_blknum #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #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 /* __PAGEDEF_LOADED */