I asked help for APIC Timer again... This problem puzzled me for several months and I still can't get fixed.
When I initialize my local apic timer to periodic mode, and set up the handler, I run it under VMware and it can work successfully. However, under bochs, the timer only triggered once. I use a loop to see if the Current Count Register changes. However, bochs panicked and gave me the message "APIC: R(curr timer count): delta < initial". I think I obeyed Intel's document, and Intel did not say a word about any fault possible in APIC Timer. The loop can run on VMWare. Is it my problem triggered an undefined behavior, or it is the problem cause by bochs? And if so, how can I fix this problem.
[SOLVED] Error on APIC Timer in Bochs
[SOLVED] Error on APIC Timer in Bochs
Last edited by nbdd0121 on Wed Aug 21, 2013 5:37 pm, edited 1 time in total.
Re: Error on APIC Timer in Bochs
Which Bochs version do you use ?nbdd0121 wrote:I asked help for APIC Timer again... This problem puzzled me for several months and I still can't get fixed.
When I initialize my local apic timer to periodic mode, and set up the handler, I run it under VMware and it can work successfully. However, under bochs, the timer only triggered once. I use a loop to see if the Current Count Register changes. However, bochs panicked and gave me the message "APIC: R(curr timer count): delta < initial". I think I obeyed Intel's document, and Intel did not say a word about any fault possible in APIC Timer. The loop can run on VMWare. Is it my problem triggered an undefined behavior, or it is the problem cause by bochs? And if so, how can I fix this problem.
Stanislav
- xenos
- Member
- Posts: 1121
- Joined: Thu Aug 11, 2005 11:00 pm
- Libera.chat IRC: xenos1984
- Location: Tartu, Estonia
- Contact:
Re: Error on APIC Timer in Bochs
Reminds me to a very ancient bochs bug I once filed which has been fixed already years ago...
https://sourceforge.net/p/bochs/bugs/795/
https://sourceforge.net/p/bochs/bugs/795/
Re: Error on APIC Timer in Bochs
Thank you, I just use apr-get to install bochs. now I compiled it and bug fixed.XenOS wrote:Reminds me to a very ancient bochs bug I once filed which has been fixed already years ago...
https://sourceforge.net/p/bochs/bugs/795/