Searched hist:9731 (Results 1 - 1 of 1) sorted by relevance
/gem5/src/dev/ | ||
H A D | mc146818.cc | diff 9731:16f9d1fd37da Sun Jun 02 18:28:00 EDT 2013 Andreas Sandberg <andreas@sandberg.pp.se> dev: Add support for disabling ticking and the divider in MC146818 Some Linux versions disable updates (regB.set = 1) to prevent the chip from updating its internal state while the OS is updating it. Support for this was already there, this patch merely disables the check in writeReg that prevented it from being enabled. The patch also includes support for disabling the divider, which is used to control when clock updates should start after setting the internal RTC state. These changes are required to boot most vanilla Linux distributions that update the RTC settings at boot. |
Completed in 9 milliseconds