kernel: Add static assertions

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>
libstd: Introduce libstd

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>
arch/x86: Fix text mode

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>
kernel: Move spinlock implementation to arch independent code

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>
arch/x86: Improve i8253 code and add time measuring

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>
arch/um: Add time measuring

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>
arch/um: Add timer implementation

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>
arch/x86: Add atomic_get()

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>
kernel: Add kernel timers implementation

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>
libstd/x86: Add unsigned division of 64 bit values

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>
kernel: Minor improvements, update arch/x86_64 code

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>