1*f514b6a6Sjdolecek /*- 2*f514b6a6Sjdolecek * BSD LICENSE 3*f514b6a6Sjdolecek * 4*f514b6a6Sjdolecek * Copyright (c) 2015-2017 Amazon.com, Inc. or its affiliates. 5*f514b6a6Sjdolecek * All rights reserved. 6*f514b6a6Sjdolecek * 7*f514b6a6Sjdolecek * Redistribution and use in source and binary forms, with or without 8*f514b6a6Sjdolecek * modification, are permitted provided that the following conditions 9*f514b6a6Sjdolecek * are met: 10*f514b6a6Sjdolecek * 11*f514b6a6Sjdolecek * * Redistributions of source code must retain the above copyright 12*f514b6a6Sjdolecek * notice, this list of conditions and the following disclaimer. 13*f514b6a6Sjdolecek * * Redistributions in binary form must reproduce the above copyright 14*f514b6a6Sjdolecek * notice, this list of conditions and the following disclaimer in 15*f514b6a6Sjdolecek * the documentation and/or other materials provided with the 16*f514b6a6Sjdolecek * distribution. 17*f514b6a6Sjdolecek * * Neither the name of copyright holder nor the names of its 18*f514b6a6Sjdolecek * contributors may be used to endorse or promote products derived 19*f514b6a6Sjdolecek * from this software without specific prior written permission. 20*f514b6a6Sjdolecek * 21*f514b6a6Sjdolecek * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22*f514b6a6Sjdolecek * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23*f514b6a6Sjdolecek * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24*f514b6a6Sjdolecek * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25*f514b6a6Sjdolecek * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26*f514b6a6Sjdolecek * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27*f514b6a6Sjdolecek * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28*f514b6a6Sjdolecek * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29*f514b6a6Sjdolecek * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30*f514b6a6Sjdolecek * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31*f514b6a6Sjdolecek * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32*f514b6a6Sjdolecek */ 33*f514b6a6Sjdolecek 34*f514b6a6Sjdolecek #ifndef _ENA_COMMON_H_ 35*f514b6a6Sjdolecek #define _ENA_COMMON_H_ 36*f514b6a6Sjdolecek 37*f514b6a6Sjdolecek #define ENA_COMMON_SPEC_VERSION_MAJOR 0 /* */ 38*f514b6a6Sjdolecek #define ENA_COMMON_SPEC_VERSION_MINOR 10 /* */ 39*f514b6a6Sjdolecek 40*f514b6a6Sjdolecek /* ENA operates with 48-bit memory addresses. ena_mem_addr_t */ 41*f514b6a6Sjdolecek struct ena_common_mem_addr { 42*f514b6a6Sjdolecek uint32_t mem_addr_low; 43*f514b6a6Sjdolecek 44*f514b6a6Sjdolecek uint16_t mem_addr_high; 45*f514b6a6Sjdolecek 46*f514b6a6Sjdolecek /* MBZ */ 47*f514b6a6Sjdolecek uint16_t reserved16; 48*f514b6a6Sjdolecek }; 49*f514b6a6Sjdolecek 50*f514b6a6Sjdolecek #endif /*_ENA_COMMON_H_ */ 51