1320731Szbb/*- 2320731Szbb * BSD LICENSE 3320731Szbb * 4320731Szbb * Copyright (c) 2015-2017 Amazon.com, Inc. or its affiliates. 5320731Szbb * All rights reserved. 6320731Szbb * 7320731Szbb * Redistribution and use in source and binary forms, with or without 8320731Szbb * modification, are permitted provided that the following conditions 9320731Szbb * are met: 10320731Szbb * 11320731Szbb * * Redistributions of source code must retain the above copyright 12320731Szbb * notice, this list of conditions and the following disclaimer. 13320731Szbb * * Redistributions in binary form must reproduce the above copyright 14320731Szbb * notice, this list of conditions and the following disclaimer in 15320731Szbb * the documentation and/or other materials provided with the 16320731Szbb * distribution. 17320731Szbb * * Neither the name of copyright holder nor the names of its 18320731Szbb * contributors may be used to endorse or promote products derived 19320731Szbb * from this software without specific prior written permission. 20320731Szbb * 21320731Szbb * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22320731Szbb * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23320731Szbb * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24320731Szbb * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25320731Szbb * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26320731Szbb * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27320731Szbb * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28320731Szbb * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29320731Szbb * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30320731Szbb * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31320731Szbb * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32320731Szbb */ 33320731Szbb 34320731Szbb#ifndef _ENA_COMMON_H_ 35320731Szbb#define _ENA_COMMON_H_ 36320731Szbb 37320731Szbb#define ENA_COMMON_SPEC_VERSION_MAJOR 0 /* */ 38320731Szbb#define ENA_COMMON_SPEC_VERSION_MINOR 10 /* */ 39320731Szbb 40320731Szbb/* ENA operates with 48-bit memory addresses. ena_mem_addr_t */ 41320731Szbbstruct ena_common_mem_addr { 42320731Szbb uint32_t mem_addr_low; 43320731Szbb 44320731Szbb uint16_t mem_addr_high; 45320731Szbb 46320731Szbb /* MBZ */ 47320731Szbb uint16_t reserved16; 48320731Szbb}; 49320731Szbb 50320731Szbb#endif /*_ENA_COMMON_H_ */ 51