MansOS Directory Structure

From DiLab
Jump to: navigation, search

The source directory structure follows the architecture. Below is the explanation of certain directories.


  • /mos/hil/ - Hardware independent layer files
  • /mos/hil/devices - device drivers, that are registered and called using the device manager
  • /mos/hal/ - Hardware abstraction layer files - platforms and modules, defining the linkage of chips and modules as well as the speciffic software services by the platform.
  • /mos/hal/platforms - hardware platforms, such as telosb and pc
  • /mos/hal/modules - modules, such as sensor boards or add-ons to the hardware such as a LCD screen.


  • /mos/hpl/ - Hardware presentation layer files - the direct access to the hardware. definition of the chips.
  • /mos/hpl/chips - chip interfaces and low level services.
  • /mos/kernel - OS kernel functions such as the device manager, system boot code, systemcall support
  • /mos/fs - file system support