Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/x86/isa



Module Name:    src
Committed By:   imil
Date:           Mon Feb 24 07:18:02 UTC 2025

Modified Files:
        src/sys/arch/x86/isa: clock.c

Log Message:
Check for RTC presence to avoid hang with QEMU microvm and rtc=off
parameter.

Test bits 0-6 of MC146818's Register D, which must be 0 according to
the specification. This prevents a later hang in rtcget() when no RTC
is present.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/arch/x86/isa/clock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index