-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
A-kernelArea: General Kernel-relatedArea: General Kernel-relatedC-feature-acceptedCategory: A feature request that has been accepted pending implementation.Category: A feature request that has been accepted pending implementation.E-easyCall for participation: Easy difficulty. Good first issueCall for participation: Easy difficulty. Good first issueO-amd64Target: AMD64 (also known as x86_64 and x64)Target: AMD64 (also known as x86_64 and x64)P-lowPriority: LowPriority: LowS-assignedStatus: Assigned but pending implementationStatus: Assigned but pending implementation
Description
Implement a simple RTC driver in kernel/src/arch/amd64/rtc/rtc.{h,c}. It should have the following functions to interface:
uint64_t amd64_rtc_read(): Reads from the CMOS RTC and returns the datetime as a Unix timestamp.void amd64_rtc_set(uint64_t timestamp): Sets the CMOS RTC to the given timestamp.
Metadata
Metadata
Assignees
Labels
A-kernelArea: General Kernel-relatedArea: General Kernel-relatedC-feature-acceptedCategory: A feature request that has been accepted pending implementation.Category: A feature request that has been accepted pending implementation.E-easyCall for participation: Easy difficulty. Good first issueCall for participation: Easy difficulty. Good first issueO-amd64Target: AMD64 (also known as x86_64 and x64)Target: AMD64 (also known as x86_64 and x64)P-lowPriority: LowPriority: LowS-assignedStatus: Assigned but pending implementationStatus: Assigned but pending implementation