PIT Question
Posted: Thu Oct 05, 2006 2:26 am
Currently in my operating system, I have a integer that is incremented whenever the PIT is triggered. The PIT fires 100 times every second. What will happen to my OS when the number becomes too large? Will it crash, or will I just not be able to do the 5 second timer test :p?
I was just wondering. Is there any way to fix this so that it will never overfow? I could reset it after a while, but this would cause the delay function to break.
What can I do? It doesn't matter at the moment, because I don't have any reason to have my OS running for a year or so, but possibly in the future this could become a problem if I port a web server over.
Thanks,
-Stephen
I was just wondering. Is there any way to fix this so that it will never overfow? I could reset it after a while, but this would cause the delay function to break.
What can I do? It doesn't matter at the moment, because I don't have any reason to have my OS running for a year or so, but possibly in the future this could become a problem if I port a web server over.
Thanks,
-Stephen