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