mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Add a common header file for libgcc functions
git-svn-id: svn://coreboot.org/openbios/openbios-devel@192 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* muldi3.c extracted from gcc-2.7.2.3/libgcc2.c and
|
||||
/* muldi3.c extracted from gcc-2.7.2.3/libgcc2.c and
|
||||
gcc-2.7.2.3/longlong.h which is: */
|
||||
/* Copyright (C) 1989, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
|
||||
|
||||
@@ -19,6 +19,8 @@ along with GNU CC; see the file COPYING. If not, write to
|
||||
the Free Software Foundation, 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include "libgcc.h"
|
||||
|
||||
#define BITS_PER_UNIT 8
|
||||
#define DI_TYPE_SIZE 64
|
||||
|
||||
@@ -56,11 +58,6 @@ Boston, MA 02111-1307, USA. */
|
||||
umul_ppmm (__w.s.high, __w.s.low, u, v); \
|
||||
__w.ll; })
|
||||
|
||||
typedef int DItype __attribute__ ((mode (DI)));
|
||||
typedef unsigned int UDItype __attribute__ ((mode (DI)));
|
||||
typedef int TItype __attribute__ ((mode (TI)));
|
||||
typedef int word_type __attribute__ ((mode (__word__)));
|
||||
|
||||
struct TIstruct {DItype high, low;};
|
||||
|
||||
typedef union
|
||||
|
||||
Reference in New Issue
Block a user