~ubuntu-branches/ubuntu/natty/qemu-linaro/natty

« back to all changes in this revision

Viewing changes to target-i386/cpuid.c

  • Committer: Package Import Robot
  • Author(s): Steve Langasek, Loïc Minier, Steve Langasek
  • Date: 2011-03-07 22:55:03 UTC
  • Revision ID: package-import@ubuntu.com-20110307225503-3opjapw0ksg7glo6
[ Loïc Minier ]
* Also pass -fno-var-tracking on armhf.

[ Steve Langasek ]
* New upstream release.
* Build with -marm on armel/armhf; Peter Maydell reports that building for
  Thumb-2 gives an emulator that doesn't work.
* Add support for cross-compiling the package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
int check_cpuid = 0;
104
104
int enforce_cpuid = 0;
105
105
 
106
 
static void host_cpuid(uint32_t function, uint32_t count,
107
 
                       uint32_t *eax, uint32_t *ebx,
108
 
                       uint32_t *ecx, uint32_t *edx)
 
106
void host_cpuid(uint32_t function, uint32_t count,
 
107
                uint32_t *eax, uint32_t *ebx, uint32_t *ecx, uint32_t *edx)
109
108
{
110
109
#if defined(CONFIG_KVM)
111
110
    uint32_t vec[4];