[Vm-dev] Building StackVM on ARM linux meego-hartmann
Igor Stasenko
siguctua at gmail.com
Wed Oct 3 18:56:27 UTC 2012
On 3 October 2012 20:31, Denis Kudriashov <dionisiydk at gmail.com> wrote:
>
> Ok, I just remove keys from makefilelist. And now I have error no high res clock defined:
>
> sqLong
> ioHighResClock(void)
> {
> /* return the value of the high performance counter */
> sqLong value = 0;
> #if defined(__GNUC__) && ( defined(i386) || defined(__i386) || defined(__i386__) \
> || defined(i486) || defined(__i486) || defined (__i486__) \
> || defined(intel) || defined(x86) || defined(i86pc) )
> __asm__ __volatile__ ("rdtsc" : "=A"(value));
> #else
> # error "no high res clock defined"
> #endif
> return value;
> }
>
> I try to just return value here;
>
bad idea..
seems like you get to the place where you need to make your hands
dirty implementing some stuff :)
But i think this was done before for ARM.
I think, Dimitry can help you there, since he were adopted Stack VM
for ARM before:
https://gitorious.org/~golubovsky/cogvm/dmg-blessed
Check his code, maybe it can help you.
--
Best regards,
Igor Stasenko.
More information about the Vm-dev
mailing list