Commit 28c4f361ac740b4994cda7d1a4a6803cd08be396

Authored by bellard
1 parent 3d57da2a

arm nwfpe support


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@611 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 11 additions and 0 deletions
linux-user/qemu.h
@@ -48,10 +48,21 @@ struct vm86_saved_state { @@ -48,10 +48,21 @@ struct vm86_saved_state {
48 }; 48 };
49 #endif 49 #endif
50 50
  51 +#ifdef TARGET_ARM
  52 +/* FPU emulator */
  53 +#include "nwfpe/fpa11.h"
  54 +#undef put_user
  55 +#undef get_user
  56 +#endif
  57 +
51 /* NOTE: we force a big alignment so that the stack stored after is 58 /* NOTE: we force a big alignment so that the stack stored after is
52 aligned too */ 59 aligned too */
53 typedef struct TaskState { 60 typedef struct TaskState {
54 struct TaskState *next; 61 struct TaskState *next;
  62 +#ifdef TARGET_ARM
  63 + /* FPA state */
  64 + FPA11 fpa;
  65 +#endif
55 #ifdef TARGET_I386 66 #ifdef TARGET_I386
56 struct target_vm86plus_struct *target_v86; 67 struct target_vm86plus_struct *target_v86;
57 struct vm86_saved_state vm86_saved_regs; 68 struct vm86_saved_state vm86_saved_regs;