diff options
Diffstat (limited to 'usr/src/lib/udapl/udapl_tavor')
-rw-r--r-- | usr/src/lib/udapl/udapl_tavor/amd64/Makefile | 4 | ||||
-rw-r--r-- | usr/src/lib/udapl/udapl_tavor/amd64/amd64.il | 43 | ||||
-rw-r--r-- | usr/src/lib/udapl/udapl_tavor/i386/Makefile | 4 | ||||
-rw-r--r-- | usr/src/lib/udapl/udapl_tavor/i386/i386.il | 45 | ||||
-rw-r--r-- | usr/src/lib/udapl/udapl_tavor/include/dapl.h | 12 |
5 files changed, 3 insertions, 105 deletions
diff --git a/usr/src/lib/udapl/udapl_tavor/amd64/Makefile b/usr/src/lib/udapl/udapl_tavor/amd64/Makefile index 03b2fd8afa..e655f005e5 100644 --- a/usr/src/lib/udapl/udapl_tavor/amd64/Makefile +++ b/usr/src/lib/udapl/udapl_tavor/amd64/Makefile @@ -27,8 +27,4 @@ include ../Makefile.com include $(SRC)/lib/Makefile.lib.64 -amd64_XARCH += amd64.il - -pics/%.o: amd64.il - install: all $(ROOTLIBS64) diff --git a/usr/src/lib/udapl/udapl_tavor/amd64/amd64.il b/usr/src/lib/udapl/udapl_tavor/amd64/amd64.il deleted file mode 100644 index 2768d31053..0000000000 --- a/usr/src/lib/udapl/udapl_tavor/amd64/amd64.il +++ /dev/null @@ -1,43 +0,0 @@ -/* - * CDDL HEADER START - * - * The contents of this file are subject to the terms of the - * Common Development and Distribution License (the "License"). - * You may not use this file except in compliance with the License. - * - * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE - * or http://www.opensolaris.org/os/licensing. - * See the License for the specific language governing permissions - * and limitations under the License. - * - * When distributing Covered Code, include this CDDL HEADER in each - * file and include the License file at usr/src/OPENSOLARIS.LICENSE. - * If applicable, add the following below this CDDL HEADER, with the - * fields enclosed by brackets "[]" replaced with your own identifying - * information: Portions Copyright [yyyy] [name of copyright owner] - * - * CDDL HEADER END - */ - -/* - * Copyright 2007 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. - */ - -/ -/ In-line functions for amd64 udapl library. -/ - -/ -/ Device registers are in Big Endian byte order, so use bswap* instructions. -/ - - .inline dapls_byteswap64,8 - movq %rdi, %rax - bswapq %rax - .end - - .inline dapls_byteswap32,4 - movl %edi, %eax - bswap %eax - .end diff --git a/usr/src/lib/udapl/udapl_tavor/i386/Makefile b/usr/src/lib/udapl/udapl_tavor/i386/Makefile index edc427ff0d..1b671bce45 100644 --- a/usr/src/lib/udapl/udapl_tavor/i386/Makefile +++ b/usr/src/lib/udapl/udapl_tavor/i386/Makefile @@ -26,8 +26,4 @@ include ../Makefile.com -i386_XARCH += i386.il - -pics/%.o: i386.il - install: all $(ROOTLIBS) diff --git a/usr/src/lib/udapl/udapl_tavor/i386/i386.il b/usr/src/lib/udapl/udapl_tavor/i386/i386.il deleted file mode 100644 index 8dad3607fa..0000000000 --- a/usr/src/lib/udapl/udapl_tavor/i386/i386.il +++ /dev/null @@ -1,45 +0,0 @@ -/* - * CDDL HEADER START - * - * The contents of this file are subject to the terms of the - * Common Development and Distribution License (the "License"). - * You may not use this file except in compliance with the License. - * - * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE - * or http://www.opensolaris.org/os/licensing. - * See the License for the specific language governing permissions - * and limitations under the License. - * - * When distributing Covered Code, include this CDDL HEADER in each - * file and include the License file at usr/src/OPENSOLARIS.LICENSE. - * If applicable, add the following below this CDDL HEADER, with the - * fields enclosed by brackets "[]" replaced with your own identifying - * information: Portions Copyright [yyyy] [name of copyright owner] - * - * CDDL HEADER END - */ - -/* - * Copyright 2007 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. - */ - -/ -/ In-line functions for i386 udapl library. -/ - -/ -/ Device registers are in Big Endian byte order, so use bswap instructions. -/ - - .inline dapls_byteswap64,8 - movl (%esp), %edx - movl 4(%esp), %eax - bswap %edx - bswap %eax - .end - - .inline dapls_byteswap32,4 - movl (%esp), %eax - bswap %eax - .end diff --git a/usr/src/lib/udapl/udapl_tavor/include/dapl.h b/usr/src/lib/udapl/udapl_tavor/include/dapl.h index 048bf4bd5e..45c5004b5b 100644 --- a/usr/src/lib/udapl/udapl_tavor/include/dapl.h +++ b/usr/src/lib/udapl/udapl_tavor/include/dapl.h @@ -106,12 +106,6 @@ extern "C" { return (v.u); } #endif - -#else /* !defined(__lint) && defined(__GNUC__) */ -/* use SUN inline with .il files */ -uint64_t dapls_byteswap64(uint64_t); -uint32_t dapls_byteswap32(uint32_t); - #endif /* !defined(__lint) && defined(__GNUC__) */ #define HTOBE_64(x) dapls_byteswap64(x) @@ -1054,12 +1048,12 @@ dapl_pz_free(IN DAT_PZ_HANDLE); /* pz_handle */ extern DAT_RETURN dapl_lmr_sync_rdma_read( IN DAT_IA_HANDLE, /* ia_handle */ - IN const DAT_LMR_TRIPLET *, /* local_segments */ + IN const DAT_LMR_TRIPLET *, /* local_segments */ IN DAT_VLEN); /* num_segments */ extern DAT_RETURN dapl_lmr_sync_rdma_write( IN DAT_IA_HANDLE, /* ia_handle */ - IN const DAT_LMR_TRIPLET *, /* local_segments */ + IN const DAT_LMR_TRIPLET *, /* local_segments */ IN DAT_VLEN); /* num_segments */ /* @@ -1071,7 +1065,7 @@ extern DAT_RETURN dapl_ep_create_with_srq( IN DAT_EVD_HANDLE, /* recv_evd_handle */ IN DAT_EVD_HANDLE, /* request_evd_handle */ IN DAT_EVD_HANDLE, /* connect_evd_handle */ - IN DAT_SRQ_HANDLE, /* srq_handle */ + IN DAT_SRQ_HANDLE, /* srq_handle */ IN const DAT_EP_ATTR *, /* ep_attributes */ OUT DAT_EP_HANDLE *); /* ep_handle */ |