Rozhraní pro ovladače zařízení v HelenOS
Device drivers interface in HelenOS system
diplomová práce (OBHÁJENO)
![Náhled dokumentu](/bitstream/handle/20.500.11956/34025/thumbnail.png?sequence=7&isAllowed=y)
Zobrazit/ otevřít
Trvalý odkaz
http://hdl.handle.net/20.500.11956/34025Identifikátory
SIS: 47852
Kolekce
- Kvalifikační práce [11264]
Autor
Vedoucí práce
Oponent práce
Bulej, Lubomír
Fakulta / součást
Matematicko-fyzikální fakulta
Obor
Softwarové systémy
Katedra / ústav / klinika
Katedra softwarového inženýrství
Datum obhajoby
7. 9. 2010
Nakladatel
Univerzita Karlova, Matematicko-fyzikální fakultaJazyk
Čeština
Známka
Výborně
Uvedení do problematiky ovladačů zařízení, význam jednotného rozhraní pro ovladače zařízení v rámci operačního systému. Stručný popis základních principů hardware z pohledu programátora. Přehled vlastností operačního systému HelenOS - základní funkční bloky mikrojádra a stávající podpora ovladačů zařízení v uživatelském prostoru, např. podpora pro přístup k registrům zařízení a zpracování přerušení z uživatelského prostoru. Obecné funkce rozhraní pro ovladače zařízení a jejich vztah k potřebám operačního systému HelenOS. Problémy obvykle řešené současnými driver frameworky a známé přístupy k jejich řešení - device-centric vs. driver-centric přístup k přiřazování zařízení a ovladačů, identifikátory modelů zařízení, počet podporovaných tříd zařízení, vstupní body ovladače, reprezentace stromu zařízení. Návrh a implementace řešení - hierarchická správa zařízení, automatická detekce zařízení, předdefinovaná rozhraní pro přístup k zařízení, třídy zařízení, řízení životního cyklu ovladače a přiřazování ovladače k zařízení, instalace a konfigurace ovladače. Popis několika existujících řešení a jejich srovnání - ovladače zařízení v operačních systémech Windows, Solaris a Linux. Zhodnocení a možnosti dalšího vývoje.
An introduction into device drivers, the significance of the unified interface for device drivers within the operating system. A brief description of the basic principles of hardware fromthe programmer's point of view. The HelenOS operating system overview - the description of the basic funcional blocks of microkernel, the current support of user-space device drivers, e.g. the support for accessing device's registers and interrupt processing from user-space. Common functions of the interface for device drivers and their relation to the needs of the HelenOS operating system. The problems usually solved by contemporary driver frameworks and the known ways of solving them - device-centric vs. driver-centric device-to-driver matching, device IDs, the number of supported device classes, device driver entry points, the representation of a device tree. Design and implementation - hierarchical device management, device auto-detection, predefined interfaces for access to devices, device classes, controlling the device driver's life cycle and device-to-driver matching, the installation and the configuration of a device driver. The description of device drivers in some contemporary operating system and their comparison - device drivers in Windows, Solaris and Linux. The evaluation and the possibilities of future...