Aufgabe 5: Zeitscheiben
Voluntary Exercise
- Member Clock::epilogue () override
- Implement Method
- Member Clock::getDateTime () const
- Implement Method
- Member Clock::getTimestamp () const
- Implement Method
- Member Clock::prologue () override
- Implement Method
- Member Core::Interrupt::Vector
- Add interrupt vector for real time clock
- Member dout [Core::MAX]
- Automatically arrange windows with TextStream::arrange()
- Member HPET::Comparator::disable ()
- Implement Method
- Member HPET::Comparator::enable ()
- Implement Method
- Member HPET::Comparator::isActive () const
- Implement Method
- Member HPET::Comparator::isEnabled () const
- Implement Method
- Member HPET::Comparator::set (uint64_t usecs, uint8_t slot, bool periodic)
- Implement Method
- Member HPET::Comparator::setHandled ()
- Implement Method
- Member HPET::Comparator::supportsIOAPICSlot (unsigned slot) const
- Implement Method
- Member HPET::Comparator::supportsPeriodicInterrupts () const
- Implement Method
- Member HPET::delay (uint64_t usecs)
- Implement function
- Member HPET::disable ()
- Implement function
- Member HPET::enable ()
- Implement function
- Member HPET::init ()
- Implement function
- Member HPET::isEnabled ()
- Implement function
- Member HPET::reset ()
- Implement function
- Member RTC::getDateTime ()
- Implement Method
- Member RTC::getSource ()
- Implement Method
- Member RTC::receiveInterrupt (Interrupt i, bool enable)
- Implement Method
- Member Ticker::activate ()
- Implement method
- Member Ticker::epilogue () override
- Implement Method
- Member Ticker::interval () const
- Implement method
- Member Ticker::prologue () override
- Implement Method
- Member Ticker::stop ()
- Implement method
- Member Ticker::windup (uint64_t us)
- Implement Method
- Member TSC::delay (uint64_t us)
- Implement conversion
- Member TSC::nanoseconds (uint64_t delta)
- Implement conversion
- Member TSC::ticks (bool use_pit=false)
- Implement calibration via PIT (in the local function ticksByPit()). For testing, it might be useful to compare the return values with different values of
use_pit
. The returned values should be similar 🙂