Fixed lapic handler. TODO for today: fix c-style casts.