~vcs-imports/qemu/git

« back to all changes in this revision

Viewing changes to vl.c

  • Committer: bellard
  • Date: 2005-07-24 15:11:38 UTC
  • Revision ID: git-v1:90cb94935228cc064f99fe98e70a8ea5deefb689
s390 bits


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1530 c046a42c-6fe2-441c-8c8c-71466251a162

Show diffs side-by-side

added added

removed removed

Lines of Context:
532
532
        return val;
533
533
}
534
534
 
 
535
#elif defined(__s390__)
 
536
 
 
537
int64_t cpu_get_real_ticks(void)
 
538
{
 
539
    int64_t val;
 
540
    asm volatile("stck 0(%1)" : "=m" (val) : "a" (&val) : "cc");
 
541
    return val;
 
542
}
 
543
 
535
544
#else
536
545
#error unsupported CPU
537
546
#endif