summaryrefslogtreecommitdiffstats
path: root/sys/boot/ficl/math64.c
diff options
context:
space:
mode:
authordcs <dcs@FreeBSD.org>2001-04-29 02:36:36 +0000
committerdcs <dcs@FreeBSD.org>2001-04-29 02:36:36 +0000
commit1e7d7fa08115fc164f8ace561bcb994a5e67b77f (patch)
tree690032d340b3613edf94f5cc9c0fd8ae2c6c2487 /sys/boot/ficl/math64.c
parent92d7ad4004a51f2ffc4e8141df3233065f426cfd (diff)
downloadFreeBSD-src-1e7d7fa08115fc164f8ace561bcb994a5e67b77f.zip
FreeBSD-src-1e7d7fa08115fc164f8ace561bcb994a5e67b77f.tar.gz
Bring in ficl 2.05.
This version has a step debugger, which now completely replaces the old trace feature. Also, we moved all of the FreeBSD-specific MI code to loader.c, reducing the diff between this and the official FICL distribution.
Diffstat (limited to 'sys/boot/ficl/math64.c')
-rw-r--r--sys/boot/ficl/math64.c43
1 files changed, 40 insertions, 3 deletions
diff --git a/sys/boot/ficl/math64.c b/sys/boot/ficl/math64.c
index e3d64e8..a355883 100644
--- a/sys/boot/ficl/math64.c
+++ b/sys/boot/ficl/math64.c
@@ -5,7 +5,44 @@
** Created: 25 January 1998
** Rev 2.03: Support for 128 bit DP math. This file really ouught to
** be renamed!
+** $Id: math64.c,v 1.5 2001-04-26 21:41:36-07 jsadler Exp jsadler $
*******************************************************************/
+/*
+** Copyright (c) 1997-2001 John Sadler (john_sadler@alum.mit.edu)
+** All rights reserved.
+**
+** Get the latest Ficl release at http://ficl.sourceforge.net
+**
+** L I C E N S E and D I S C L A I M E R
+**
+** Redistribution and use in source and binary forms, with or without
+** modification, are permitted provided that the following conditions
+** are met:
+** 1. Redistributions of source code must retain the above copyright
+** notice, this list of conditions and the following disclaimer.
+** 2. Redistributions in binary form must reproduce the above copyright
+** notice, this list of conditions and the following disclaimer in the
+** documentation and/or other materials provided with the distribution.
+**
+** THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+** ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+** ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+** FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+** DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+** OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+** HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+** OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+** SUCH DAMAGE.
+**
+** I am interested in hearing from anyone who uses ficl. If you have
+** a problem, a success story, a defect, an enhancement request, or
+** if you would like to contribute to the ficl release, please send
+** contact me by email at the address above.
+**
+** $Id: math64.c,v 1.5 2001-04-26 21:41:36-07 jsadler Exp jsadler $
+*/
/* $FreeBSD$ */
@@ -311,7 +348,7 @@ UNS16 m64UMod(DPUNS *pUD, UNS16 base)
/**************************************************************************
** Contributed by
-** Michael A. Gauland gaulandm@mdhost.cse.tek.com
+** Michael A. Gauland gaulandm@mdhost.cse.tek.com
**************************************************************************/
#if PORTABLE_LONGMULDIV != 0
/**************************************************************************
@@ -454,7 +491,7 @@ int m64Compare(DPUNS x, DPUNS y)
f i c l L o n g M u l
** Portable versions of ficlLongMul and ficlLongDiv in C
** Contributed by:
-** Michael A. Gauland gaulandm@mdhost.cse.tek.com
+** Michael A. Gauland gaulandm@mdhost.cse.tek.com
**************************************************************************/
DPUNS ficlLongMul(FICL_UNS x, FICL_UNS y)
{
@@ -481,7 +518,7 @@ DPUNS ficlLongMul(FICL_UNS x, FICL_UNS y)
f i c l L o n g D i v
** Portable versions of ficlLongMul and ficlLongDiv in C
** Contributed by:
-** Michael A. Gauland gaulandm@mdhost.cse.tek.com
+** Michael A. Gauland gaulandm@mdhost.cse.tek.com
**************************************************************************/
UNSQR ficlLongDiv(DPUNS q, FICL_UNS y)
{
OpenPOWER on IntegriCloud