OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 5:02 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: HPET Comparator seems to not work
PostPosted: Wed Sep 05, 2018 7:18 am 
Offline

Joined: Tue Dec 12, 2017 6:51 am
Posts: 23
Working on my HPET kernel driver, I found that the comparator wasn't responding to the value I put in it. To would generate an interrupt after about 10000 to 20000 ticks every time. Everything else works - disabling & enabling interrupts, monotonic counter, interrupt routing through IOAPIC (LegacyIRQ Replacement used) too.

Check out this : https://github.com/SukantPal/Silcos-Kernel

Files required:

ExecutionManager > Timer > HPET.cpp
HAL > ACPI > HPET.cpp

What could be the cause of the comparator not responding to my values? (Please check how I grouped the registered in structs and union in the header Interface/Executable/Timer/HPET.hpp)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot], SemrushBot [Bot] and 75 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group