sleiderr / fzkernel

Pure rust bootloader
GNU General Public License v3.0
4 stars 1 forks source link

TSC calibration may end up in an infinite loop #35

Open sleiderr opened 1 year ago

sleiderr commented 1 year ago

Regarding #34

TSC reads and memory is not regarded as volatile, so the compiler seems to apply optimization too strong and misses the TSC counter updates, and the calibration is mistaken for an infinite loop.