1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<!-- Created with Inkscape (http://www.inkscape.org/) -->
3
4<svg
5   xmlns:dc="http://purl.org/dc/elements/1.1/"
6   xmlns:cc="http://creativecommons.org/ns#"
7   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8   xmlns:svg="http://www.w3.org/2000/svg"
9   xmlns="http://www.w3.org/2000/svg"
10   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12   width="139.74937mm"
13   height="120.70452mm"
14   viewBox="0 0 139.74937 120.70452"
15   version="1.1"
16   id="svg8"
17   inkscape:version=""
18   sodipodi:docname="smpinit.svg">
19  <defs
20     id="defs2">
21    <marker
22       inkscape:isstock="true"
23       style="overflow:visible"
24       id="marker4090"
25       refX="0"
26       refY="0"
27       orient="auto"
28       inkscape:stockid="Arrow1Mend">
29      <path
30         transform="matrix(-0.4,0,0,-0.4,-4,0)"
31         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
32         d="M 0,0 5,-5 -12.5,0 5,5 Z"
33         id="path4088"
34         inkscape:connector-curvature="0" />
35    </marker>
36    <marker
37       inkscape:isstock="true"
38       style="overflow:visible"
39       id="marker2632"
40       refX="0"
41       refY="0"
42       orient="auto"
43       inkscape:stockid="Arrow1Mstart">
44      <path
45         transform="matrix(0.4,0,0,0.4,4,0)"
46         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
47         d="M 0,0 5,-5 -12.5,0 5,5 Z"
48         id="path2630"
49         inkscape:connector-curvature="0" />
50    </marker>
51    <marker
52       inkscape:stockid="Arrow1Mend"
53       orient="auto"
54       refY="0"
55       refX="0"
56       id="marker2502"
57       style="overflow:visible"
58       inkscape:isstock="true"
59       inkscape:collect="always">
60      <path
61         id="path2500"
62         d="M 0,0 5,-5 -12.5,0 5,5 Z"
63         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
64         transform="matrix(-0.4,0,0,-0.4,-4,0)"
65         inkscape:connector-curvature="0" />
66    </marker>
67    <marker
68       inkscape:isstock="true"
69       style="overflow:visible"
70       id="marker2426"
71       refX="0"
72       refY="0"
73       orient="auto"
74       inkscape:stockid="Arrow1Mend">
75      <path
76         transform="matrix(-0.4,0,0,-0.4,-4,0)"
77         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
78         d="M 0,0 5,-5 -12.5,0 5,5 Z"
79         id="path2424"
80         inkscape:connector-curvature="0" />
81    </marker>
82    <marker
83       inkscape:stockid="Arrow1Mstart"
84       orient="auto"
85       refY="0"
86       refX="0"
87       id="Arrow1Mstart"
88       style="overflow:visible"
89       inkscape:isstock="true"
90       inkscape:collect="always">
91      <path
92         id="path871"
93         d="M 0,0 5,-5 -12.5,0 5,5 Z"
94         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
95         transform="matrix(0.4,0,0,0.4,4,0)"
96         inkscape:connector-curvature="0" />
97    </marker>
98    <marker
99       inkscape:stockid="Arrow1Mend"
100       orient="auto"
101       refY="0"
102       refX="0"
103       id="Arrow1Mend"
104       style="overflow:visible"
105       inkscape:isstock="true"
106       inkscape:collect="always">
107      <path
108         id="path874"
109         d="M 0,0 5,-5 -12.5,0 5,5 Z"
110         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
111         transform="matrix(-0.4,0,0,-0.4,-4,0)"
112         inkscape:connector-curvature="0" />
113    </marker>
114    <marker
115       inkscape:stockid="Arrow1Lend"
116       orient="auto"
117       refY="0"
118       refX="0"
119       id="Arrow1Lend"
120       style="overflow:visible"
121       inkscape:isstock="true">
122      <path
123         id="path868"
124         d="M 0,0 5,-5 -12.5,0 5,5 Z"
125         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
126         transform="matrix(-0.8,0,0,-0.8,-10,0)"
127         inkscape:connector-curvature="0" />
128    </marker>
129    <marker
130       inkscape:stockid="Arrow1Mend"
131       orient="auto"
132       refY="0"
133       refX="0"
134       id="Arrow1Mend-3"
135       style="overflow:visible"
136       inkscape:isstock="true">
137      <path
138         inkscape:connector-curvature="0"
139         id="path874-5"
140         d="M 0,0 5,-5 -12.5,0 5,5 Z"
141         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
142         transform="matrix(-0.4,0,0,-0.4,-4,0)" />
143    </marker>
144    <marker
145       inkscape:stockid="Arrow1Mstart"
146       orient="auto"
147       refY="0"
148       refX="0"
149       id="Arrow1Mstart-1"
150       style="overflow:visible"
151       inkscape:isstock="true">
152      <path
153         inkscape:connector-curvature="0"
154         id="path871-2"
155         d="M 0,0 5,-5 -12.5,0 5,5 Z"
156         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
157         transform="matrix(0.4,0,0,0.4,4,0)" />
158    </marker>
159    <marker
160       inkscape:stockid="Arrow1Mend"
161       orient="auto"
162       refY="0"
163       refX="0"
164       id="Arrow1Mend-7"
165       style="overflow:visible"
166       inkscape:isstock="true">
167      <path
168         inkscape:connector-curvature="0"
169         id="path874-0"
170         d="M 0,0 5,-5 -12.5,0 5,5 Z"
171         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1"
172         transform="matrix(-0.4,0,0,-0.4,-4,0)" />
173    </marker>
174  </defs>
175  <sodipodi:namedview
176     id="base"
177     pagecolor="#ffffff"
178     bordercolor="#666666"
179     borderopacity="1.0"
180     inkscape:pageopacity="0.0"
181     inkscape:pageshadow="2"
182     inkscape:zoom="0.98994949"
183     inkscape:cx="134.64433"
184     inkscape:cy="302.15063"
185     inkscape:document-units="mm"
186     inkscape:current-layer="layer1"
187     showgrid="false"
188     inkscape:window-width="1920"
189     inkscape:window-height="1020"
190     inkscape:window-x="0"
191     inkscape:window-y="28"
192     inkscape:window-maximized="1"
193     fit-margin-top="0"
194     fit-margin-left="0"
195     fit-margin-right="0"
196     fit-margin-bottom="0" />
197  <metadata
198     id="metadata5">
199    <rdf:RDF>
200      <cc:Work
201         rdf:about="">
202        <dc:format>image/svg+xml</dc:format>
203        <dc:type
204           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
205        <dc:title></dc:title>
206      </cc:Work>
207    </rdf:RDF>
208  </metadata>
209  <g
210     inkscape:label="Layer 1"
211     inkscape:groupmode="layer"
212     id="layer1"
213     transform="translate(-14.041607,-4.3366776)">
214    <rect
215       style="fill:#ffffaa;fill-opacity:1;stroke:#000000;stroke-width:0.32675847;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
216       id="rect3686"
217       width="63.979485"
218       height="113.36942"
219       x="14.204987"
220       y="11.384921"
221       ry="0.085420616" />
222    <rect
223       id="rect10"
224       width="5.5592046"
225       height="44.411064"
226       x="21.436604"
227       y="25.079939"
228       style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.18230529;stroke-opacity:1"
229       ry="0.085405894" />
230    <flowRoot
231       xml:space="preserve"
232       id="flowRoot823"
233       style="font-style:normal;font-weight:normal;font-size:13.33333302px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"
234       transform="scale(0.26458333)"><flowRegion
235         id="flowRegion825"><rect
236           id="rect827"
237           width="49.285713"
238           height="64.64286"
239           x="22.857143"
240           y="45.376827" /></flowRegion><flowPara
241         id="flowPara829"></flowPara></flowRoot>    <text
242       xml:space="preserve"
243       style="font-style:normal;font-weight:normal;font-size:4.60972738px;line-height:1.25;font-family:sans-serif;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.34572953"
244       x="23.994337"
245       y="16.580622"
246       id="text833"><tspan
247         sodipodi:role="line"
248         id="tspan831"
249         x="23.994337"
250         y="16.580622"
251         style="text-align:center;text-anchor:middle;stroke-width:0.34572953">init</tspan><tspan
252         sodipodi:role="line"
253         x="23.994337"
254         y="22.342781"
255         style="text-align:center;text-anchor:middle;stroke-width:0.34572953"
256         id="tspan835">stack</tspan></text>
257    <rect
258       id="rect10-3"
259       width="5.5592046"
260       height="44.411064"
261       x="51.479736"
262       y="69.319801"
263       style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.18230529;stroke-opacity:1"
264       ry="0.085405894" />
265    <text
266       xml:space="preserve"
267       style="font-style:normal;font-weight:normal;font-size:4.60972738px;line-height:1.25;font-family:sans-serif;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.34572953"
268       x="53.913994"
269       y="67.364655"
270       id="text833-6"><tspan
271         sodipodi:role="line"
272         x="53.913994"
273         y="67.364655"
274         style="text-align:center;text-anchor:middle;stroke-width:0.34572953"
275         id="tspan835-5">ThreadA</tspan></text>
276    <path
277       style="fill:none;stroke:#000000;stroke-width:0.34627399;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow1Mend)"
278       d="M 27.303077,30.656754 H 47.182525"
279       id="path863"
280       inkscape:connector-curvature="0" />
281    <path
282       style="fill:none;stroke:#000000;stroke-width:0.34627399;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-start:url(#Arrow1Mstart)"
283       d="M 27.270567,33.743624 H 47.150016"
284       id="path863-6"
285       inkscape:connector-curvature="0" />
286    <text
287       xml:space="preserve"
288       style="font-style:normal;font-weight:normal;font-size:4.60972738px;line-height:1.25;font-family:sans-serif;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.34572953"
289       x="61.887283"
290       y="30.692444"
291       id="text833-6-2"><tspan
292         sodipodi:role="line"
293         x="61.887283"
294         y="30.692444"
295         style="text-align:center;text-anchor:middle;stroke-width:0.34572953"
296         id="tspan835-5-9">Core/device</tspan><tspan
297         sodipodi:role="line"
298         x="61.887283"
299         y="36.454601"
300         style="text-align:center;text-anchor:middle;stroke-width:0.34572953"
301         id="tspan1628">initialization</tspan></text>
302    <text
303       xml:space="preserve"
304       style="font-style:normal;font-weight:normal;font-size:4.60972738px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.34572953"
305       x="33.970718"
306       y="46.338062"
307       id="text3684"><tspan
308         sodipodi:role="line"
309         id="tspan3682"
310         x="33.970718"
311         y="46.338062"
312         style="stroke-width:0.34572953">arch_cpu_start()</tspan></text>
313    <rect
314       style="fill:#ffffaa;fill-opacity:1;stroke:#000000;stroke-width:0.32675847;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
315       id="rect3686-7"
316       width="63.979485"
317       height="113.36942"
318       x="89.648117"
319       y="11.508393"
320       ry="0.085420616" />
321    <rect
322       id="rect10-5"
323       width="5.5592046"
324       height="21.764517"
325       x="97.867531"
326       y="48.096912"
327       style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.12762277;stroke-opacity:1"
328       ry="0.04185484" />
329    <text
330       xml:space="preserve"
331       style="font-style:normal;font-weight:normal;font-size:4.60972738px;line-height:1.25;font-family:sans-serif;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.34572953"
332       x="100.42526"
333       y="40.658215"
334       id="text833-9"><tspan
335         sodipodi:role="line"
336         id="tspan831-2"
337         x="100.42526"
338         y="40.658215"
339         style="text-align:center;text-anchor:middle;stroke-width:0.34572953">init</tspan><tspan
340         sodipodi:role="line"
341         x="100.42526"
342         y="46.420372"
343         style="text-align:center;text-anchor:middle;stroke-width:0.34572953"
344         id="tspan835-2">stack</tspan></text>
345    <rect
346       id="rect10-3-8"
347       width="5.5592046"
348       height="44.411064"
349       x="127.91067"
350       y="69.690231"
351       style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.18230529;stroke-opacity:1"
352       ry="0.085405894" />
353    <text
354       xml:space="preserve"
355       style="font-style:normal;font-weight:normal;font-size:4.60972738px;line-height:1.25;font-family:sans-serif;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.34572953"
356       x="130.34492"
357       y="67.735077"
358       id="text833-6-9"><tspan
359         sodipodi:role="line"
360         x="130.34492"
361         y="67.735077"
362         style="text-align:center;text-anchor:middle;stroke-width:0.34572953"
363         id="tspan835-5-7">ThreadB</tspan></text>
364    <text
365       xml:space="preserve"
366       style="font-style:normal;font-weight:normal;font-size:4.60972738px;line-height:1.25;font-family:sans-serif;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.34572953"
367       x="20.965668"
368       y="8.3434992"
369       id="text833-6-9-9"><tspan
370         sodipodi:role="line"
371         x="20.965668"
372         y="8.3434992"
373         style="text-align:center;text-anchor:middle;stroke-width:0.34572953"
374         id="tspan835-5-7-4">CPU 0</tspan><tspan
375         sodipodi:role="line"
376         x="20.965668"
377         y="14.105659"
378         style="text-align:center;text-anchor:middle;stroke-width:0.34572953"
379         id="tspan4017" /></text>
380    <text
381       xml:space="preserve"
382       style="font-style:normal;font-weight:normal;font-size:4.60972738px;line-height:1.25;font-family:sans-serif;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.34572953"
383       x="96.691437"
384       y="7.5171194"
385       id="text833-6-9-9-7"><tspan
386         sodipodi:role="line"
387         x="96.691437"
388         y="7.5171194"
389         style="text-align:center;text-anchor:middle;stroke-width:0.34572953"
390         id="tspan835-5-7-4-8">CPU 1</tspan><tspan
391         sodipodi:role="line"
392         x="96.691437"
393         y="13.279279"
394         style="text-align:center;text-anchor:middle;stroke-width:0.34572953"
395         id="tspan4017-4" /></text>
396    <path
397       style="fill:none;stroke:#000000;stroke-width:0.34627399;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-start:url(#marker2632)"
398       d="M 97.867531,48.096909 H 27.648939"
399       id="path4040"
400       inkscape:connector-curvature="0" />
401    <path
402       style="fill:none;stroke:#000000;stroke-width:0.34572953px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker4090)"
403       d="M 26.995808,69.491001 51.479736,69.319802"
404       id="path4066"
405       inkscape:connector-curvature="0" />
406    <path
407       style="fill:none;stroke:#000000;stroke-width:0.34572953px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker2502)"
408       d="m 103.42673,69.861429 24.48394,-0.171202"
409       id="path4068"
410       inkscape:connector-curvature="0" />
411    <text
412       xml:space="preserve"
413       style="font-style:normal;font-weight:normal;font-size:4.60972738px;line-height:1.25;font-family:sans-serif;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.34572953"
414       x="36.627178"
415       y="73.867195"
416       id="text833-6-5"><tspan
417         sodipodi:role="line"
418         x="36.627178"
419         y="73.867195"
420         style="text-align:center;text-anchor:middle;stroke-width:0.34572953"
421         id="tspan835-5-0">z_swap()</tspan></text>
422    <text
423       xml:space="preserve"
424       style="font-style:normal;font-weight:normal;font-size:4.60972738px;line-height:1.25;font-family:sans-serif;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.34572953"
425       x="113.13492"
426       y="74.026962"
427       id="text833-6-5-3"><tspan
428         sodipodi:role="line"
429         x="113.13492"
430         y="74.026962"
431         style="text-align:center;text-anchor:middle;stroke-width:0.34572953"
432         id="tspan835-5-0-6">z_swap()</tspan></text>
433  </g>
434</svg>
435