aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1995-10-05 10:32:47 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1995-10-05 10:32:47 +0000
commit92a69bc337c00c5a29ad35385319ac6ecdb36fff (patch)
treecbcbb2ab8305b41ef25bc2e9f2cfd7f70d0f25ad
parentfcce81cde3b3bd1273784ad862b88a6e06e309f3 (diff)
Notes
-rw-r--r--sys/amd64/amd64/support.S17
-rw-r--r--sys/amd64/amd64/support.s17
-rw-r--r--sys/amd64/include/cpufunc.h5
-rw-r--r--sys/i386/i386/support.s17
-rw-r--r--sys/i386/include/cpufunc.h5
5 files changed, 5 insertions, 56 deletions
diff --git a/sys/amd64/amd64/support.S b/sys/amd64/amd64/support.S
index db0fa03c5e4ed..4a89fd9815173 100644
--- a/sys/amd64/amd64/support.S
+++ b/sys/amd64/amd64/support.S
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: support.s,v 1.21 1995/03/11 03:49:50 phk Exp $
+ * $Id: support.s,v 1.22 1995/05/02 05:20:26 davidg Exp $
*/
#include "assym.s" /* system definitions */
@@ -42,21 +42,6 @@
#define IDXSHIFT 10
/*
- * Support routines for GCC, general C-callable functions
- */
-ENTRY(__udivsi3)
- movl 4(%esp),%eax
- xorl %edx,%edx
- divl 8(%esp)
- ret
-
-ENTRY(__divsi3)
- movl 4(%esp),%eax
- cltd
- idivl 8(%esp)
- ret
-
-/*
* Support for reading real time clock registers
*/
ENTRY(rtcin) /* rtcin(val) */
diff --git a/sys/amd64/amd64/support.s b/sys/amd64/amd64/support.s
index db0fa03c5e4ed..4a89fd9815173 100644
--- a/sys/amd64/amd64/support.s
+++ b/sys/amd64/amd64/support.s
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: support.s,v 1.21 1995/03/11 03:49:50 phk Exp $
+ * $Id: support.s,v 1.22 1995/05/02 05:20:26 davidg Exp $
*/
#include "assym.s" /* system definitions */
@@ -42,21 +42,6 @@
#define IDXSHIFT 10
/*
- * Support routines for GCC, general C-callable functions
- */
-ENTRY(__udivsi3)
- movl 4(%esp),%eax
- xorl %edx,%edx
- divl 8(%esp)
- ret
-
-ENTRY(__divsi3)
- movl 4(%esp),%eax
- cltd
- idivl 8(%esp)
- ret
-
-/*
* Support for reading real time clock registers
*/
ENTRY(rtcin) /* rtcin(val) */
diff --git a/sys/amd64/include/cpufunc.h b/sys/amd64/include/cpufunc.h
index 94f8bcf8831ea..1415042abed2e 100644
--- a/sys/amd64/include/cpufunc.h
+++ b/sys/amd64/include/cpufunc.h
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: cpufunc.h,v 1.39 1995/08/08 04:50:52 dyson Exp $
+ * $Id: cpufunc.h,v 1.40 1995/08/26 20:45:59 bde Exp $
*/
/*
@@ -355,11 +355,8 @@ void remque __P((void *a));
/*
* XXX the following declarations document garbage in support.s.
- * gcc hasn't needed _divsi* for years.
* bcopy[bwx]() was used by pccons but isn't used now.
*/
-int __divsi3 __P((int factor1, int factor2));
-u_int __udivsi3 __P((u_int factor1, u_int factor2));
void bcopyb __P((const void *from, void *to, size_t len));
void bcopyw __P((const void *from, void *to, size_t len));
void bcopyx __P((const void *from, void *to, size_t len,
diff --git a/sys/i386/i386/support.s b/sys/i386/i386/support.s
index db0fa03c5e4ed..4a89fd9815173 100644
--- a/sys/i386/i386/support.s
+++ b/sys/i386/i386/support.s
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: support.s,v 1.21 1995/03/11 03:49:50 phk Exp $
+ * $Id: support.s,v 1.22 1995/05/02 05:20:26 davidg Exp $
*/
#include "assym.s" /* system definitions */
@@ -42,21 +42,6 @@
#define IDXSHIFT 10
/*
- * Support routines for GCC, general C-callable functions
- */
-ENTRY(__udivsi3)
- movl 4(%esp),%eax
- xorl %edx,%edx
- divl 8(%esp)
- ret
-
-ENTRY(__divsi3)
- movl 4(%esp),%eax
- cltd
- idivl 8(%esp)
- ret
-
-/*
* Support for reading real time clock registers
*/
ENTRY(rtcin) /* rtcin(val) */
diff --git a/sys/i386/include/cpufunc.h b/sys/i386/include/cpufunc.h
index 94f8bcf8831ea..1415042abed2e 100644
--- a/sys/i386/include/cpufunc.h
+++ b/sys/i386/include/cpufunc.h
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: cpufunc.h,v 1.39 1995/08/08 04:50:52 dyson Exp $
+ * $Id: cpufunc.h,v 1.40 1995/08/26 20:45:59 bde Exp $
*/
/*
@@ -355,11 +355,8 @@ void remque __P((void *a));
/*
* XXX the following declarations document garbage in support.s.
- * gcc hasn't needed _divsi* for years.
* bcopy[bwx]() was used by pccons but isn't used now.
*/
-int __divsi3 __P((int factor1, int factor2));
-u_int __udivsi3 __P((u_int factor1, u_int factor2));
void bcopyb __P((const void *from, void *to, size_t len));
void bcopyw __P((const void *from, void *to, size_t len));
void bcopyx __P((const void *from, void *to, size_t len,