SlideServe
Menu
Préférences
© SlideServe · v2026

Rathaxes: A Multi-Operating System Device Driver Generator for OpenBSD, Windows, and Linux

gavril avatar
6 diapositives · 217 Views · Sep 12, 2014

Rathaxes is an innovative device driver generator that supports multiple operating systems such as OpenBSD, Windows, and Linux. It addresses the challenges of writing device drivers, which are critical system components prone to kernel panics. By leveraging shared code and device algorithms across different OSes, Rathaxes simplifies the development process. The compiler generates C code tailored for specific systems from user-defined rtx files, enabling developers to create robust drivers efficiently. This project promotes collaboration between institutions like EPITA and Epitech in France, enhancing security and system research.

Rathaxes: A Multi-Operating System Device Driver Generator for OpenBSD, Windows, and Linux - slide 1
01 / 6Rathaxes: A Multi-Operating System Device Driver Generator for OpenBSD, Windows, and Linux
1 / 17

Télécharger la présentation

Rathaxes: A Multi-Operating System Device Driver Generator for OpenBSD, Windows, and Linux
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Rathaxes

  2. RATHAXES is : A device driver generator Multi Operating system ? OpenBSD Windows Linux Other OS

  3. Why Rathaxes ? Driver is: Hard to write Mono Operating System A Critical system component : Kernel panics 

  4. How isit possible? Part of the code is shared between OSes: device algorithms Concepts are shared Similar projects have been attempted before (DEVIL)

  5. How Rathaxes works ?   157 KERNEL_INTERFACES interface_rs232   158 {   159     read(CONTEXT context, BUFFER output)   160     {   161         CONCAT(output, rcv_buff)   162             PRE   163             {   164                 WAIT(lsr.data_available, lsr.data_available->TRUE);   165             };   166     };   167    168     write(CONTEXT context, BUFFER input)   169     {   170         WAIT(lsr.thr_and_line, lsr.thr_and_line->empty_idle);   171         COPY(snd_buff, input)   172             PRE   173             {   174                 WAIT(lsr.thr_state, lsr.thr_state->empty);   175             };   176     };   177    178     on_plug(CONTEXT context)   179     {   180         SET(baudrate, 0d9600);   181    182         // Set mode 8 data bits, 1 stop bit, no parity   183         SET(lcr.word_lenght, lcr.word_lenght->_8bits);   184         SET(lcr.stop_bits, lcr.stop_bits->_1stop_bits);   185         SET(lcr.parity_type, lcr.parity_type->none);   186    187         SET(mcr.rts, 1);   188         SET(mcr.dts, 1);   189     }; Parsing Frontal BDSL BackEnd Parsing Frontal RDSL Files.rtx .C Files The compiler buildspiecesof code to prepare the C code generation Compiler generates C code ready to becompiled The compiler choosespiecesof code to generatefrom the back library Rtx files are parsed by the compiler Developerwriteshis driver in Rathaxes in rtx files Windows OpenBSD Others Linux Black Library

  6. Thanks to Security and System researchLaboratory of (Epita, Epitech in France) The parsing and generationlanguageused by Rathaxes Rathaxes Student’sSchool