summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/time.c
AgeCommit message (Collapse)Author
2023-09-19kernel: use HPET timer for sleepsdzwdz
not strictly necessary, but this should improve: 1. sleep performance 2. power efficiency when idle
2023-09-17kernel/amd64: add HPET support, slightly rework time handlingdzwdz
2023-09-13cmd/init: remove /initctl, use intr insteaddzwdz
2023-01-25kernel/irq: use a lookup table for irqsdzwdz
2023-01-25style: typedef structs, shorter namespacesdzwdz
I've wanted to do this for a while, and since I've just had a relatively large refactor commit (pcpy), this is as good of a time as any. Typedefing structs was mostly inspired by Plan 9's coding style. It makes some lines of code much shorter at basically no expense. Everything related to userland kept old-style struct definitions, so as not to force that style onto other people. I also considered changing SCREAMING_ENUM_FIELDS to NicerLookingCamelcase, but I didn't, just in case that'd be confusing.
2022-08-04syscalls: add _syscall_sleep()dzwdz