BareMetal

BareMetal
DeveloperReturn Infinity
Written inAssembly
Working stateCurrent
Source modelOpen source
Initial release2008; 17 years ago (2008)
Latest release1.0.0 / November 13, 2017; 7 years ago (2017-11-13)[1]
Marketing targetHPCs, HTC, Cloud computing
Available inEnglish
Platformsx86-64
Kernel typeExokernel, SASOS
UserlandUnknown
Default
user interface
Command-line
LicenseBSD License[2]
Official websitewww.returninfinity.com

BareMetal is an exokernel-based single address space operating system (OS) created by Return Infinity.

It is written in assembly to achieve high-performance computing with minimal footprint[3][4] with a "just enough operating system" (JeOS) approach.[5] The operating system is primarily targeted towards virtualized environments for cloud computing, or HPCs due to its design as a lightweight kernel (LWK). It could be used as a unikernel.

It was inspired by another OS written in assembly, MikeOS,[2] and it is a recent example of an operating system that is not written in C or C++, nor based on Unix-like kernels.[6]

Overview

Hardware requirements

  • AMD/Intel based 64-bit computer
  • Memory: 4 MB (plus 2 MB for every additional core)
  • Hard Disk: 32 MB[7]

One task per core

Multitasking on BareMetal is unusual for modern operating systems. BareMetal uses an internal work queue that all CPU cores poll. A task added to the work queue will be processed by any available CPU core in the system and will execute until completion, which results in no context switch overhead.[8]

Programming

An API is documented[9] but, in line with its philosophy, the OS does not enforce entry points for system calls (e.g.: no call gates or other safety mechanisms).

BareMetal OS has a build script to pull the latest code, make the needed changes, and then compile C code using[10] the Newlib C standard library.[11]

A mostly-complete C++11 Standard Library was designed and developed for working in ring 0.[12] The main goal of such library is providing, on a library level, an alternative to hardware memory protection used in classical OSes, with help of carefully designed classes.[13]

A Rust program demonstration was added to the programs in November 2014, demonstrating the ability to write Rust programs for BareMetal OS.[14]

Networking

TCP/IP stack

A TCP/IP stack was the #1 feature request.[15] A port of lwIP written in C was announced in October 2014.[16]

minIP,[17] a minimalist IP stack in ANSI C able to provide enough functionalities to serve a simple static webpage, is being developed as a proof of concept to learn the fundamentals in preparation for an x86-64 assembly re-write planned for the future.

References

  1. ^ Seyler, Ian. "kernel.asm". BareMetal OS GitHub repository. Retrieved May 24, 2017.
  2. ^ a b Voorsanger, Conrad (June 2, 2011). "Interview With Baremetal OS' Ian Seyler". OSNews. Retrieved May 26, 2014.
  3. ^ Adams, David (July 14, 2010). "BareMetal OS". OSNews. Retrieved May 26, 2014.
  4. ^ Benchoff, Brian (May 27, 2011). "64-bit OS written entirely in assembly". Hack A Day. Retrieved May 26, 2014.
  5. ^ Seyler, Ian. "Return Infinity (home page), The BareMetal advantage". Return Infinity. Retrieved February 2, 2015.
  6. ^ Smith, Jesse (July 19, 2010). "DistroWatch Weekly, Issue 363". DistroWatch. Retrieved May 26, 2014.
  7. ^ "BareMetal OS Requirements". Return Infinity (archived copy at Wayback Machine). Archived from the original on September 6, 2014. Retrieved September 6, 2014.
  8. ^ "BareMetal OS Queue". Retrieved April 28, 2015.
  9. ^ Seyler, Ian. "API documentation". BareMetal OS GitHub repository. Retrieved June 26, 2015.
  10. ^ Seyler, Ian (January 17, 2014). "Newlib build script". BeareMetal OS Google Group. Retrieved February 2, 2015.
  11. ^ Seyler, Ian. "newlib.sh". Build scripts for BareMetal OS and its related utilities, GitHub repository. Retrieved February 2, 2015.
  12. ^ Lodyagin, Sergei (November 17, 2013). "Bare C++ library". BeareMetal OS Google Group. Retrieved February 2, 2015.
  13. ^ Lodyagin, Sergei. "The Bare C++ library". The Bare C++ library GitHub repository. Retrieved February 2, 2015.
  14. ^ Seyler, Ian. "Add Rust example". BareMetal OS GitHub repository (legacy version). Retrieved March 18, 2018.
  15. ^ Seyler, Ian (August 22, 2013). "TCP/IP". BeareMetal OS Google Group. Retrieved February 2, 2015.
  16. ^ Seyler, Ian (October 31, 2014). "BareMetal and lwIP". BeareMetal OS Google Group. Retrieved February 2, 2015.
  17. ^ Seyler, Ian. "minIP - A minimalist IP stack written in ANSI C". BareMetal OS GitHub repository. Retrieved May 24, 2017.

