Skip to content

RTC Implementation #4

@ViktorPopp

Description

@ViktorPopp

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-relatedC-feature-acceptedCategory: A feature request that has been accepted pending implementation.E-easyCall for participation: Easy difficulty. Good first issueO-amd64Target: AMD64 (also known as x86_64 and x64)P-lowPriority: LowS-assignedStatus: Assigned but pending implementation

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions