This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 508ec3d223db307d4a7fb5a4876fdbd1ef6c1cf0
Author: Marco Casaroli <[email protected]>
AuthorDate: Tue Nov 17 10:43:28 2026 +0100

    Documentation/x86_64/intel64: Describe the CMOS clock as the RTC.
    
    Add an RTC section to the intel64 features: the CMOS clock with
    CONFIG_RTC, and the TSC counter with CONFIG_RTC_HIRES.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: Marco Casaroli <[email protected]>
---
 Documentation/platforms/x86_64/intel64/index.rst | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/Documentation/platforms/x86_64/intel64/index.rst 
b/Documentation/platforms/x86_64/intel64/index.rst
index 420b353edc0..d9f2c2411a2 100644
--- a/Documentation/platforms/x86_64/intel64/index.rst
+++ b/Documentation/platforms/x86_64/intel64/index.rst
@@ -59,6 +59,17 @@ HPET
 
 High Precision Event Timer (HPET) is supported as oneshot timer.
 
+RTC
+---
+
+The CMOS clock of the PC (MC146818) is supported as RTC. Enable ``CONFIG_RTC``
+to use it. The system then takes the date and the time from this clock at
+boot, and ``settimeofday()`` changes the clock. QEMU gives the date and the
+time of the host in this clock.
+
+With ``CONFIG_RTC_HIRES``, the RTC is a counter of the TSC instead. This
+counter starts at 0 at each boot.
+
 RDRAND
 ------
 

Reply via email to