Read other articles:

BuaranKecamatanPeta lokasi Kecamatan BuaranNegara IndonesiaProvinsiJawa TengahKabupatenPekalonganPemerintahan • CamatSupriyanto, S.IP., MS.iPopulasi • Total49,084 jiwa (2.013) jiwaKode Kemendagri33.26.14 Kode BPS3326140 Luas9,54 km²Desa/kelurahan10 Buaran (Jawa: ꦧꦸꦮꦫꦤ꧀, translit. Buwaran) adalah sebuah kecamatan di Kabupaten Pekalongan, Provinsi Jawa Tengah, Indonesia. Kecamatan ini berjarak sekitar 17 Km dari ibu kota Kabupaten Pekalongan ke...

 

Virginia RappeVirginia Rappe c. 1920LahirVirginia Caroline Rappe(1891-07-07)7 Juli 1891[1]Chicago, Illinois, Amerika SerikatMeninggal9 September 1921(1921-09-09) (umur 30)San Francisco, California, Amerika SerikatMakamHollywood Forever CemeteryNama lainVirginia RappaeTahun aktif1909–1921PasanganRobert Moscovitz (1916–1916, kematiannya)Henry Lehrman (1919–1921) Virginia Caroline Rappe (/rəˈpeɪ/; 7 Juli 1891 – 9 September 1921)[2] adalah ...

 

