All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Bochnig, Martin" <mb1x@gmx.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Keyboard problem in qemu 0.6.0-2
Date: Fri, 03 Sep 2004 23:11:35 +0200	[thread overview]
Message-ID: <4138DE07.2010708@gmx.com> (raw)
In-Reply-To: <200409032051.i83KpOLj027201@tiger2.tools.intra>

Juergen Keil wrote:

> I use the same macros that are already used for the xxxBSDs, for example
> in dyngen-exec.h:

Yes - I know, (at least some)BSD's libc does not support these symbols.

  I tried to use QEMU's *BSD code for a certain while, too.
But without your modifications below, it didn't work and I got a lot of 
trouble and I then discarded my idea (due to my success under Solaris10).

Thanks a lot!

Martin

> 
> -#if defined(_BSD) && !defined(__APPLE__)
> +#if defined(_BSD) && !defined(__APPLE__) || defined(_SVR4)
>  #include <ieeefp.h>
> 
>  #define FE_TONEAREST   FP_RN
>  #define FE_DOWNWARD    FP_RM
>  #define FE_UPWARD      FP_RP
>  #define FE_TOWARDZERO  FP_RZ
>  #define fesetround(x)  fpsetround(x)
> +#define fegetround()  fpgetround()
>  #else
>  #include <fenv.h>
>  #endif
> 
>  #ifdef __i386__
>  #define AREG0 "ebp"
> 
> 
> Or in target-i386/exec.h
> 
> -#if !defined(_BSD)
> +#if !defined(_BSD) && !defined(_SVR4)
>  extern int lrint(CPU86_LDouble x);
>  extern int64_t llrint(CPU86_LDouble x);
>  #else
>  #define lrint(d)               ((int)rint(d))
>  #define llrint(d)              ((int)rint(d))
>  #endif
> 
> 
> 
> 

       reply	other threads:[~2004-09-03 21:19 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200409032051.i83KpOLj027201@tiger2.tools.intra>
2004-09-03 21:11 ` Bochnig, Martin [this message]
     [not found] <ksadil@bigpond.net.au>
2004-09-04  1:07 ` [Qemu-devel] Keyboard problem in qemu 0.6.0-2 Kim Adil
2004-09-03 11:54   ` Mark Williamson
2004-09-04  2:07     ` Kim Adil
2004-09-03 12:28       ` Mark Williamson
2004-09-04  2:34         ` Kim Adil
2004-09-04  2:38           ` Kim Adil
2004-09-04  4:26             ` Kim Adil
2004-09-03 17:13               ` Bochnig, Martin
2004-09-03 17:33                 ` Bochnig, Martin
2004-09-04  1:53                 ` Kim Adil
2004-09-04  7:18                   ` Bochnig, Martin
2004-09-04  7:55                     ` Bochnig, Martin
2004-09-03 17:38 Juergen Keil
2004-09-03 20:06 ` Bochnig, Martin
2004-09-03 20:22   ` Bochnig, Martin
2004-09-03 20:44 ` Fabrice Bellard
2004-09-06 14:16   ` Johannes Schindelin
2004-09-07 13:27   ` Johannes Schindelin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4138DE07.2010708@gmx.com \
    --to=mb1x@gmx.com \
    --cc=bochnig@pool.math.tu-berlin.de \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.