What should be in the Hardware Abstraction Layer?
Posted: Sun Dec 16, 2012 2:19 pm
What should be in the Hardware Abstraction Layer (HAL)?
I think it's different depending on the type of kernel structure used (Micro Monolithic, Exo, Hybrid, Pico, Nano). Kernels with less in kernel mode like a Microkernel might have less architecture dependencies than a Monolithic Kernel?
What would be the architecture dependencies?
so far I have seen the following:
CPU, Context switch, Memory Management Unit (MMU), Clock/Timers, Trap, Interrupts, Device Registers, Device Addresses, Direct Memory Access (DMA), Spinlocks, and Basic input output system (BIOS).
[EDIT] Colours removed by Brendan[/EDIT]
I think it's different depending on the type of kernel structure used (Micro Monolithic, Exo, Hybrid, Pico, Nano). Kernels with less in kernel mode like a Microkernel might have less architecture dependencies than a Monolithic Kernel?
What would be the architecture dependencies?
so far I have seen the following:
CPU, Context switch, Memory Management Unit (MMU), Clock/Timers, Trap, Interrupts, Device Registers, Device Addresses, Direct Memory Access (DMA), Spinlocks, and Basic input output system (BIOS).
[EDIT] Colours removed by Brendan[/EDIT]