العلاقات الباربادوسية السويسرية باربادوس سويسرا   باربادوس   سويسرا تعديل مصدري - تعديل   العلاقات الباربادوسية السويسرية هي العلاقات الثنائية التي تجمع بين باربادوس وسويسرا.[1][2][3][4][5] مقارنة بين البلدين هذه مقارنة عامة ومرجعية للدولتين:...

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada Oktober 2022. Im TirtzuBerkas:Im tirtzu logo 40pc.pngTanggal pendirian2006; 18 tahun lalu (2006)[1]No. regristrasi580471662[2]TipeOrganisasi non-pemerintahWilayah layanan IsraelTokoh pentingRonen Shoval (Pendiri)[3] Matan Peleg (CEO...

 

Natural fiber (hair) of the Angora goat For the band, see Mohair (band). Look up mohair in Wiktionary, the free dictionary. Mohair wool An Angora goat Mohair (pronounced /ˈmoʊhɛər/) is a fabric or yarn made from the hair of the Angora goat (not Angora wool from the fur of the Angora rabbit). Both durable and resilient, mohair is lustrous with high sheen,[1] and is often blended to add these qualities to a textile. Mohair takes dye exceptionally well. It feels warm in winter due to...

 

Subway route in the French capital You can help expand this article with text translated from the corresponding article in French. (April 2015) Click [show] for important translation instructions. View a machine-translated version of the French article. Machine translation, like DeepL or Google Translate, is a useful starting point for translations, but translators must revise errors as necessary and confirm that the translation is accurate, rather than simply copy-pasting machine-transl...

كرستيان سنوك هرخرونيه (بالهولندية: Christiaan Snouck Hurgronje)‏  صورة للمستشرق الهولندي كرستيان سنوك هرخرونيه معلومات شخصية الميلاد 8 فبراير 1857(1857-02-08)أوسترهاوت، هولندا الوفاة 26 يونيو 1936(1936-06-26)لايدن، هولندا الجنسية  هولندا الديانة الإسلام لأغراض التجسس، وديانته الأصلية هي المس...

 

1941 film Passage from Hong KongTheatrical release posterDirected byD. Ross LedermanWritten byFred Niblo Jr.Earl Derr BiggersProduced byWilliam JacobsStarringLucile FairbanksDouglas KennedyPaul CavanaghRichard AinleyMarjorie GatesonGloria HoldenCinematographyAllen G. SieglerEdited byFrederick RichardsMusic byWilliam LavaProductioncompanyWarner Bros.Distributed byWarner Bros.Release date September 1941 (1941-09) Running time61 minutesCountryUnited StatesLanguageEnglish Passage from H...

 

Градлон Великийвалл. Erbin ap Cynan корн. Erbin ap Conan лат. Urbanus Gratian Gradlonus брет. Gradlon mab Konan Герцог Арморики 395 — 434 Предшественник Конан Мериадок Преемник Саломон I Смерть 434(0434) Отец Конан Мериадок Мать Дарерка Ирландская Супруга Тигридия Дети сыновья: Саломон I и Гвидол дочь...

German-British historian (1902–1983) SirNikolaus PevsnerCBE FBABornNikolaus Bernhard Leon Pevsner(1902-01-30)30 January 1902Leipzig, Kingdom of Saxony, German EmpireDied18 August 1983(1983-08-18) (aged 81)London, EnglandResting placeChurch of St Peter, Clyffe Pypard, Wiltshire, EnglandNationalityBritishAlma mater Leipzig University (PhD) Ludwig Maximilian University of Munich Humboldt University of Berlin Goethe University Frankfurt Occupation(s)Art and architectural historian...

 

Province of Ecuador Province in EcuadorEl Oro Provincia de El OroProvinceProvince of El Oro FlagCantons of El Oro ProvinceCountryEcuadorEstablishedApril 23, 1884CapitalMachalaCantonsList of CantonsArea • Total5,873 km2 (2,268 sq mi)Highest elevation[1]3,590 m (11,780 ft)Lowest elevation0 m (0 ft)Population (2022 census)[2] • Total714,592 • Density120/km2 (320/sq mi) • Populat...

 

Alice CooperAlice Cooper in concerto a San Antonio (Texas) nel 2015 Nazionalità Stati Uniti GenereHard rock[1][2]Heavy metal[1][2][3][4]Garage rock[1]Glam rock[1][3][5]Hair metal[6][7]Art rock[1][2]Shock rock[1][3][8] Periodo di attività musicale1964 – in attività Gruppi attualiHollywood Vampires Gruppi precedentiThe Spiders Album...

Pour les articles homonymes, voir HSD (homonymie). L’Hybrid Synergy Drive (HSD) est une technologie de traction hybride développée par Toyota. Intégrée aux véhicules hybrides produits par l'entreprise et vendus sous les marques Toyota et Lexus (exemples : Toyota Prius, Yaris Hybride[1], Lexus CT 200h), le HSD a été utilisé par Nissan pour l'Altima hybride et Mazda pour l'Axela hybride, et adapté à des véhicules plus puissants ou à quatre roues motrices. La motorisation HSD...

 

Ця стаття потребує додаткових посилань на джерела для поліпшення її перевірності. Будь ласка, допоможіть удосконалити цю статтю, додавши посилання на надійні (авторитетні) джерела. Зверніться на сторінку обговорення за поясненнями та допоможіть виправити недоліки. Мат...

 

Questa voce sull'argomento contee della Virginia è solo un abbozzo. Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Contea di James CityconteaLocalizzazioneStato Stati Uniti Stato federato Virginia AmministrazioneCapoluogoWilliamsburg Data di istituzione1634 TerritorioCoordinatedel capoluogo37°18′36″N 76°46′12″W / 37.31°N 76.77°W37.31; -76.77 (Contea di James City)Coordinate: 37°18′36″N 76°46′12″W / 37.31...

يفتقر محتوى هذه المقالة إلى الاستشهاد بمصادر. فضلاً، ساهم في تطوير هذه المقالة من خلال إضافة مصادر موثوق بها. أي معلومات غير موثقة يمكن التشكيك بها وإزالتها. (ديسمبر 2018) تحظى الكويت بمناخ صحراوي حار يتميز بتفاوت كبير في درجات الحرارة، فتصل درجة الحرارة شتاءاً إلى ما دون الص�...

 

У Вікіпедії є статті про інших людей із прізвищем Тарасенко. Георгій ТарасенкоТарасенко Георгій Олександрович  Молодший лейтенант Загальна інформаціяНародження 6 грудня 1996(1996-12-06)м. ХарківСмерть 25 березня 2022(2022-03-25) (25 років)поблизу м. Харкова(загинув під час російсько�...

 

Pour les articles homonymes, voir Hus. Jan HusJan Hus au bûcher, enluminure du XVe siècle.FonctionProfesseurBiographieNaissance Vers 1371Husinec (royaume de Bohême, Saint-Empire romain germanique)Décès 6 juillet 1415Constance (Principauté épiscopale de Constance, Saint-Empire romain germanique)Sépulture RhinPseudonyme Paulus ConstantiusDomicile Birth house of Jan Hus (d)Formation Université Charles de Prague (baccalauréat universitaire) (jusqu'en 1393)Activités Traducteur, li...

هذه قائمة بالإمبراطوريات التي امتدت إلى خارج نطاقها الجغرافي والثقافي لتهيمن على أماكن أخرى من العالم. وتحتوي تلك القائمة على إمبراطوريات لها تأثير ثقافي واقتصادي فقط. وبعض المؤرخين يرون أن بعض الإمبراطوريات المذكورة في الجدول التالي هي مجرد ذكر أسر حاكمة فقط. محتويات ...

 

Duché de SaxeHerzogtum Sachsen 804–1296 La Saxe au sein du Saint-Empire (v. 1000).Informations générales Statut Monarchie et duché ethnique- Empire carolingien (843-911) - Francie orientale (911-962)- Saint-Empire (962-1296) Langue(s) Latin Religion Christianisme Histoire et événements 804 Formation par Charlemagne après la guerre des Saxons. 1137 Ascendance de la Maison Welf. 1142 Expansion par conquête. 1180 Les Welfs sont écartés au profit de la Maison d'Ascanie. 1260 Le duch�...