Intel ATOM EHL- HPET
Posted: Tue Aug 27, 2024 1:23 pm
hello Octocontrabass
i want to use HPET timer 0, but my CPU operates in 32 bit mode so is this possible
i am asking because if i switch the HPET to 32 bit mode, master counter will over flow every few seconds, so i will have to track it update my comparator register, which takes time
if use it in 64 bit mode, i this there will some race conditions, since the CPU is 32 bit mode, it cannot access 64 bit Master counter and Comparator registers atomically i believe this is a problem do you agree?
How to get the FSB interrupts
HPET registers have FSB Interrupts Address and FSB interrupt values, i am little bit confused by values what is it
i have had set up for other interrupts using IOAPIC, i set the vector number in IOREDTABLE register at specified GSI number provided form the slim boot for a particular device
all the 255 or so vectors(intgate) and corresponding ISR address are defined
can you explain me if possible,,, in this context what should be interrupt address and what should be the value
FSB Address,,, a value i get form data sheet? or from where?
FSB value,,, a vector number?
i want to use HPET timer 0, but my CPU operates in 32 bit mode so is this possible
i am asking because if i switch the HPET to 32 bit mode, master counter will over flow every few seconds, so i will have to track it update my comparator register, which takes time
if use it in 64 bit mode, i this there will some race conditions, since the CPU is 32 bit mode, it cannot access 64 bit Master counter and Comparator registers atomically i believe this is a problem do you agree?
How to get the FSB interrupts
HPET registers have FSB Interrupts Address and FSB interrupt values, i am little bit confused by values what is it
i have had set up for other interrupts using IOAPIC, i set the vector number in IOREDTABLE register at specified GSI number provided form the slim boot for a particular device
all the 255 or so vectors(intgate) and corresponding ISR address are defined
can you explain me if possible,,, in this context what should be interrupt address and what should be the value
FSB Address,,, a value i get form data sheet? or from where?
FSB value,,, a vector number?