Urgent.News

What's breaking now, across thousands of outlets.

Tech

OpenBSD Stories: Strange Medieval Devices

The Problem & Industry Shift The OpenBSD project is renowned for its security focus, but its hardware support philosophy is equally distinctive: it actively supports a vast array of obscure and obsolete devices, some of which feel like relics from a medieval technological era. While mainstream OSes drop support for legacy hardware to reduce maintenance costs, OpenBSD's driver architecture and…

OpenBSD's unique approach to hardware support sets it apart from many mainstream operating systems that prioritize dropping legacy device support to reduce maintenance costs. This article delves into the engineering behind OpenBSD's ability to retain functionality for a wide array of obscure and obsolete devices, some of which might be reminiscent of medieval technological devices.

The project's commitment to portability is not just about running across multiple platforms but ensuring that even the most peculiar hardware can operate reliably. This is accomplished through a clean abstraction layer, rigorous code review, and a driver model that separates bus handling from device logic. The core of OpenBSD's driver framework is built on layered architecture components like the bus_space and bus_dma APIs, which abstract memory-mapped I/O and DMA operations across various bus types.

This allows a single driver to function across different platforms without modification, as demonstrated by a hypothetical driver for a 1980s-era SCSI controller. The process of autoconfiguration in OpenBSD involves a recursive iteration over the device tree, calling match functions to determine device presence and attach functions to initialize and register devices with the appropriate subsystems.

The article provides a simplified driver skeleton for a fictional 16-bit ISA sound card, highlighting key engineering decisions such as using bus_space for I/O, handling interrupts, and implementing a minimal match function. This approach underscores OpenBSD's dedication to preserving hardware functionality, even in the face of rapid obsolescence trends in the industry.

Brief written by urgent.news from Dev.to's own syndicated text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Day 1 — ইন্টারনেট আসলে কীভাবে কাজ করে

আকাশ নামের এক ছেলের কাছে একটা ফোন এলো। ওপাশ থেকে একজন খুব সিরিয়াস গলায় বলল, "আমাদের ব্যাংকের server maintain করা হচ্ছে। আপনার অ্যাকাউন্টে একটু সমস্যা হয়েছে। এখনই ঠিক না করলে অ্যাকাউন্ট freeze হয়ে…

  • Internet is a network of interconnected computers and devices
  • Originated from ARPANET, developed for classified data sharing
  • TCP/IP protocols facilitate data transfer between computers

Common AWS Free Tier Mistakes Beginners Make

The AWS Free Tier is one of the best ways to start learning cloud infrastructure, but many beginners misunderstand how it actually works.

  • AWS Free Tier has usage limits and service restrictions
  • Continuous resource operation can lead to unexpected charges
  • Free Tier limits differ by service, crucial to review before deployment

To Promote Grand Theft Auto 6, Mayor Might Transform Miami into 'Vice City'

Rockstar Games and the mayor of Miami-Dade county are discussing a joint marketing campaign transforming parts of the county to look like areas from Grand Theft Auto 6, reports the blog Rock Paper…

  • Mayor of Miami-Dade County exploring marketing push with Rockstar Games.
  • Initiative to transform parts of Miami into Vice City from Grand Theft Auto 6.
  • Components include airport experience, branded Metromover trains, and motor fest.

More from Sunday 6 September →