~ubuntu-branches/ubuntu/hardy/qemu/hardy

« back to all changes in this revision

Viewing changes to target-arm/cpu.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2007-05-02 11:55:16 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502115516-rf8z0ba1ojbncx10
Tags: 0.9.0-1ubuntu1
* merged from Debian/experimental
* Merge from debian unstable, remaining changes:
   - Remove 34_syscalls_types.patch from debian/patches/series: add an
     unnecessary kernel header breaking compilation of linux-user/syscall.c.
   - Move proll and openhackware from Depends to Recommends.
   - set Maintainer field to MOTU

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#define TARGET_LONG_BITS 32
24
24
 
 
25
#define ELF_MACHINE     EM_ARM
 
26
 
25
27
#include "cpu-defs.h"
26
28
 
27
29
#include "softfloat.h"
48
50
    /* Regs for current mode.  */
49
51
    uint32_t regs[16];
50
52
    /* Frequently accessed CPSR bits are stored separately for efficiently.
51
 
       This contains all the other bits.  Use cpsr_{read,write} to accless
 
53
       This contains all the other bits.  Use cpsr_{read,write} to access
52
54
       the whole CPSR.  */
53
55
    uint32_t uncached_cpsr;
54
56
    uint32_t spsr;
131
133
/* you can call this signal handler from your SIGBUS and SIGSEGV
132
134
   signal handlers to inform the virtual CPU of exceptions. non zero
133
135
   is returned if the signal was handled by the virtual CPU.  */
134
 
struct siginfo;
135
 
int cpu_arm_signal_handler(int host_signum, struct siginfo *info, 
 
136
int cpu_arm_signal_handler(int host_signum, void *pinfo, 
136
137
                           void *puc);
137
138
 
138
139
#define CPSR_M (0x1f)