<s>
BareMetal	B-Operating_System
is	O
an	O
exokernel-based	O
single	B-Operating_System
address	I-Operating_System
space	I-Operating_System
operating	I-Operating_System
system	I-Operating_System
(	O
OS	O
)	O
created	O
by	O
Return	B-Operating_System
Infinity	I-Operating_System
.	O
</s>
<s>
It	O
is	O
written	O
in	O
assembly	B-Language
to	O
achieve	O
high-performance	B-Architecture
computing	I-Architecture
with	O
minimal	O
footprint	O
with	O
a	O
"	O
just	B-Operating_System
enough	I-Operating_System
operating	I-Operating_System
system	I-Operating_System
"	O
(	O
JeOS	B-Operating_System
)	O
approach	O
.	O
</s>
<s>
The	O
operating	O
system	O
is	O
primarily	O
targeted	O
towards	O
virtualized	B-General_Concept
environments	O
for	O
cloud	B-Architecture
computing	I-Architecture
,	O
or	O
HPCs	B-Architecture
due	O
to	O
its	O
design	O
as	O
a	O
lightweight	B-Device
kernel	I-Device
(	O
LWK	O
)	O
.	O
</s>
<s>
It	O
could	O
be	O
used	O
as	O
a	O
unikernel	B-Operating_System
.	O
</s>
<s>
It	O
was	O
inspired	O
by	O
another	O
OS	O
written	O
in	O
assembly	B-Language
,	O
MikeOS	O
,	O
and	O
it	O
is	O
a	O
recent	O
example	O
of	O
an	O
operating	O
system	O
that	O
is	O
not	O
written	O
in	O
C	B-Language
or	O
C++	B-Language
,	O
nor	O
based	O
on	O
Unix-like	O
kernels	O
.	O
</s>
<s>
Multitasking	B-Operating_System
on	O
BareMetal	B-Operating_System
is	O
unusual	O
for	O
modern	O
operating	O
systems	O
.	O
</s>
<s>
BareMetal	B-Operating_System
uses	O
an	O
internal	O
work	O
queue	B-Application
that	O
all	O
CPU	B-Architecture
cores	I-Architecture
poll	O
.	O
</s>
<s>
A	O
task	B-General_Concept
added	O
to	O
the	O
work	O
queue	B-Application
will	O
be	O
processed	O
by	O
any	O
available	O
CPU	B-Architecture
core	I-Architecture
in	O
the	O
system	O
and	O
will	O
execute	O
until	O
completion	O
,	O
which	O
results	O
in	O
no	O
context	B-Operating_System
switch	I-Operating_System
overhead	O
.	O
</s>
<s>
An	O
API	B-General_Concept
is	O
documented	O
but	O
,	O
in	O
line	O
with	O
its	O
philosophy	O
,	O
the	O
OS	O
does	O
not	O
enforce	O
entry	O
points	O
for	O
system	B-Operating_System
calls	I-Operating_System
(	O
e.g.	O
</s>
<s>
:	O
no	O
call	B-Device
gates	I-Device
or	O
other	O
safety	O
mechanisms	O
)	O
.	O
</s>
<s>
BareMetal	B-Operating_System
OS	O
has	O
a	O
build	O
script	O
to	O
pull	O
the	O
latest	O
code	O
,	O
make	O
the	O
needed	O
changes	O
,	O
and	O
then	O
compile	O
C	B-Language
code	O
using	O
the	O
Newlib	B-Language
C	B-Language
standard	O
library	O
.	O
</s>
<s>
A	O
mostly-complete	O
C++11	B-Language
Standard	I-Language
Library	I-Language
was	O
designed	O
and	O
developed	O
for	O
working	O
in	O
ring	B-Operating_System
0	I-Operating_System
.	O
</s>
<s>
A	O
Rust	B-Application
program	O
demonstration	O
was	O
added	O
to	O
the	O
programs	O
in	O
November	O
2014	O
,	O
demonstrating	O
the	O
ability	O
to	O
write	O
Rust	B-Application
programs	O
for	O
BareMetal	B-Operating_System
OS	O
.	O
</s>
<s>
A	O
TCP/IP	B-Protocol
stack	I-Protocol
was	O
the	O
#1	O
feature	O
request	O
.	O
</s>
<s>
A	O
port	O
of	O
lwIP	B-Application
written	O
in	O
C	B-Language
was	O
announced	O
in	O
October	O
2014	O
.	O
</s>
<s>
minIP	O
,	O
a	O
minimalist	O
IP	B-Protocol
stack	I-Protocol
in	O
ANSI	O
C	B-Language
able	O
to	O
provide	O
enough	O
functionalities	O
to	O
serve	O
a	O
simple	O
static	O
webpage	O
,	O
is	O
being	O
developed	O
as	O
a	O
proof	O
of	O
concept	O
to	O
learn	O
the	O
fundamentals	O
in	O
preparation	O
for	O
an	O
x86-64	B-Device
assembly	B-Language
re-write	O
planned	O
for	O
the	O
future	O
.	O
</s>
