MediaTek interview question

How the kernel communicate with Hardware.