Revision 042eb37a

b/hw/arm_sysctl.c
7 7
 * This code is licenced under the GPL.
8 8
 */
9 9

  
10
#include "hw.h"
11
#include "qemu-timer.h"
10 12
#include "sysbus.h"
11 13
#include "primecell.h"
12 14
#include "sysemu.h"
......
71 73
    case 0x58: /* BOOTCS */
72 74
        return 0;
73 75
    case 0x5c: /* 24MHz */
74
        /* ??? not implemented.  */
75
        return 0;
76
        return muldiv64(qemu_get_clock(vm_clock), 24000000, get_ticks_per_sec());
76 77
    case 0x60: /* MISC */
77 78
        return 0;
78 79
    case 0x84: /* PROCID0 */

Also available in: Unified diff