blob: 84aed83c4dfea180eba5459eafc94a7dc9326ad9 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
version="1.0"
width="500"
height="320"
id="svg3211">
<defs
id="defs3213">
<marker
markerUnits="strokeWidth"
refX="0"
refY="5"
markerWidth="5"
markerHeight="5"
orient="auto"
viewBox="0 0 10 10"
id="Triangle">
<path
d="M 0,0 L 10,5 L 0,10 L 0,0 z "
id="path7" />
</marker>
<linearGradient
x1="72.449997"
y1="0"
x2="72.449997"
y2="38"
id="linearGradient3192"
xlink:href="#Grad24"
gradientUnits="userSpaceOnUse" />
<linearGradient
x1="72.449997"
y1="0"
x2="72.449997"
y2="38"
id="Grad24"
gradientUnits="userSpaceOnUse">
<stop
style="stop-color:#ffffff;stop-opacity:1"
offset="0"
id="stop1371" />
<stop
style="stop-color:#fff68f;stop-opacity:1"
offset="1"
id="stop1373" />
</linearGradient>
<linearGradient
x1="72.449997"
y1="0"
x2="72.449997"
y2="38"
id="linearGradient3260"
xlink:href="#Grad24"
gradientUnits="userSpaceOnUse" />
<linearGradient
x1="31.5"
y1="0"
x2="31.5"
y2="54"
id="linearGradient3150"
xlink:href="#Grad3"
gradientUnits="userSpaceOnUse" />
<linearGradient
x1="31.5"
y1="0"
x2="31.5"
y2="54"
id="Grad3"
gradientUnits="userSpaceOnUse">
<stop
style="stop-color:#ffffff;stop-opacity:1"
offset="0"
id="stop56" />
<stop
style="stop-color:#fff68f;stop-opacity:1"
offset="1"
id="stop58" />
</linearGradient>
<linearGradient
x1="31.5"
y1="0"
x2="31.5"
y2="54"
id="linearGradient3218"
xlink:href="#Grad3"
gradientUnits="userSpaceOnUse" />
<linearGradient
x1="154.99284"
y1="566.64789"
x2="447.86429"
y2="566.64789"
id="linearGradient6159"
xlink:href="#Grad3"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.3497873,0,0,0.9073483,79.906922,-1023.8455)" />
<linearGradient
x1="72.449997"
y1="0"
x2="72.449997"
y2="38"
id="linearGradient6329"
xlink:href="#Grad24"
gradientUnits="userSpaceOnUse" />
<linearGradient
x1="72.449997"
y1="0"
x2="72.449997"
y2="38"
id="linearGradient6420"
xlink:href="#Grad24"
gradientUnits="userSpaceOnUse" />
<linearGradient
x1="72.449997"
y1="0"
x2="72.449997"
y2="38"
id="linearGradient6463"
xlink:href="#Grad24"
gradientUnits="userSpaceOnUse" />
<linearGradient
x1="72.449997"
y1="0"
x2="72.449997"
y2="38"
id="linearGradient6467"
xlink:href="#Grad24"
gradientUnits="userSpaceOnUse" />
<linearGradient
x1="72.449997"
y1="0"
x2="72.449997"
y2="38"
id="linearGradient6469"
xlink:href="#Grad24"
gradientUnits="userSpaceOnUse" />
<linearGradient
x1="72.449997"
y1="0"
x2="72.449997"
y2="38"
id="linearGradient6497"
xlink:href="#Grad24"
gradientUnits="userSpaceOnUse" />
<linearGradient
x1="72.449997"
y1="0"
x2="72.449997"
y2="38"
id="linearGradient6517"
xlink:href="#Grad24"
gradientUnits="userSpaceOnUse" />
<linearGradient
x1="72.449997"
y1="0"
x2="72.449997"
y2="38"
id="linearGradient6519"
xlink:href="#Grad24"
gradientUnits="userSpaceOnUse" />
<linearGradient
x1="72.449997"
y1="0"
x2="72.449997"
y2="38"
id="linearGradient13687"
xlink:href="#Grad24"
gradientUnits="userSpaceOnUse" />
<linearGradient
x1="72.449997"
y1="0"
x2="72.449997"
y2="38"
id="linearGradient13737"
xlink:href="#Grad24"
gradientUnits="userSpaceOnUse" />
<linearGradient
x1="72.449997"
y1="0"
x2="72.449997"
y2="38"
id="linearGradient13739"
xlink:href="#Grad24"
gradientUnits="userSpaceOnUse" />
<linearGradient
x1="72.449997"
y1="0"
x2="72.449997"
y2="38"
id="linearGradient13817"
xlink:href="#Grad24"
gradientUnits="userSpaceOnUse" />
<linearGradient
x1="72.449997"
y1="0"
x2="72.449997"
y2="38"
id="linearGradient13819"
xlink:href="#Grad24"
gradientUnits="userSpaceOnUse" />
<linearGradient
x1="72.449997"
y1="0"
x2="72.449997"
y2="38"
id="linearGradient13821"
xlink:href="#Grad24"
gradientUnits="userSpaceOnUse" />
<linearGradient
x1="72.449997"
y1="0"
x2="72.449997"
y2="38"
id="linearGradient2301"
xlink:href="#Grad24"
gradientUnits="userSpaceOnUse" />
<linearGradient
x1="72.449997"
y1="0"
x2="72.449997"
y2="38"
id="linearGradient2303"
xlink:href="#Grad24"
gradientUnits="userSpaceOnUse" />
<linearGradient
x1="72.449997"
y1="0"
x2="72.449997"
y2="38"
id="linearGradient2305"
xlink:href="#Grad24"
gradientUnits="userSpaceOnUse" />
<linearGradient
x1="72.449997"
y1="0"
x2="72.449997"
y2="38"
id="linearGradient2307"
xlink:href="#Grad24"
gradientUnits="userSpaceOnUse" />
<linearGradient
x1="72.449997"
y1="0"
x2="72.449997"
y2="38"
id="linearGradient2309"
xlink:href="#Grad24"
gradientUnits="userSpaceOnUse" />
<linearGradient
x1="72.449997"
y1="0"
x2="72.449997"
y2="38"
id="linearGradient2311"
xlink:href="#Grad24"
gradientUnits="userSpaceOnUse" />
</defs>
<g
transform="matrix(0.9690238,0,0,2.4507528,118.54241,126.46574)"
style="fill:url(#linearGradient2301);fill-rule:evenodd;stroke:#161413;stroke-width:1.39806998;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none"
id="g1375">
<path
d="M 144.9,19 C 144.9,29.4938 112.464,38 72.45,38 C 32.437,38 0,29.4938 0,19 C 0,8.50659 32.437,0 72.45,0 C 112.464,0 144.9,8.50659 144.9,19 z "
style="fill:url(#linearGradient2303)"
id="path1377" />
</g>
<g
transform="matrix(0.9690238,0,0,2.4507528,328.65413,211.26076)"
style="fill:url(#linearGradient2305);fill-rule:evenodd;stroke:#161413;stroke-width:1.39806998;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none"
id="g6473">
<path
d="M 144.9,19 C 144.9,29.4938 112.464,38 72.45,38 C 32.437,38 0,29.4938 0,19 C 0,8.50659 32.437,0 72.45,0 C 112.464,0 144.9,8.50659 144.9,19 z "
style="fill:url(#linearGradient2307)"
id="path6475" />
</g>
<g
transform="matrix(0.9690238,0,0,2.4507528,327.64398,32.46375)"
style="fill:url(#linearGradient2309);fill-rule:evenodd;stroke:#161413;stroke-width:1.39806998;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none"
id="g6396">
<path
d="M 144.9,19 C 144.9,29.4938 112.464,38 72.45,38 C 32.437,38 0,29.4938 0,19 C 0,8.50659 32.437,0 72.45,0 C 112.464,0 144.9,8.50659 144.9,19 z "
style="fill:url(#linearGradient2311)"
id="path6398" />
</g>
<path
d="M 122.88861,154.16625 C -10.176143,186.01494 130.14669,205.92038 130.14669,205.92038 L 130.14669,205.92038"
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Triangle);stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path12565" />
<text
x="324.48285"
y="156.80981"
style="font-size:12px;font-style:normal;font-weight:normal;line-height:100%;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Arial"
id="text13568"
xml:space="preserve"><tspan
x="324.48285"
y="156.80981"
style="text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle"
id="tspan13572">workload</tspan><tspan
x="324.48285"
y="168.80981"
style="text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle"
id="tspan13574">completed</tspan></text>
<text
x="271.15866"
y="96.541649"
style="font-size:12px;font-style:normal;font-weight:normal;line-height:100%;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Arial"
id="text13576"
xml:space="preserve"><tspan
x="271.15866"
y="96.541649"
style="text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle"
id="tspan13578">workload</tspan><tspan
x="271.15866"
y="108.54165"
style="text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle"
id="tspan13580">scheduled</tspan></text>
<text
x="436.82367"
y="157.15082"
style="font-size:12px;font-style:normal;font-weight:normal;line-height:100%;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Arial"
id="text13582"
xml:space="preserve"><tspan
x="436.82367"
y="157.15082"
style="text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle"
id="tspan13584">workload</tspan><tspan
x="438.73383"
y="169.15082"
style="text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle"
id="tspan13586">enters wait </tspan><tspan
x="436.82367"
y="181.15082"
style="text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle"
id="tspan13588">state</tspan></text>
<text
x="279.70514"
y="226.05505"
style="font-size:12px;font-style:normal;font-weight:normal;line-height:100%;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Arial"
id="text13590"
xml:space="preserve"><tspan
x="279.70514"
y="226.05505"
style="text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle"
id="tspan13596">context</tspan><tspan
x="279.70514"
y="238.05505"
style="text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle"
id="tspan13602">saved</tspan></text>
<text
x="165.70435"
y="244.84131"
style="font-size:12px;font-style:normal;font-weight:normal;line-height:100%;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Arial"
id="text13604"
xml:space="preserve"><tspan
x="165.70435"
y="244.84131"
style="text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle"
id="tspan13612">exit</tspan><tspan
x="165.70435"
y="256.84131"
style="text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle"
id="tspan13616">kernel</tspan></text>
<text
x="163.88327"
y="89.623512"
style="font-size:12px;font-style:normal;font-weight:normal;line-height:100%;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Arial"
id="text13618"
xml:space="preserve"><tspan
x="163.88327"
y="89.623512"
style="text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle"
id="tspan13620">start</tspan><tspan
x="163.88327"
y="101.62351"
style="text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle"
id="tspan13622">kernel</tspan></text>
<text
x="71.959396"
y="138.77527"
style="font-size:12px;font-style:normal;font-weight:normal;line-height:100%;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Arial"
id="text13624"
xml:space="preserve"><tspan
x="71.959396"
y="138.77527"
style="text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle"
id="tspan13628">no runnable</tspan><tspan
x="71.959396"
y="150.77527"
style="text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle"
id="tspan13632">workload found</tspan></text>
<text
x="189.41541"
y="176.49664"
style="font-size:12px;font-style:normal;font-weight:normal;line-height:100%;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Arial"
id="text13634"
xml:space="preserve"><tspan
x="189.41541"
y="176.49664"
style="text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle"
id="tspan13638">search workload</tspan><tspan
x="189.41541"
y="188.49664"
style="text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle"
id="tspan13642">queue for runnable</tspan><tspan
x="189.41541"
y="200.49664"
style="text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle"
id="tspan13644">workload context</tspan></text>
<text
x="397.20218"
y="73.521996"
style="font-size:12px;font-style:normal;font-weight:normal;line-height:100%;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Arial"
id="text13659"
xml:space="preserve"><tspan
x="397.20218"
y="73.521996"
style="text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle"
id="tspan13665">load workload</tspan><tspan
x="397.20218"
y="85.521996"
style="text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle"
id="tspan13671">context into MPU</tspan><tspan
x="397.20218"
y="97.521996"
style="text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle"
id="tspan13673">storage and execute</tspan></text>
<text
x="400.23846"
y="264.2879"
style="font-size:12px;font-style:normal;font-weight:normal;line-height:100%;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Arial"
id="text13701"
xml:space="preserve"><tspan
x="400.23846"
y="264.2879"
style="text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle"
id="tspan13707">save workload</tspan><tspan
x="400.23846"
y="276.2879"
style="text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle"
id="tspan13713">context state in</tspan><tspan
x="400.23846"
y="288.2879"
style="text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle"
id="tspan13715">host storage</tspan></text>
<text
x="442.82632"
y="215.37582"
transform="scale(0.8974412,1.1142791)"
style="font-size:14.28340149px;font-style:normal;font-weight:normal;line-height:100%;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Arial"
id="text13717"
xml:space="preserve"><tspan
x="442.82632"
y="215.37582"
style="text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle"
id="tspan13723">Context Switch</tspan></text>
<text
x="440.56863"
y="48.144791"
transform="scale(0.8974412,1.1142791)"
style="font-size:14.28340149px;font-style:normal;font-weight:normal;line-height:100%;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Arial"
id="text13729"
xml:space="preserve"><tspan
x="440.56863"
y="48.144791"
style="text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle"
id="tspan13731">Execute</tspan></text>
<text
x="208.69672"
y="136.08038"
transform="scale(0.8974412,1.1142791)"
style="font-size:14.28340149px;font-style:normal;font-weight:normal;line-height:100%;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Arial"
id="text13733"
xml:space="preserve"><tspan
x="208.69672"
y="136.08038"
style="text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle"
id="tspan13735">Schedule</tspan></text>
<text
x="91.357353"
y="25.983938"
style="font-size:12px;font-style:normal;font-weight:normal;line-height:100%;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Arial"
id="text13747"
xml:space="preserve"><tspan
x="91.357353"
y="25.983938"
style="text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle"
id="tspan13751">MARS Kernel</tspan><tspan
x="91.357353"
y="37.983936"
style="text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle"
id="tspan13755">General State Diagram</tspan></text>
<path
d="M 188.69779,50.193715 L 188.69779,114.95623"
style="fill:none;stroke:#161413;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Triangle);stroke-miterlimit:4;stroke-dasharray:none"
id="path2344" />
<path
d="M 188.69779,220.21948 L 188.69779,284.982"
style="fill:none;stroke:#161413;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Triangle);stroke-miterlimit:4;stroke-dasharray:none"
id="path4326" />
<path
d="M 242.15944,141.74666 L 325.14414,101.98413"
style="fill:none;stroke:#161413;stroke-width:2.06314826;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Triangle);stroke-miterlimit:4;stroke-dasharray:none"
id="path4328" />
<path
d="M 354.41666,115.79049 L 266.09262,158.39092"
style="fill:none;stroke:#161413;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Triangle);stroke-miterlimit:4;stroke-dasharray:none"
id="path5320" />
<path
d="M 339.86259,231.26967 L 263.32366,196.11166"
style="fill:none;stroke:#161413;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Triangle);stroke-miterlimit:4;stroke-dasharray:none"
id="path5322" />
<path
d="M 398.62408,124.94099 L 398.62408,201.41709"
style="fill:none;stroke:#161413;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Triangle);stroke-miterlimit:4;stroke-dasharray:none"
id="path5324" />
</svg>