zephyr/doc/services/pm/images/central_method.svg

3 lines
13 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" style="background-color: rgb(255, 255, 255);" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="841px" height="419px" viewBox="-0.5 -0.5 841 419" content="&lt;mxfile host=&quot;app.diagrams.net&quot; modified=&quot;2021-02-08T20:47:46.207Z&quot; agent=&quot;5.0 (X11)&quot; etag=&quot;IsEzkAkb73XS66lSVCcZ&quot; version=&quot;14.3.0&quot; type=&quot;device&quot;&gt;&lt;diagram id=&quot;y3HGduANEj6JcoCq4g_L&quot; name=&quot;Page-1&quot;&gt;7VpZb+M2EP41BrYPXujwIT/6SjbYOjFip236EjASbRFLiSpFX/vrl5RI3VbsQsq2TYM8UENySHG+mfmGcsecesdbCgJ3QRyIO4bmHDvmrGMYes8wOuJfc05SYlm9WLKlyJGyVLBC36EUalK6Qw4McwMZIZihIC+0ie9Dm+VkgFJyyA/bEJxfNQBbWBKsbIDL0t+Rw9xYavW1VP4Foq2rVtY12eMBNVgKQhc45JARmfOOOaWEsLjlHacQi9NT5xLPuznTm2yMQp9dMuH45wTfvnreiY6/mCtt8nU3WnSHsZY9wDv5wnKz7KROAPrOWBwkf7IxCENkd8yJyzzMBTpvwiNif2Taz7ytfe7Lp5mAgqYeTurBZ/QkJnW1z5rWU5J4am84UIJ0dvSUm76EFHmQQSqF8cahU7JnekBSFJIdtWHNqSigAbqFrGZcLzEjdwBI+G7oic87pEBROHEzGFEyCjFgaJ/fLpB43SbqkhWWBPEXMTTpXD2FNOlaI0vLq4hfU87KAqOoqF9QZBYUxedQUsQbmddORRHursCgXoHBAeaHNXnlja1o3DkcjYa2dikETtJLVfen5eJlPF3f/TZ/Wa3H6/kv5SFKwnf4WpQ5aJ+D/OCvnXDKyYb4rBtGIW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DUAvfAOwE9KVCs1Jf2iOcqLYh2cw4DlM4IMI/sopMrRZVDxKYCSOH+/nQ3n+YFTwfKtMJJvyfP6Y/rQjThfpL2TM+Q8=&lt;/diagram&gt;&lt;/mxfile&gt;"><defs/><g><path d="M 120 160 L 357.55 160.88" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 362.8 160.9 L 355.79 164.37 L 357.55 160.88 L 355.81 157.37 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><ellipse cx="60" cy="160" rx="60" ry="60" fill="#f8cecc" stroke="#b85450" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 160px; margin-left: 1px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; "><b>Idle Thread<br />(PM_ACTIVE_STATE)<br /></b><div style="font-size: 13px"><br /></div></div></div></div></foreignObject><text x="60" y="164" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">Idle Thread...</text></switch></g><rect x="223" y="100" width="110" height="120" fill="#ffffff" stroke="#000000" stroke-dasharray="3 3" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 108px; height: 1px; padding-top: 160px; margin-left: 224px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; "><div><b>Power</b></div><div><b>Management</b></div><div><b>Policy</b><br /></div></div></div></div></foreignObject><text x="278" y="164" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">Power...</text></switch></g><ellipse cx="500" cy="167.5" rx="135" ry="137.5" fill="#d5e8d4" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 268px; height: 1px; padding-top: 168px; margin-left: 367px;"><div style="box-sizing: border-box; font-size: 0; text-align: left; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; "><div style="font-size: 13px" align="left"><ul><li><b>PM_STATE_ACTIVE</b></li><li><b>PM_STATE_RUNTIME_IDLE</b></li><li><b>PM_STATE_SUSPEND_TO_IDLE</b></li><li><b>PM_STATE_STANDBY</b></li><li><b>PM_STATE_SUSPEND_TO_RAM</b></li><li><b>PM_STATE_SUSPEND_TO_DISK</b></li><li><b>PM_STATE_SOFT_OFF</b></li></ul></div></div></div></div></foreignObject><text x="367" y="171" fill="#000000" font-family="Helvetica" font-size="12px">PM_STATE_ACTIVEPM_STATE_RUNTIME_IDLEPM_STATE_...</text></switch></g><path d="M 500 30 L 70 30 Q 60 30 60 40 L 60 93.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 60 98.88 L 56.5 91.88 L 60 93.63 L 63.5 91.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><path d="M 500 305 L 70 305 Q 60 305 60 295 L 60 226.37" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 60 221.12 L 63.5 228.12 L 60 226.37 L 56.5 228.12 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><rect x="113" y="140" width="100" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 98px; height: 1px; padding-top: 150px; margin-left: 114px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; "><div>next scheduled timeout</div><div><br /></div></div></div></div></foreignObject><text x="163" y="154" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">next scheduled t...</text></switch></g><rect x="640" y="5" width="200" height="310" fill="#ffffff" stroke="#000000" stroke-dasharray="3 3" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 198px; height: 1px; padding-top: 160px; margin-left: 641px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; "><div align="left"><ul><li>Clock Gate CPU<br /></li><li><div>Power Gate CPU</div></li><ul><li>Save context in memory (self-refresh mode)<br /></li><li>Save context in non-volatile memory<br /></li></ul><li>Power Gate devices<br /></li></ul></div></div></div></div></foreignObject><text x="740" y="164" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">Clock Gate CPU...</text></switch></g><rect x="120" y="0" width="260" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 258px; height: 1px; padding-top: 10px; margin-left: 121px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Resume at the place it stopped</div></div></div></foreignObject><text x="250" y="14" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">Resume at the place it stopped</text></switch></g><path d="M 500 305 L 500 400 Q 500 410 490 410 L 70 410 Q 60 410 60 400 L 60 236.37" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 60 231.12 L 63.5 238.12 L 60 236.37 L 56.5 238.12 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><rect x="170" y="270" width="160" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 158px; height: 1px; padding-top: 280px; margin-left: 171px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; "><div>Resume at startup code, devices restore context or reinitialize</div></div></div></div></foreignObject><text x="250" y="284" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">Resume at startup code, de...</text></switch></g><rect x="185" y="380" width="130" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 128px; height: 1px; padding-top: 390px; margin-left: 186px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Reboot, CPU and devices reset at initial state</div></div></div></foreignObject><text x="250" y="394" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">Reboot, CPU and devic...</text></switch></g><rect x="680" y="285" width="160" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 158px; height: 1px; padding-top: 295px; margin-left: 681px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; "><font style="font-size: 11px" color="#B5739D">Depends on selected state</font></div></div></div></foreignObject><text x="760" y="299" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">Depends on selected state</text></switch></g></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Viewer does not support full SVG 1.1</text></a></switch></svg>