Hardware Abstraction

Hardware Abstraction

Hardware abstractions are sets of routines in software that emulate some platform-specific details, giving programs direct access to the hardware resources.

They often allow programmers to write device-independent, high performance applications by providing standard Operating System (OS) calls to hardware. The process of abstracting pieces of hardware is often done from the perspective of a CPU. Each type of CPU has a specific instruction set architecture or ISA. The ISA represents the primitive operations of the machine that are available for use by assembly programmers and compiler writers. One of the main functions of a compiler is to allow a programmer to write an algorithm in a high-level language without having to care about CPU-specific instructions. Then it is the job of the compiler to generate a CPU-specific executable. The same type of abstraction is made in operating systems, but OS APIs now represent the primitive operations of the machine, rather than an ISA. This allows a programmer to use OS-level operations (i.e. task creation/deletion) in their programs while still remaining portable over a variety of different platforms.

Read more about Hardware Abstraction:  Overview, In Operating Systems

Other articles related to "hardware abstraction, hardware, abstraction":

Hardware Abstraction - In Operating Systems - AS/400
... the latest AS/400 systems, despite the fact that the underlying hardware has been changed dramatically at least three different types of processors have been in use ...
Serial Port - Hardware - Hardware Abstraction
... On Linux, 8250/16550 UART hardware serial ports are named /dev/ttyS*, USB adapters appear as /dev/ttyUSB* and various types of virtual serial ports do not ...
Windows NT Architecture - Kernel Mode - Hardware Abstraction Layer
... The Windows NT hardware abstraction layer, or HAL, is a layer between the physical hardware of the computer and the rest of the operating system ... It was designed to hide differences in hardware and therefore provide a consistent platform on which the kernel is run ... The HAL includes hardware-specific code that controls I/O interfaces, interrupt controllers and multiple processors ...
Game Engine - Hardware Abstraction
... interface (API) such as Direct3D or OpenGL which provides a software abstraction of the graphics processing unit (GPU) or video card ... are also commonly used in games as they provide hardware-independent access to other computer hardware such as input devices (mouse, keyboard, and joystick), network cards, and sound cards ... Before hardware-accelerated 3D graphics, software renderers had been used ...

Famous quotes containing the words abstraction and/or hardware:

    New York ... is a city of geometric heights, a petrified desert of grids and lattices, an inferno of greenish abstraction under a flat sky, a real Metropolis from which man is absent by his very accumulation.
    Roland Barthes (1915–1980)

    A friend of mine spoke of books that are dedicated like this: “To my wife, by whose helpful criticism ...” and so on. He said the dedication should really read: “To my wife. If it had not been for her continual criticism and persistent nagging doubt as to my ability, this book would have appeared in Harper’s instead of The Hardware Age.”
    Brenda Ueland (1891–1985)