initial PCI detection

Signed-off-by: Boris Figovsky <borfig@gmail.com>
allow to sleep before scheduler is started

Signed-off-by: Boris Figovsky <borfig@gmail.com>
count tasks in run queue

Signed-off-by: Boris Figovsky <borfig@gmail.com>
consume interrupts only if idle task is the only task

Signed-off-by: Boris Figovsky <borfig@gmail.com>
add all remaining i/o opcodes

Signed-off-by: Boris Figovsky <borfig@gmail.com>
add PANIC_IF macro

Signed-off-by: Boris Figovsky <borfig@gmail.com>
unmask IRQ #2 if and only if any IRQ in secondary PIC is unmasked

Signed-off-by: Boris Figovsky <borfig@gmail.com>
initial mutex implementation

Signed-off-by: Boris Figovsky <borfig@gmail.com>
linked list: find by predicate

Signed-off-by: Boris Figovsky <borfig@gmail.com>
hash table initial implementation

Signed-off-by: Boris Figovsky <borfig@gmail.com>