Operating System Singularity

Singularity is an experimental operating system developed by Microsoft Research between July 9, 2003, and February 7, 2015.

It was designed as a high dependability OS in which the kernel, device drivers, and application software were all written in managed code. Internal security uses type safety instead of hardware memory protection.

Singularity Project
Operating System Singularity
Singularity after boot-up
DeveloperMicrosoft Research (Microsoft Corporation)
Written inAssembly language, C, C++, C#, Sing#
OS familyLanguage-based systems
Working stateDiscontinued
Source modelSource-available (through Shared Source Initiative)
Initial releaseMarch 4, 2008; 16 years ago (2008-03-04)
Final release2.0 / November 14, 2008; 15 years ago (2008-11-14)
Available inEnglish
Platformsx86, x86-64
Kernel typeMicrokernel language-based
Default
user interface
Command-line interface
LicenseMicrosoft Research License
Official websiteresearch.microsoft.com/en-us/projects/singularity

Operation

The lowest-level x86 interrupt dispatch code is written in assembly language and C. Once this code has done its job, it invokes the kernel, which runtime system and garbage collector are written in Sing# (an extended version of Spec#, itself an extension of C#) and runs in unprotected mode.: 14 : 4  The hardware abstraction layer is written in C++ and runs in protected mode. There is also some C code to handle debugging. The computer's basic input/output system (BIOS) is invoked during the 16-bit real mode bootstrap stage; once in 32-bit mode, Singularity never invokes the BIOS again, but invokes device drivers written in Sing#. During installation, Common Intermediate Language (CIL) opcodes are compiled into x86 opcodes using the Bartok compiler.: 11 

Security design

Singularity is a microkernel operating system. Unlike most historic microkernels, its components execute in the same address space (process), which contains software-isolated processes (SIPs). Each SIP has its own data and code layout, and is independent from other SIPs. These SIPs behave like normal processes, but avoid the cost of task-switches.: 4,11,35 

Protection in this system is provided by a set of rules called invariants that are verified by static program analysis. For example, in the memory-invariant states there must be no cross-references (or memory pointers) between two SIPs; communication between SIPs occurs via higher-order communication channels managed by the operating system. Invariants are checked during installation of the application. (In Singularity, installation is managed by the operating system.)

Most of the invariants rely on the use of safer memory-managed languages, such as Sing#, which have a garbage collector, allow no arbitrary pointers, and allow code to be verified to meet a given computer security policy.

Project status

The first Singularity Research Development Kit (RDK), RDK 1.1, was initially released on March 4, 2008, being released under a shared source license allowing academic non-commercial use and available from CodePlex. RDK 2.0 was later released on November 14, 2008.

Similar projects

See also

  • Language-based system, general kernel design using language-based protection instead of hardware protection.
  • Midori, a Microsoft-developed microkernel-based operating system. Based on and related to Singularity.

References

Tags:

Operating System Singularity OperationOperating System Singularity Security designOperating System Singularity Project statusOperating System Singularity Similar projectsOperating System SingularityApplication softwareComputer hardwareDependabilityDevice driverKernel (operating system)Managed codeMemory protectionMicrosoft ResearchOperating systemType safety

🔥 Trending searches on Wiki English:

2023 Azerbaijan Grand PrixJimi HendrixThe Ballad of Songbirds and SnakesHayden PanettiereMarvel Cinematic UniverseLewis CapaldiBeyoncéIrrfan Khan2023 in filmEmmett TillRui HachimuraHarry StylesMadrid Open (tennis)Chase BrownBrazilQueen (band)Shah Rukh KhanHenry VIIIThuy TrangMani Ratnam filmographyZlatan IbrahimovićJudy BlumeArnold SchwarzeneggerWilliam ShakespeareBeef (TV series)Premier LeagueNational League (division)EuropeRusso brothersOmegleAmazon (company)May DayEzra MillerCocaine BearKu Klux KlanGermanySouth AfricaVarginha UFO incidentCitadel (TV series)Al Nassr FCMichael KeatonDzhokhar TsarnaevDavid BeckhamLily RabeWes AndersonThe Diplomat (American TV series)Black MirrorBrian Cox (actor)Twisted Metal (TV series)Gareth BaleMatthew McConaughey95th Academy AwardsOpiorphinLucian GraingeWoodstockWiki FoundationRichard MaddenThe Super Mario Bros. MovieShaquille O'NealAna de ArmasAnthony DavisEvil Dead RiseNaomi (wrestler)Crystal Palace F.C.Brittney GrinerTiger ShroffSalma HayekLisa (rapper)Cameron DiazBrett GoldsteinFranceStarliteThe Evil DeadAaron Rodgers🡆 More