You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ad...@apache.org on 2016/03/09 07:24:21 UTC
[14/17] incubator-mynewt-site git commit: added time functions from
pull request #43 and 44. changed community page layout,
font sizes across site etc.
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/565bf1bc/os/core_os/context_switch/os_arch_ctx_sw/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/context_switch/os_arch_ctx_sw/index.html b/os/core_os/context_switch/os_arch_ctx_sw/index.html
index e639c39..796179b 100644
--- a/os/core_os/context_switch/os_arch_ctx_sw/index.html
+++ b/os/core_os/context_switch/os_arch_ctx_sw/index.html
@@ -43,7 +43,7 @@
<body class="os_arch_ctx_sw">
- <div class="navbar navbar-default navbar-fixed-top" role="navigation">
+ <div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="logo-container">
<img src="/img/logo.svg">
</div>
@@ -92,10 +92,12 @@
</div>
</div>
+
+
<div class="container-fluid">
<div class="row sm-extra-padding">
- <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+ <div id="docSidebar" class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
<div class="sidebar-top">
<img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
<div class="small" role="search">
@@ -221,22 +223,12 @@
- <li><a href="
- ../context_switch/
-">Scheduler</a>
+ <li ><a href="../context_switch/">Scheduler</a></li>
<ul class="current-toc">
-
-
- <li>
- <a href="../context_switch/">Overview</a>
- </li>
-
-
-
@@ -273,16 +265,6 @@
<li>
- <a href="../os_arch_ctx_sw_isr/">os_arch_ctx_sw_isr</a>
- </li>
-
-
-
-
-
-
-
- <li>
<a href="../os_sched_ctx_sw_hook/">os_sched_ctx_sw_hook</a>
</li>
@@ -385,9 +367,7 @@
- <li><a href="
- ../../time/os_time/
-">Time</a>
+ <li ><a href="../../time/os_time/">Time</a></li>
</li>
@@ -398,9 +378,7 @@
- <li><a href="
- ../../task/task/
-">Tasks</a>
+ <li ><a href="../../task/task/">Tasks</a></li>
</li>
@@ -411,9 +389,7 @@
- <li><a href="
- ../../event_queue/event_queue/
-">Event Queues</a>
+ <li ><a href="../../event_queue/event_queue/">Event Queues</a></li>
</li>
@@ -424,9 +400,7 @@
- <li><a href="
- ../../semaphore/semaphore/
-">Semaphores</a>
+ <li ><a href="../../semaphore/semaphore/">Semaphores</a></li>
</li>
@@ -437,9 +411,7 @@
- <li><a href="
- ../../mutex/mutex/
-">Mutexes</a>
+ <li ><a href="../../mutex/mutex/">Mutexes</a></li>
</li>
@@ -450,9 +422,7 @@
- <li><a href="
- ../../memory_pool/memory_pool/
-">Memory Pools</a>
+ <li ><a href="../../memory_pool/memory_pool/">Memory Pools</a></li>
</li>
@@ -463,9 +433,7 @@
- <li><a href="
- ../../heap/heap/
-">Heap</a>
+ <li ><a href="../../heap/heap/">Heap</a></li>
</li>
@@ -492,9 +460,7 @@
- <li><a href="
- ../../sanity/sanity/
-">Sanity</a>
+ <li ><a href="../../sanity/sanity/">Sanity</a></li>
</li>
@@ -505,9 +471,7 @@
- <li><a href="
- ../../callout/callout/
-">Callouts</a>
+ <li ><a href="../../callout/callout/">Callouts</a></li>
</li>
@@ -524,9 +488,7 @@
- <li><a href="
- ../../porting/port_os/
-">Porting to your Platform</a>
+ <li ><a href="../../porting/port_os/">Porting to your Platform</a></li>
</li>
@@ -537,9 +499,7 @@
- <li><a href="
- ../../../modules/console/console/
-">Console</a>
+ <li ><a href="../../../modules/console/console/">Console</a></li>
</li>
@@ -550,9 +510,7 @@
- <li><a href="
- ../../../modules/shell/shell/
-">Shell</a>
+ <li ><a href="../../../modules/shell/shell/">Shell</a></li>
</li>
@@ -563,9 +521,7 @@
- <li><a href="
- ../../../modules/bootloader/bootloader/
-">Bootloader</a>
+ <li ><a href="../../../modules/bootloader/bootloader/">Bootloader</a></li>
</li>
@@ -592,9 +548,7 @@
- <li><a href="
- ../../../modules/hal/hal/
-">Hardware Abstraction Layer</a>
+ <li ><a href="../../../modules/hal/hal/">Hardware Abstraction Layer</a></li>
</li>
@@ -605,9 +559,7 @@
- <li><a href="
- ../../../modules/testutil/testutil/
-">Test Utilities</a>
+ <li ><a href="../../../modules/testutil/testutil/">Test Utilities</a></li>
</li>
@@ -618,9 +570,7 @@
- <li><a href="
- ../../../modules/imgmgr/imgmgr/
-">Image Manager</a>
+ <li ><a href="../../../modules/imgmgr/imgmgr/">Image Manager</a></li>
</li>
@@ -641,9 +591,7 @@
- <li><a href="
- ../../../modules/elua/elua/
-">Embedded Lua</a>
+ <li ><a href="../../../modules/elua/elua/">Embedded Lua</a></li>
</li>
@@ -654,9 +602,7 @@
- <li><a href="
- ../../../modules/json/json/
-">JSON</a>
+ <li ><a href="../../../modules/json/json/">JSON</a></li>
</li>
@@ -737,7 +683,7 @@
<button class="show-sidebar">Docs Menu</button>
</div>
- <div class="col-md-9 documentation-viewer" role="main">
+ <div class="col-md-offset-3 col-md-9 documentation-viewer" role="main">
<div class="row doc-header">
<div class="col-sm-6">
@@ -824,7 +770,7 @@
<h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">¶</a></h4>
<p><Add text to set up the context for the example here></p>
<pre><code class="no-highlight">void
-os_sched(struct os_task *next_t, int isr)
+os_sched(struct os_task *next_t)
{
os_sr_t sr;
@@ -835,26 +781,17 @@ os_sched(struct os_task *next_t, int isr)
}
if (next_t != g_current_task) {
- OS_EXIT_CRITICAL(sr);
- if (isr) {
- os_arch_ctx_sw_isr(next_t);
- } else {
- os_arch_ctx_sw(next_t);
- }
-
- } else {
- OS_EXIT_CRITICAL(sr);
+ os_arch_ctx_sw(next_t);
}
+
+ OS_EXIT_CRITICAL(sr);
}
</code></pre>
<hr />
- </div>
- </div>
-
- <div class="row">
- <footer>
+ <div class="row">
+ <footer>
<div class="row">
<div class="col-md-12">
@@ -880,7 +817,11 @@ os_sched(struct os_task *next_t, int isr)
</div>
</div>
</footer>
- </div>
+ </div>
+ </div>
+ </div>
+
+
</div>
<script src="../../../../js/jquery-1.10.2.min.js"></script>
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/565bf1bc/os/core_os/context_switch/os_arch_ctx_sw_isr/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/context_switch/os_arch_ctx_sw_isr/index.html b/os/core_os/context_switch/os_arch_ctx_sw_isr/index.html
deleted file mode 100644
index e42c972..0000000
--- a/os/core_os/context_switch/os_arch_ctx_sw_isr/index.html
+++ /dev/null
@@ -1,893 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
-
-
- <link rel="canonical" href="http://mynewt.apache.org/os/core_os/context_switch/os_arch_ctx_sw_isr/">
- <link rel="shortcut icon" href="../../../../img/favicon.ico">
-
- <title>os_arch_ctx_sw_isr - Apache Mynewt</title>
-
- <link href="../../../../css/bootstrap-3.0.3.min.css" rel="stylesheet">
- <link href="../../../../css/font-awesome-4.0.3.css" rel="stylesheet">
- <link rel="stylesheet" href="../../../../css/highlight.css">
- <link href="../../../../css/base.css" rel="stylesheet">
- <link href="../../../../css/custom.css" rel="stylesheet">
- <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,900,300,100' rel='stylesheet' type='text/css'>
- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
- <link href="../../../../extra.css" rel="stylesheet">
-
- <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
- <!--[if lt IE 9]>
- <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
- <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
- <![endif]-->
-
-
- <script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-72162311-1', 'mynewt.incubator.apache.org');
- ga('send', 'pageview');
- </script>
-
- </head>
-
-
- <body class="os_arch_ctx_sw_isr">
-
-
- <div class="navbar navbar-default navbar-fixed-top" role="navigation">
- <div class="logo-container">
- <img src="/img/logo.svg">
- </div>
- <div class="container-fluid">
- <!-- Collapsed navigation -->
- <div class="navbar-header">
- <!-- Expander button -->
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
- <span class="sr-only">Toggle navigation</span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
-
- </div>
-
- <!-- Expanded navigation -->
- <div class="navbar-collapse collapse">
- <!-- Main navigation -->
- <ul class="nav navbar-nav navbar-right">
- <li>
- <a href="/">Home</a>
- </li>
- <li>
- <a href="/about/">About</a>
- </li>
- <li>
- <a href="/documentation/">Docs</a>
- </li>
- <li>
- <a href="/download/">Download</a>
- </li>
- <li>
- <a href="/community/">Community</a>
- </li>
- <li>
- <a href="/events/">Events</a>
- </li>
- </ul>
-
- <!-- Search, Navigation and Repo links -->
- <ul class="nav navbar-nav navbar-right">
-
- </ul>
- </div>
- </div>
-</div>
-
- <div class="container-fluid">
-
- <div class="row sm-extra-padding">
- <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
- <div class="sidebar-top">
- <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
- <div class="small" role="search">
- <form id ="rtd-search-form" class="wy-form" action="../../../../search.html" method="get">
- <div class="form-group">
- <input type="text" name="q" placeholder="Search documentation" />
- <button class="search-button" type="submit"><i class="fa fa-search"></i></button>
- </div>
- </form>
- </div>
- </div>
- <ul class="nav bs-sidenav">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <li><a href="
- ../../../get_started/introduction/
-">Mynewt OS Manual</a>
-
-
- <ul class="current-toc">
-
-
-
-
- <li>
- <a href="../../../get_started/introduction/">Introduction</a>
- </li>
-
-
-
-
-
-
-
-
- <li><a href="
- ../../../get_started/project1/
-">Get Started</a>
-
-
- </li>
-
-
-
-
-
-
-
- <li ><a href="../../../get_started/vocabulary/">Concepts</a></li>
-
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
- ../../../tutorials/STM32F303/
-">Tutorials</a>
-
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
-
-
- ../../mynewt_os/
-
-">OS User Guide</a>
-
-
- <ul class="current-toc">
-
-
-
-
-
- <li ><a href="../../mynewt_os/">OS Core</a></li>
-
-
- <ul class="current-toc">
-
-
-
-
-
-
-
- <li><a href="
- ../../os_init/
-">System-level Functions</a>
-
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
- ../context_switch/
-">Scheduler</a>
-
-
- <ul class="current-toc">
-
-
-
-
- <li>
- <a href="../context_switch/">Overview</a>
- </li>
-
-
-
-
-
-
-
-
- <li><a href="
- ../os_sched/
-">Functions</a>
-
-
- <ul class="current-toc">
-
-
-
-
- <li>
- <a href="../os_sched/">os_sched</a>
- </li>
-
-
-
-
-
-
-
- <li>
- <a href="../os_arch_ctx_sw/">os_arch_ctx_sw</a>
- </li>
-
-
-
-
-
-
-
- <li class="active">
- os_arch_ctx_sw_isr
- </li>
-
-
-
-
-
-
-
- <li>
- <a href="../os_sched_ctx_sw_hook/">os_sched_ctx_sw_hook</a>
- </li>
-
-
-
-
-
-
-
- <li>
- <a href="../os_sched_get_current_task/">os_sched_get_current_task</a>
- </li>
-
-
-
-
-
-
-
- <li>
- <a href="../os_sched_insert/">os_sched_insert</a>
- </li>
-
-
-
-
-
-
-
- <li>
- <a href="../os_sched_next_task/">os_sched_next_task</a>
- </li>
-
-
-
-
-
-
-
- <li>
- <a href="../os_sched_os_timer_exp/">os_sched_os_timer_exp</a>
- </li>
-
-
-
-
-
-
-
- <li>
- <a href="../os_sched_resort/">os_sched_resort</a>
- </li>
-
-
-
-
-
-
-
- <li>
- <a href="../os_sched_set_current_task/">os_sched_set_current_task</a>
- </li>
-
-
-
-
-
-
-
- <li>
- <a href="../os_sched_sleep/">os_sched_sleep</a>
- </li>
-
-
-
-
-
-
-
- <li>
- <a href="../os_sched_wakeup/">os_sched_wakeup</a>
- </li>
-
-
-
-
- </ul>
-
- </li>
-
-
-
- </ul>
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
- ../../time/os_time/
-">Time</a>
-
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
- ../../task/task/
-">Tasks</a>
-
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
- ../../event_queue/event_queue/
-">Event Queues</a>
-
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
- ../../semaphore/semaphore/
-">Semaphores</a>
-
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
- ../../mutex/mutex/
-">Mutexes</a>
-
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
- ../../memory_pool/memory_pool/
-">Memory Pools</a>
-
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
- ../../heap/heap/
-">Heap</a>
-
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
-
-
- ../../mbuf/mbuf/
-
-">Memory Buffers</a>
-
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
- ../../sanity/sanity/
-">Sanity</a>
-
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
- ../../callout/callout/
-">Callouts</a>
-
-
- </li>
-
-
-
- </ul>
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
- ../../porting/port_os/
-">Porting to your Platform</a>
-
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
- ../../../modules/console/console/
-">Console</a>
-
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
- ../../../modules/shell/shell/
-">Shell</a>
-
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
- ../../../modules/bootloader/bootloader/
-">Bootloader</a>
-
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
-
-
- ../../../modules/fs/fs/fs/
-
-">File System</a>
-
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
- ../../../modules/hal/hal/
-">Hardware Abstraction Layer</a>
-
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
- ../../../modules/testutil/testutil/
-">Test Utilities</a>
-
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
- ../../../modules/imgmgr/imgmgr/
-">Image Manager</a>
-
-
- </li>
-
-
-
-
-
-
- <li>
- <a href="../../../modules/baselibc/">Baselibc library</a>
- </li>
-
-
-
-
-
-
-
-
- <li><a href="
- ../../../modules/elua/elua/
-">Embedded Lua</a>
-
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
- ../../../modules/json/json/
-">JSON</a>
-
-
- </li>
-
-
-
- </ul>
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
-
-
- ../../../../network/ble/ble_intro/
-
-">Networking User Guide</a>
-
-
- </li>
-
-
-
- </ul>
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
- ../../../../newt/newt_intro/
-">Newt Tool Manual</a>
-
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
- ../../../../newtmgr/overview/
-">Newt Manager Manual</a>
-
-
- </li>
-
-
-
-
-
-
-
- <li><a href="
- ../../../../faq/answers/
-">Appendix</a>
-
-
- </li>
-
-
-
- </ul>
-</div></div>
-
- <div class="show-sidebar-container">
- <button class="show-sidebar">Docs Menu</button>
- </div>
-
- <div class="col-md-9 documentation-viewer" role="main">
- <div class="row doc-header">
- <div class="col-sm-6">
-
-<ul class="nav nav-pills">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <li class="active" role="presentation"><a href="../../../get_started/introduction/">Mynewt OS</a></li>
-
-
-
- <li role="presentation"><a href="../../../../newt/newt_intro/">Newt Tool</a></li>
-
-
-
- <li role="presentation"><a href="../../../../newtmgr/overview/">Newt Mgr</a></li>
-
-
-
-
-</ul>
- </div>
- <div class="col-sm-6">
- <div role="navigation" aria-label="breadcrumbs navigation">
- <ul class="wy-breadcrumbs">
- <li><a href="../../../..">Docs</a></li>
-
-
-
- <li>» Scheduler</li>
-
-
-
- <li>» Functions</li>
-
-
-
- <li>» os_arch_ctx_sw_isr</li>
-
-
-
- </ul>
-</div>
- </div>
- </div>
-
- <h2 id="os_arch_ctx_sw_isr"><font color="#F2853F" style="font-size:24pt"> os_arch_ctx_sw_isr </font><a class="headerlink" href="#os_arch_ctx_sw_isr" title="Permanent link">¶</a></h2>
-<pre><code class="no-highlight">void os_arch_ctx_sw_isr(struct os_task *next_t)
-</code></pre>
-
-<p>Change the state of task pointed by <em>next_t</em> to be <em>running</em>.</p>
-<h4 id="arguments">Arguments<a class="headerlink" href="#arguments" title="Permanent link">¶</a></h4>
-<table>
-<thead>
-<tr>
-<th>Arguments</th>
-<th>Description</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td>next_t</td>
-<td>Pointer to task which must run next</td>
-</tr>
-</tbody>
-</table>
-<h4 id="returned-values">Returned values<a class="headerlink" href="#returned-values" title="Permanent link">¶</a></h4>
-<p>N/A</p>
-<h4 id="notes">Notes<a class="headerlink" href="#notes" title="Permanent link">¶</a></h4>
-<p>This would get called from interrupt context.</p>
-<h4 id="example">Example<a class="headerlink" href="#example" title="Permanent link">¶</a></h4>
-<p><Add text to set up the context for the example here></p>
-<pre><code class="no-highlight">void
-os_sched(struct os_task *next_t, int isr)
-{
- os_sr_t sr;
-
- OS_ENTER_CRITICAL(sr);
-
- if (!next_t) {
- next_t = os_sched_next_task();
- }
-
- if (next_t != g_current_task) {
- OS_EXIT_CRITICAL(sr);
- if (isr) {
- os_arch_ctx_sw_isr(next_t);
- } else {
- os_arch_ctx_sw(next_t);
- }
-
- } else {
- OS_EXIT_CRITICAL(sr);
- }
-}
-</code></pre>
-
-<hr />
-
- </div>
- </div>
-
- <div class="row">
- <footer>
- <div class="row">
- <div class="col-md-12">
-
- <p class="copyright">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0 Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>The Apache Software Foundation Apache Incubator</p>
-
- </div>
- </div>
- <div class="copyright-logos">
- <div class="row">
- <div class="col-xs-6 text-right">
- <img src="/img/apache-feather.png" alt="Apache" title="Apache">
- </div>
- <div class="col-xs-6 text-left">
- <img src="/img/apache-logo.png" alt="Apache Incubator" title="Apache Incubator">
- </div>
- </div>
- </div>
- <div class="row">
- <div class="col-md-12">
- <small class="footnote">
- MyNewt is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
- </small>
- </div>
- </div>
-</footer>
- </div>
- </div>
-
- <script src="../../../../js/jquery-1.10.2.min.js"></script>
- <script src="../../../../js/bootstrap-3.0.3.min.js"></script>
- <script src="../../../../js/highlight.pack.js"></script>
- <script src="../../../../js/base.js"></script>
- <script src="../../../../js/custom.js"></script>
-
- </body>
-</html>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/565bf1bc/os/core_os/context_switch/os_sched/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/context_switch/os_sched/index.html b/os/core_os/context_switch/os_sched/index.html
index d123e43..d6e4646 100644
--- a/os/core_os/context_switch/os_sched/index.html
+++ b/os/core_os/context_switch/os_sched/index.html
@@ -43,7 +43,7 @@
<body class="os_sched">
- <div class="navbar navbar-default navbar-fixed-top" role="navigation">
+ <div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="logo-container">
<img src="/img/logo.svg">
</div>
@@ -92,10 +92,12 @@
</div>
</div>
+
+
<div class="container-fluid">
<div class="row sm-extra-padding">
- <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+ <div id="docSidebar" class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
<div class="sidebar-top">
<img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
<div class="small" role="search">
@@ -221,22 +223,12 @@
- <li><a href="
- ../context_switch/
-">Scheduler</a>
+ <li ><a href="../context_switch/">Scheduler</a></li>
<ul class="current-toc">
-
-
- <li>
- <a href="../context_switch/">Overview</a>
- </li>
-
-
-
@@ -273,16 +265,6 @@
<li>
- <a href="../os_arch_ctx_sw_isr/">os_arch_ctx_sw_isr</a>
- </li>
-
-
-
-
-
-
-
- <li>
<a href="../os_sched_ctx_sw_hook/">os_sched_ctx_sw_hook</a>
</li>
@@ -385,9 +367,7 @@
- <li><a href="
- ../../time/os_time/
-">Time</a>
+ <li ><a href="../../time/os_time/">Time</a></li>
</li>
@@ -398,9 +378,7 @@
- <li><a href="
- ../../task/task/
-">Tasks</a>
+ <li ><a href="../../task/task/">Tasks</a></li>
</li>
@@ -411,9 +389,7 @@
- <li><a href="
- ../../event_queue/event_queue/
-">Event Queues</a>
+ <li ><a href="../../event_queue/event_queue/">Event Queues</a></li>
</li>
@@ -424,9 +400,7 @@
- <li><a href="
- ../../semaphore/semaphore/
-">Semaphores</a>
+ <li ><a href="../../semaphore/semaphore/">Semaphores</a></li>
</li>
@@ -437,9 +411,7 @@
- <li><a href="
- ../../mutex/mutex/
-">Mutexes</a>
+ <li ><a href="../../mutex/mutex/">Mutexes</a></li>
</li>
@@ -450,9 +422,7 @@
- <li><a href="
- ../../memory_pool/memory_pool/
-">Memory Pools</a>
+ <li ><a href="../../memory_pool/memory_pool/">Memory Pools</a></li>
</li>
@@ -463,9 +433,7 @@
- <li><a href="
- ../../heap/heap/
-">Heap</a>
+ <li ><a href="../../heap/heap/">Heap</a></li>
</li>
@@ -492,9 +460,7 @@
- <li><a href="
- ../../sanity/sanity/
-">Sanity</a>
+ <li ><a href="../../sanity/sanity/">Sanity</a></li>
</li>
@@ -505,9 +471,7 @@
- <li><a href="
- ../../callout/callout/
-">Callouts</a>
+ <li ><a href="../../callout/callout/">Callouts</a></li>
</li>
@@ -524,9 +488,7 @@
- <li><a href="
- ../../porting/port_os/
-">Porting to your Platform</a>
+ <li ><a href="../../porting/port_os/">Porting to your Platform</a></li>
</li>
@@ -537,9 +499,7 @@
- <li><a href="
- ../../../modules/console/console/
-">Console</a>
+ <li ><a href="../../../modules/console/console/">Console</a></li>
</li>
@@ -550,9 +510,7 @@
- <li><a href="
- ../../../modules/shell/shell/
-">Shell</a>
+ <li ><a href="../../../modules/shell/shell/">Shell</a></li>
</li>
@@ -563,9 +521,7 @@
- <li><a href="
- ../../../modules/bootloader/bootloader/
-">Bootloader</a>
+ <li ><a href="../../../modules/bootloader/bootloader/">Bootloader</a></li>
</li>
@@ -592,9 +548,7 @@
- <li><a href="
- ../../../modules/hal/hal/
-">Hardware Abstraction Layer</a>
+ <li ><a href="../../../modules/hal/hal/">Hardware Abstraction Layer</a></li>
</li>
@@ -605,9 +559,7 @@
- <li><a href="
- ../../../modules/testutil/testutil/
-">Test Utilities</a>
+ <li ><a href="../../../modules/testutil/testutil/">Test Utilities</a></li>
</li>
@@ -618,9 +570,7 @@
- <li><a href="
- ../../../modules/imgmgr/imgmgr/
-">Image Manager</a>
+ <li ><a href="../../../modules/imgmgr/imgmgr/">Image Manager</a></li>
</li>
@@ -641,9 +591,7 @@
- <li><a href="
- ../../../modules/elua/elua/
-">Embedded Lua</a>
+ <li ><a href="../../../modules/elua/elua/">Embedded Lua</a></li>
</li>
@@ -654,9 +602,7 @@
- <li><a href="
- ../../../modules/json/json/
-">JSON</a>
+ <li ><a href="../../../modules/json/json/">JSON</a></li>
</li>
@@ -737,7 +683,7 @@
<button class="show-sidebar">Docs Menu</button>
</div>
- <div class="col-md-9 documentation-viewer" role="main">
+ <div class="col-md-offset-3 col-md-9 documentation-viewer" role="main">
<div class="row doc-header">
<div class="col-sm-6">
@@ -798,7 +744,7 @@
</div>
<h2 id="os_sched"><font color="#F2853F" style="font-size:24pt"> os_sched </font><a class="headerlink" href="#os_sched" title="Permanent link">¶</a></h2>
-<pre><code class="no-highlight">void os_sched(struct os_task *next_t, int isr)
+<pre><code class="no-highlight">void os_sched(struct os_task *next_t)
</code></pre>
<p>Performs context switch if needed. If <em>next_t</em> is set, that task will be made <em>running</em>. If <em>next_t</em> is NULL, highest priority <em>ready to run</em> is swapped in. This function can be called when new tasks were made <em>ready to run</em> or if the current task is moved to <em>sleeping</em> state.</p>
@@ -816,10 +762,6 @@
<td>next_t</td>
<td>Pointer to task which must run next (optional)</td>
</tr>
-<tr>
-<td>isr</td>
-<td>Flag indicating whether function is called from interrupt handler or not</td>
-</tr>
</tbody>
</table>
<h4 id="returned-values">Returned values<a class="headerlink" href="#returned-values" title="Permanent link">¶</a></h4>
@@ -836,7 +778,7 @@ os_mutex_release(struct os_mutex *mu)
/* Re-schedule if needed */
if (resched) {
- os_sched(rdy, 0);
+ os_sched(rdy);
}
return OS_OK;
@@ -846,11 +788,8 @@ os_mutex_release(struct os_mutex *mu)
<hr />
- </div>
- </div>
-
- <div class="row">
- <footer>
+ <div class="row">
+ <footer>
<div class="row">
<div class="col-md-12">
@@ -876,7 +815,11 @@ os_mutex_release(struct os_mutex *mu)
</div>
</div>
</footer>
- </div>
+ </div>
+ </div>
+ </div>
+
+
</div>
<script src="../../../../js/jquery-1.10.2.min.js"></script>
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/565bf1bc/os/core_os/context_switch/os_sched_ctx_sw_hook/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/context_switch/os_sched_ctx_sw_hook/index.html b/os/core_os/context_switch/os_sched_ctx_sw_hook/index.html
index 1fec21f..ab10f23 100644
--- a/os/core_os/context_switch/os_sched_ctx_sw_hook/index.html
+++ b/os/core_os/context_switch/os_sched_ctx_sw_hook/index.html
@@ -43,7 +43,7 @@
<body class="os_sched_ctx_sw_hook">
- <div class="navbar navbar-default navbar-fixed-top" role="navigation">
+ <div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="logo-container">
<img src="/img/logo.svg">
</div>
@@ -92,10 +92,12 @@
</div>
</div>
+
+
<div class="container-fluid">
<div class="row sm-extra-padding">
- <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+ <div id="docSidebar" class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
<div class="sidebar-top">
<img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
<div class="small" role="search">
@@ -221,22 +223,12 @@
- <li><a href="
- ../context_switch/
-">Scheduler</a>
+ <li ><a href="../context_switch/">Scheduler</a></li>
<ul class="current-toc">
-
-
- <li>
- <a href="../context_switch/">Overview</a>
- </li>
-
-
-
@@ -272,16 +264,6 @@
- <li>
- <a href="../os_arch_ctx_sw_isr/">os_arch_ctx_sw_isr</a>
- </li>
-
-
-
-
-
-
-
<li class="active">
os_sched_ctx_sw_hook
</li>
@@ -385,9 +367,7 @@
- <li><a href="
- ../../time/os_time/
-">Time</a>
+ <li ><a href="../../time/os_time/">Time</a></li>
</li>
@@ -398,9 +378,7 @@
- <li><a href="
- ../../task/task/
-">Tasks</a>
+ <li ><a href="../../task/task/">Tasks</a></li>
</li>
@@ -411,9 +389,7 @@
- <li><a href="
- ../../event_queue/event_queue/
-">Event Queues</a>
+ <li ><a href="../../event_queue/event_queue/">Event Queues</a></li>
</li>
@@ -424,9 +400,7 @@
- <li><a href="
- ../../semaphore/semaphore/
-">Semaphores</a>
+ <li ><a href="../../semaphore/semaphore/">Semaphores</a></li>
</li>
@@ -437,9 +411,7 @@
- <li><a href="
- ../../mutex/mutex/
-">Mutexes</a>
+ <li ><a href="../../mutex/mutex/">Mutexes</a></li>
</li>
@@ -450,9 +422,7 @@
- <li><a href="
- ../../memory_pool/memory_pool/
-">Memory Pools</a>
+ <li ><a href="../../memory_pool/memory_pool/">Memory Pools</a></li>
</li>
@@ -463,9 +433,7 @@
- <li><a href="
- ../../heap/heap/
-">Heap</a>
+ <li ><a href="../../heap/heap/">Heap</a></li>
</li>
@@ -492,9 +460,7 @@
- <li><a href="
- ../../sanity/sanity/
-">Sanity</a>
+ <li ><a href="../../sanity/sanity/">Sanity</a></li>
</li>
@@ -505,9 +471,7 @@
- <li><a href="
- ../../callout/callout/
-">Callouts</a>
+ <li ><a href="../../callout/callout/">Callouts</a></li>
</li>
@@ -524,9 +488,7 @@
- <li><a href="
- ../../porting/port_os/
-">Porting to your Platform</a>
+ <li ><a href="../../porting/port_os/">Porting to your Platform</a></li>
</li>
@@ -537,9 +499,7 @@
- <li><a href="
- ../../../modules/console/console/
-">Console</a>
+ <li ><a href="../../../modules/console/console/">Console</a></li>
</li>
@@ -550,9 +510,7 @@
- <li><a href="
- ../../../modules/shell/shell/
-">Shell</a>
+ <li ><a href="../../../modules/shell/shell/">Shell</a></li>
</li>
@@ -563,9 +521,7 @@
- <li><a href="
- ../../../modules/bootloader/bootloader/
-">Bootloader</a>
+ <li ><a href="../../../modules/bootloader/bootloader/">Bootloader</a></li>
</li>
@@ -592,9 +548,7 @@
- <li><a href="
- ../../../modules/hal/hal/
-">Hardware Abstraction Layer</a>
+ <li ><a href="../../../modules/hal/hal/">Hardware Abstraction Layer</a></li>
</li>
@@ -605,9 +559,7 @@
- <li><a href="
- ../../../modules/testutil/testutil/
-">Test Utilities</a>
+ <li ><a href="../../../modules/testutil/testutil/">Test Utilities</a></li>
</li>
@@ -618,9 +570,7 @@
- <li><a href="
- ../../../modules/imgmgr/imgmgr/
-">Image Manager</a>
+ <li ><a href="../../../modules/imgmgr/imgmgr/">Image Manager</a></li>
</li>
@@ -641,9 +591,7 @@
- <li><a href="
- ../../../modules/elua/elua/
-">Embedded Lua</a>
+ <li ><a href="../../../modules/elua/elua/">Embedded Lua</a></li>
</li>
@@ -654,9 +602,7 @@
- <li><a href="
- ../../../modules/json/json/
-">JSON</a>
+ <li ><a href="../../../modules/json/json/">JSON</a></li>
</li>
@@ -737,7 +683,7 @@
<button class="show-sidebar">Docs Menu</button>
</div>
- <div class="col-md-9 documentation-viewer" role="main">
+ <div class="col-md-offset-3 col-md-9 documentation-viewer" role="main">
<div class="row doc-header">
<div class="col-sm-6">
@@ -802,7 +748,7 @@
</code></pre>
<p>Performs task accounting when context switching.</p>
-<p>This function must be called from the architecture specific context switching routines <em>os_arch_ctx_sw_isr()</em> and <em>os_arch_ctx_sw()</em> before they resume execution of the <em>running</em> task.</p>
+<p>This function must be called from the architecture specific context switching routine <em>os_arch_ctx_sw()</em> before resuming execution of the <em>running</em> task.</p>
<h4 id="arguments">Arguments<a class="headerlink" href="#arguments" title="Permanent link">¶</a></h4>
<p>N/A</p>
<h4 id="returned-values">Returned values<a class="headerlink" href="#returned-values" title="Permanent link">¶</a></h4>
@@ -822,11 +768,8 @@ os_arch_ctx_sw(struct os_task *t)
<hr />
- </div>
- </div>
-
- <div class="row">
- <footer>
+ <div class="row">
+ <footer>
<div class="row">
<div class="col-md-12">
@@ -852,7 +795,11 @@ os_arch_ctx_sw(struct os_task *t)
</div>
</div>
</footer>
- </div>
+ </div>
+ </div>
+ </div>
+
+
</div>
<script src="../../../../js/jquery-1.10.2.min.js"></script>
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/565bf1bc/os/core_os/context_switch/os_sched_get_current_task/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/context_switch/os_sched_get_current_task/index.html b/os/core_os/context_switch/os_sched_get_current_task/index.html
index a99bc92..32794e2 100644
--- a/os/core_os/context_switch/os_sched_get_current_task/index.html
+++ b/os/core_os/context_switch/os_sched_get_current_task/index.html
@@ -43,7 +43,7 @@
<body class="os_sched_get_current_task">
- <div class="navbar navbar-default navbar-fixed-top" role="navigation">
+ <div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="logo-container">
<img src="/img/logo.svg">
</div>
@@ -92,10 +92,12 @@
</div>
</div>
+
+
<div class="container-fluid">
<div class="row sm-extra-padding">
- <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+ <div id="docSidebar" class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
<div class="sidebar-top">
<img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
<div class="small" role="search">
@@ -221,22 +223,12 @@
- <li><a href="
- ../context_switch/
-">Scheduler</a>
+ <li ><a href="../context_switch/">Scheduler</a></li>
<ul class="current-toc">
-
-
- <li>
- <a href="../context_switch/">Overview</a>
- </li>
-
-
-
@@ -273,16 +265,6 @@
<li>
- <a href="../os_arch_ctx_sw_isr/">os_arch_ctx_sw_isr</a>
- </li>
-
-
-
-
-
-
-
- <li>
<a href="../os_sched_ctx_sw_hook/">os_sched_ctx_sw_hook</a>
</li>
@@ -385,9 +367,7 @@
- <li><a href="
- ../../time/os_time/
-">Time</a>
+ <li ><a href="../../time/os_time/">Time</a></li>
</li>
@@ -398,9 +378,7 @@
- <li><a href="
- ../../task/task/
-">Tasks</a>
+ <li ><a href="../../task/task/">Tasks</a></li>
</li>
@@ -411,9 +389,7 @@
- <li><a href="
- ../../event_queue/event_queue/
-">Event Queues</a>
+ <li ><a href="../../event_queue/event_queue/">Event Queues</a></li>
</li>
@@ -424,9 +400,7 @@
- <li><a href="
- ../../semaphore/semaphore/
-">Semaphores</a>
+ <li ><a href="../../semaphore/semaphore/">Semaphores</a></li>
</li>
@@ -437,9 +411,7 @@
- <li><a href="
- ../../mutex/mutex/
-">Mutexes</a>
+ <li ><a href="../../mutex/mutex/">Mutexes</a></li>
</li>
@@ -450,9 +422,7 @@
- <li><a href="
- ../../memory_pool/memory_pool/
-">Memory Pools</a>
+ <li ><a href="../../memory_pool/memory_pool/">Memory Pools</a></li>
</li>
@@ -463,9 +433,7 @@
- <li><a href="
- ../../heap/heap/
-">Heap</a>
+ <li ><a href="../../heap/heap/">Heap</a></li>
</li>
@@ -492,9 +460,7 @@
- <li><a href="
- ../../sanity/sanity/
-">Sanity</a>
+ <li ><a href="../../sanity/sanity/">Sanity</a></li>
</li>
@@ -505,9 +471,7 @@
- <li><a href="
- ../../callout/callout/
-">Callouts</a>
+ <li ><a href="../../callout/callout/">Callouts</a></li>
</li>
@@ -524,9 +488,7 @@
- <li><a href="
- ../../porting/port_os/
-">Porting to your Platform</a>
+ <li ><a href="../../porting/port_os/">Porting to your Platform</a></li>
</li>
@@ -537,9 +499,7 @@
- <li><a href="
- ../../../modules/console/console/
-">Console</a>
+ <li ><a href="../../../modules/console/console/">Console</a></li>
</li>
@@ -550,9 +510,7 @@
- <li><a href="
- ../../../modules/shell/shell/
-">Shell</a>
+ <li ><a href="../../../modules/shell/shell/">Shell</a></li>
</li>
@@ -563,9 +521,7 @@
- <li><a href="
- ../../../modules/bootloader/bootloader/
-">Bootloader</a>
+ <li ><a href="../../../modules/bootloader/bootloader/">Bootloader</a></li>
</li>
@@ -592,9 +548,7 @@
- <li><a href="
- ../../../modules/hal/hal/
-">Hardware Abstraction Layer</a>
+ <li ><a href="../../../modules/hal/hal/">Hardware Abstraction Layer</a></li>
</li>
@@ -605,9 +559,7 @@
- <li><a href="
- ../../../modules/testutil/testutil/
-">Test Utilities</a>
+ <li ><a href="../../../modules/testutil/testutil/">Test Utilities</a></li>
</li>
@@ -618,9 +570,7 @@
- <li><a href="
- ../../../modules/imgmgr/imgmgr/
-">Image Manager</a>
+ <li ><a href="../../../modules/imgmgr/imgmgr/">Image Manager</a></li>
</li>
@@ -641,9 +591,7 @@
- <li><a href="
- ../../../modules/elua/elua/
-">Embedded Lua</a>
+ <li ><a href="../../../modules/elua/elua/">Embedded Lua</a></li>
</li>
@@ -654,9 +602,7 @@
- <li><a href="
- ../../../modules/json/json/
-">JSON</a>
+ <li ><a href="../../../modules/json/json/">JSON</a></li>
</li>
@@ -737,7 +683,7 @@
<button class="show-sidebar">Docs Menu</button>
</div>
- <div class="col-md-9 documentation-viewer" role="main">
+ <div class="col-md-offset-3 col-md-9 documentation-viewer" role="main">
<div class="row doc-header">
<div class="col-sm-6">
@@ -818,18 +764,15 @@ os_time_delay(int32_t osticks)
OS_ENTER_CRITICAL(sr);
os_sched_sleep(os_sched_get_current_task(), (os_time_t)osticks);
OS_EXIT_CRITICAL(sr);
- os_sched(NULL, 0);
+ os_sched(NULL);
}
}
</code></pre>
<hr />
- </div>
- </div>
-
- <div class="row">
- <footer>
+ <div class="row">
+ <footer>
<div class="row">
<div class="col-md-12">
@@ -855,7 +798,11 @@ os_time_delay(int32_t osticks)
</div>
</div>
</footer>
- </div>
+ </div>
+ </div>
+ </div>
+
+
</div>
<script src="../../../../js/jquery-1.10.2.min.js"></script>
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/565bf1bc/os/core_os/context_switch/os_sched_insert/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/context_switch/os_sched_insert/index.html b/os/core_os/context_switch/os_sched_insert/index.html
index 8993ee9..c0052c9 100644
--- a/os/core_os/context_switch/os_sched_insert/index.html
+++ b/os/core_os/context_switch/os_sched_insert/index.html
@@ -43,7 +43,7 @@
<body class="os_sched_insert">
- <div class="navbar navbar-default navbar-fixed-top" role="navigation">
+ <div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="logo-container">
<img src="/img/logo.svg">
</div>
@@ -92,10 +92,12 @@
</div>
</div>
+
+
<div class="container-fluid">
<div class="row sm-extra-padding">
- <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+ <div id="docSidebar" class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
<div class="sidebar-top">
<img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
<div class="small" role="search">
@@ -221,22 +223,12 @@
- <li><a href="
- ../context_switch/
-">Scheduler</a>
+ <li ><a href="../context_switch/">Scheduler</a></li>
<ul class="current-toc">
-
-
- <li>
- <a href="../context_switch/">Overview</a>
- </li>
-
-
-
@@ -273,16 +265,6 @@
<li>
- <a href="../os_arch_ctx_sw_isr/">os_arch_ctx_sw_isr</a>
- </li>
-
-
-
-
-
-
-
- <li>
<a href="../os_sched_ctx_sw_hook/">os_sched_ctx_sw_hook</a>
</li>
@@ -385,9 +367,7 @@
- <li><a href="
- ../../time/os_time/
-">Time</a>
+ <li ><a href="../../time/os_time/">Time</a></li>
</li>
@@ -398,9 +378,7 @@
- <li><a href="
- ../../task/task/
-">Tasks</a>
+ <li ><a href="../../task/task/">Tasks</a></li>
</li>
@@ -411,9 +389,7 @@
- <li><a href="
- ../../event_queue/event_queue/
-">Event Queues</a>
+ <li ><a href="../../event_queue/event_queue/">Event Queues</a></li>
</li>
@@ -424,9 +400,7 @@
- <li><a href="
- ../../semaphore/semaphore/
-">Semaphores</a>
+ <li ><a href="../../semaphore/semaphore/">Semaphores</a></li>
</li>
@@ -437,9 +411,7 @@
- <li><a href="
- ../../mutex/mutex/
-">Mutexes</a>
+ <li ><a href="../../mutex/mutex/">Mutexes</a></li>
</li>
@@ -450,9 +422,7 @@
- <li><a href="
- ../../memory_pool/memory_pool/
-">Memory Pools</a>
+ <li ><a href="../../memory_pool/memory_pool/">Memory Pools</a></li>
</li>
@@ -463,9 +433,7 @@
- <li><a href="
- ../../heap/heap/
-">Heap</a>
+ <li ><a href="../../heap/heap/">Heap</a></li>
</li>
@@ -492,9 +460,7 @@
- <li><a href="
- ../../sanity/sanity/
-">Sanity</a>
+ <li ><a href="../../sanity/sanity/">Sanity</a></li>
</li>
@@ -505,9 +471,7 @@
- <li><a href="
- ../../callout/callout/
-">Callouts</a>
+ <li ><a href="../../callout/callout/">Callouts</a></li>
</li>
@@ -524,9 +488,7 @@
- <li><a href="
- ../../porting/port_os/
-">Porting to your Platform</a>
+ <li ><a href="../../porting/port_os/">Porting to your Platform</a></li>
</li>
@@ -537,9 +499,7 @@
- <li><a href="
- ../../../modules/console/console/
-">Console</a>
+ <li ><a href="../../../modules/console/console/">Console</a></li>
</li>
@@ -550,9 +510,7 @@
- <li><a href="
- ../../../modules/shell/shell/
-">Shell</a>
+ <li ><a href="../../../modules/shell/shell/">Shell</a></li>
</li>
@@ -563,9 +521,7 @@
- <li><a href="
- ../../../modules/bootloader/bootloader/
-">Bootloader</a>
+ <li ><a href="../../../modules/bootloader/bootloader/">Bootloader</a></li>
</li>
@@ -592,9 +548,7 @@
- <li><a href="
- ../../../modules/hal/hal/
-">Hardware Abstraction Layer</a>
+ <li ><a href="../../../modules/hal/hal/">Hardware Abstraction Layer</a></li>
</li>
@@ -605,9 +559,7 @@
- <li><a href="
- ../../../modules/testutil/testutil/
-">Test Utilities</a>
+ <li ><a href="../../../modules/testutil/testutil/">Test Utilities</a></li>
</li>
@@ -618,9 +570,7 @@
- <li><a href="
- ../../../modules/imgmgr/imgmgr/
-">Image Manager</a>
+ <li ><a href="../../../modules/imgmgr/imgmgr/">Image Manager</a></li>
</li>
@@ -641,9 +591,7 @@
- <li><a href="
- ../../../modules/elua/elua/
-">Embedded Lua</a>
+ <li ><a href="../../../modules/elua/elua/">Embedded Lua</a></li>
</li>
@@ -654,9 +602,7 @@
- <li><a href="
- ../../../modules/json/json/
-">JSON</a>
+ <li ><a href="../../../modules/json/json/">JSON</a></li>
</li>
@@ -737,7 +683,7 @@
<button class="show-sidebar">Docs Menu</button>
</div>
- <div class="col-md-9 documentation-viewer" role="main">
+ <div class="col-md-offset-3 col-md-9 documentation-viewer" role="main">
<div class="row doc-header">
<div class="col-sm-6">
@@ -825,11 +771,8 @@ Returns 0 on success.</p>
<p>You probably don't need to call this.</p>
<hr />
- </div>
- </div>
-
- <div class="row">
- <footer>
+ <div class="row">
+ <footer>
<div class="row">
<div class="col-md-12">
@@ -855,7 +798,11 @@ Returns 0 on success.</p>
</div>
</div>
</footer>
- </div>
+ </div>
+ </div>
+ </div>
+
+
</div>
<script src="../../../../js/jquery-1.10.2.min.js"></script>
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/565bf1bc/os/core_os/context_switch/os_sched_next_task/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/context_switch/os_sched_next_task/index.html b/os/core_os/context_switch/os_sched_next_task/index.html
index 169b55a..93d76ef 100644
--- a/os/core_os/context_switch/os_sched_next_task/index.html
+++ b/os/core_os/context_switch/os_sched_next_task/index.html
@@ -43,7 +43,7 @@
<body class="os_sched_next_task">
- <div class="navbar navbar-default navbar-fixed-top" role="navigation">
+ <div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="logo-container">
<img src="/img/logo.svg">
</div>
@@ -92,10 +92,12 @@
</div>
</div>
+
+
<div class="container-fluid">
<div class="row sm-extra-padding">
- <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+ <div id="docSidebar" class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
<div class="sidebar-top">
<img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
<div class="small" role="search">
@@ -221,22 +223,12 @@
- <li><a href="
- ../context_switch/
-">Scheduler</a>
+ <li ><a href="../context_switch/">Scheduler</a></li>
<ul class="current-toc">
-
-
- <li>
- <a href="../context_switch/">Overview</a>
- </li>
-
-
-
@@ -273,16 +265,6 @@
<li>
- <a href="../os_arch_ctx_sw_isr/">os_arch_ctx_sw_isr</a>
- </li>
-
-
-
-
-
-
-
- <li>
<a href="../os_sched_ctx_sw_hook/">os_sched_ctx_sw_hook</a>
</li>
@@ -385,9 +367,7 @@
- <li><a href="
- ../../time/os_time/
-">Time</a>
+ <li ><a href="../../time/os_time/">Time</a></li>
</li>
@@ -398,9 +378,7 @@
- <li><a href="
- ../../task/task/
-">Tasks</a>
+ <li ><a href="../../task/task/">Tasks</a></li>
</li>
@@ -411,9 +389,7 @@
- <li><a href="
- ../../event_queue/event_queue/
-">Event Queues</a>
+ <li ><a href="../../event_queue/event_queue/">Event Queues</a></li>
</li>
@@ -424,9 +400,7 @@
- <li><a href="
- ../../semaphore/semaphore/
-">Semaphores</a>
+ <li ><a href="../../semaphore/semaphore/">Semaphores</a></li>
</li>
@@ -437,9 +411,7 @@
- <li><a href="
- ../../mutex/mutex/
-">Mutexes</a>
+ <li ><a href="../../mutex/mutex/">Mutexes</a></li>
</li>
@@ -450,9 +422,7 @@
- <li><a href="
- ../../memory_pool/memory_pool/
-">Memory Pools</a>
+ <li ><a href="../../memory_pool/memory_pool/">Memory Pools</a></li>
</li>
@@ -463,9 +433,7 @@
- <li><a href="
- ../../heap/heap/
-">Heap</a>
+ <li ><a href="../../heap/heap/">Heap</a></li>
</li>
@@ -492,9 +460,7 @@
- <li><a href="
- ../../sanity/sanity/
-">Sanity</a>
+ <li ><a href="../../sanity/sanity/">Sanity</a></li>
</li>
@@ -505,9 +471,7 @@
- <li><a href="
- ../../callout/callout/
-">Callouts</a>
+ <li ><a href="../../callout/callout/">Callouts</a></li>
</li>
@@ -524,9 +488,7 @@
- <li><a href="
- ../../porting/port_os/
-">Porting to your Platform</a>
+ <li ><a href="../../porting/port_os/">Porting to your Platform</a></li>
</li>
@@ -537,9 +499,7 @@
- <li><a href="
- ../../../modules/console/console/
-">Console</a>
+ <li ><a href="../../../modules/console/console/">Console</a></li>
</li>
@@ -550,9 +510,7 @@
- <li><a href="
- ../../../modules/shell/shell/
-">Shell</a>
+ <li ><a href="../../../modules/shell/shell/">Shell</a></li>
</li>
@@ -563,9 +521,7 @@
- <li><a href="
- ../../../modules/bootloader/bootloader/
-">Bootloader</a>
+ <li ><a href="../../../modules/bootloader/bootloader/">Bootloader</a></li>
</li>
@@ -592,9 +548,7 @@
- <li><a href="
- ../../../modules/hal/hal/
-">Hardware Abstraction Layer</a>
+ <li ><a href="../../../modules/hal/hal/">Hardware Abstraction Layer</a></li>
</li>
@@ -605,9 +559,7 @@
- <li><a href="
- ../../../modules/testutil/testutil/
-">Test Utilities</a>
+ <li ><a href="../../../modules/testutil/testutil/">Test Utilities</a></li>
</li>
@@ -618,9 +570,7 @@
- <li><a href="
- ../../../modules/imgmgr/imgmgr/
-">Image Manager</a>
+ <li ><a href="../../../modules/imgmgr/imgmgr/">Image Manager</a></li>
</li>
@@ -641,9 +591,7 @@
- <li><a href="
- ../../../modules/elua/elua/
-">Embedded Lua</a>
+ <li ><a href="../../../modules/elua/elua/">Embedded Lua</a></li>
</li>
@@ -654,9 +602,7 @@
- <li><a href="
- ../../../modules/json/json/
-">JSON</a>
+ <li ><a href="../../../modules/json/json/">JSON</a></li>
</li>
@@ -737,7 +683,7 @@
<button class="show-sidebar">Docs Menu</button>
</div>
- <div class="col-md-9 documentation-viewer" role="main">
+ <div class="col-md-offset-3 col-md-9 documentation-viewer" role="main">
<div class="row doc-header">
<div class="col-sm-6">
@@ -810,11 +756,8 @@
<p>Should be called with interrupts disabled.</p>
<hr />
- </div>
- </div>
-
- <div class="row">
- <footer>
+ <div class="row">
+ <footer>
<div class="row">
<div class="col-md-12">
@@ -840,7 +783,11 @@
</div>
</div>
</footer>
- </div>
+ </div>
+ </div>
+ </div>
+
+
</div>
<script src="../../../../js/jquery-1.10.2.min.js"></script>
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/565bf1bc/os/core_os/context_switch/os_sched_os_timer_exp/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/context_switch/os_sched_os_timer_exp/index.html b/os/core_os/context_switch/os_sched_os_timer_exp/index.html
index aed8a52..4c50cb2 100644
--- a/os/core_os/context_switch/os_sched_os_timer_exp/index.html
+++ b/os/core_os/context_switch/os_sched_os_timer_exp/index.html
@@ -43,7 +43,7 @@
<body class="os_sched_os_timer_exp">
- <div class="navbar navbar-default navbar-fixed-top" role="navigation">
+ <div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="logo-container">
<img src="/img/logo.svg">
</div>
@@ -92,10 +92,12 @@
</div>
</div>
+
+
<div class="container-fluid">
<div class="row sm-extra-padding">
- <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+ <div id="docSidebar" class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
<div class="sidebar-top">
<img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
<div class="small" role="search">
@@ -221,22 +223,12 @@
- <li><a href="
- ../context_switch/
-">Scheduler</a>
+ <li ><a href="../context_switch/">Scheduler</a></li>
<ul class="current-toc">
-
-
- <li>
- <a href="../context_switch/">Overview</a>
- </li>
-
-
-
@@ -273,16 +265,6 @@
<li>
- <a href="../os_arch_ctx_sw_isr/">os_arch_ctx_sw_isr</a>
- </li>
-
-
-
-
-
-
-
- <li>
<a href="../os_sched_ctx_sw_hook/">os_sched_ctx_sw_hook</a>
</li>
@@ -385,9 +367,7 @@
- <li><a href="
- ../../time/os_time/
-">Time</a>
+ <li ><a href="../../time/os_time/">Time</a></li>
</li>
@@ -398,9 +378,7 @@
- <li><a href="
- ../../task/task/
-">Tasks</a>
+ <li ><a href="../../task/task/">Tasks</a></li>
</li>
@@ -411,9 +389,7 @@
- <li><a href="
- ../../event_queue/event_queue/
-">Event Queues</a>
+ <li ><a href="../../event_queue/event_queue/">Event Queues</a></li>
</li>
@@ -424,9 +400,7 @@
- <li><a href="
- ../../semaphore/semaphore/
-">Semaphores</a>
+ <li ><a href="../../semaphore/semaphore/">Semaphores</a></li>
</li>
@@ -437,9 +411,7 @@
- <li><a href="
- ../../mutex/mutex/
-">Mutexes</a>
+ <li ><a href="../../mutex/mutex/">Mutexes</a></li>
</li>
@@ -450,9 +422,7 @@
- <li><a href="
- ../../memory_pool/memory_pool/
-">Memory Pools</a>
+ <li ><a href="../../memory_pool/memory_pool/">Memory Pools</a></li>
</li>
@@ -463,9 +433,7 @@
- <li><a href="
- ../../heap/heap/
-">Heap</a>
+ <li ><a href="../../heap/heap/">Heap</a></li>
</li>
@@ -492,9 +460,7 @@
- <li><a href="
- ../../sanity/sanity/
-">Sanity</a>
+ <li ><a href="../../sanity/sanity/">Sanity</a></li>
</li>
@@ -505,9 +471,7 @@
- <li><a href="
- ../../callout/callout/
-">Callouts</a>
+ <li ><a href="../../callout/callout/">Callouts</a></li>
</li>
@@ -524,9 +488,7 @@
- <li><a href="
- ../../porting/port_os/
-">Porting to your Platform</a>
+ <li ><a href="../../porting/port_os/">Porting to your Platform</a></li>
</li>
@@ -537,9 +499,7 @@
- <li><a href="
- ../../../modules/console/console/
-">Console</a>
+ <li ><a href="../../../modules/console/console/">Console</a></li>
</li>
@@ -550,9 +510,7 @@
- <li><a href="
- ../../../modules/shell/shell/
-">Shell</a>
+ <li ><a href="../../../modules/shell/shell/">Shell</a></li>
</li>
@@ -563,9 +521,7 @@
- <li><a href="
- ../../../modules/bootloader/bootloader/
-">Bootloader</a>
+ <li ><a href="../../../modules/bootloader/bootloader/">Bootloader</a></li>
</li>
@@ -592,9 +548,7 @@
- <li><a href="
- ../../../modules/hal/hal/
-">Hardware Abstraction Layer</a>
+ <li ><a href="../../../modules/hal/hal/">Hardware Abstraction Layer</a></li>
</li>
@@ -605,9 +559,7 @@
- <li><a href="
- ../../../modules/testutil/testutil/
-">Test Utilities</a>
+ <li ><a href="../../../modules/testutil/testutil/">Test Utilities</a></li>
</li>
@@ -618,9 +570,7 @@
- <li><a href="
- ../../../modules/imgmgr/imgmgr/
-">Image Manager</a>
+ <li ><a href="../../../modules/imgmgr/imgmgr/">Image Manager</a></li>
</li>
@@ -641,9 +591,7 @@
- <li><a href="
- ../../../modules/elua/elua/
-">Embedded Lua</a>
+ <li ><a href="../../../modules/elua/elua/">Embedded Lua</a></li>
</li>
@@ -654,9 +602,7 @@
- <li><a href="
- ../../../modules/json/json/
-">JSON</a>
+ <li ><a href="../../../modules/json/json/">JSON</a></li>
</li>
@@ -737,7 +683,7 @@
<button class="show-sidebar">Docs Menu</button>
</div>
- <div class="col-md-9 documentation-viewer" role="main">
+ <div class="col-md-offset-3 col-md-9 documentation-viewer" role="main">
<div class="row doc-header">
<div class="col-sm-6">
@@ -816,17 +762,14 @@ timer_handler(void)
os_time_tick();
os_callout_tick();
os_sched_os_timer_exp();
- os_sched(NULL, 1);
+ os_sched(NULL);
}
</code></pre>
<hr />
- </div>
- </div>
-
- <div class="row">
- <footer>
+ <div class="row">
+ <footer>
<div class="row">
<div class="col-md-12">
@@ -852,7 +795,11 @@ timer_handler(void)
</div>
</div>
</footer>
- </div>
+ </div>
+ </div>
+ </div>
+
+
</div>
<script src="../../../../js/jquery-1.10.2.min.js"></script>
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/565bf1bc/os/core_os/context_switch/os_sched_resort/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/context_switch/os_sched_resort/index.html b/os/core_os/context_switch/os_sched_resort/index.html
index 4bca01c..649c071 100644
--- a/os/core_os/context_switch/os_sched_resort/index.html
+++ b/os/core_os/context_switch/os_sched_resort/index.html
@@ -43,7 +43,7 @@
<body class="os_sched_resort">
- <div class="navbar navbar-default navbar-fixed-top" role="navigation">
+ <div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="logo-container">
<img src="/img/logo.svg">
</div>
@@ -92,10 +92,12 @@
</div>
</div>
+
+
<div class="container-fluid">
<div class="row sm-extra-padding">
- <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+ <div id="docSidebar" class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
<div class="sidebar-top">
<img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
<div class="small" role="search">
@@ -221,22 +223,12 @@
- <li><a href="
- ../context_switch/
-">Scheduler</a>
+ <li ><a href="../context_switch/">Scheduler</a></li>
<ul class="current-toc">
-
-
- <li>
- <a href="../context_switch/">Overview</a>
- </li>
-
-
-
@@ -273,16 +265,6 @@
<li>
- <a href="../os_arch_ctx_sw_isr/">os_arch_ctx_sw_isr</a>
- </li>
-
-
-
-
-
-
-
- <li>
<a href="../os_sched_ctx_sw_hook/">os_sched_ctx_sw_hook</a>
</li>
@@ -385,9 +367,7 @@
- <li><a href="
- ../../time/os_time/
-">Time</a>
+ <li ><a href="../../time/os_time/">Time</a></li>
</li>
@@ -398,9 +378,7 @@
- <li><a href="
- ../../task/task/
-">Tasks</a>
+ <li ><a href="../../task/task/">Tasks</a></li>
</li>
@@ -411,9 +389,7 @@
- <li><a href="
- ../../event_queue/event_queue/
-">Event Queues</a>
+ <li ><a href="../../event_queue/event_queue/">Event Queues</a></li>
</li>
@@ -424,9 +400,7 @@
- <li><a href="
- ../../semaphore/semaphore/
-">Semaphores</a>
+ <li ><a href="../../semaphore/semaphore/">Semaphores</a></li>
</li>
@@ -437,9 +411,7 @@
- <li><a href="
- ../../mutex/mutex/
-">Mutexes</a>
+ <li ><a href="../../mutex/mutex/">Mutexes</a></li>
</li>
@@ -450,9 +422,7 @@
- <li><a href="
- ../../memory_pool/memory_pool/
-">Memory Pools</a>
+ <li ><a href="../../memory_pool/memory_pool/">Memory Pools</a></li>
</li>
@@ -463,9 +433,7 @@
- <li><a href="
- ../../heap/heap/
-">Heap</a>
+ <li ><a href="../../heap/heap/">Heap</a></li>
</li>
@@ -492,9 +460,7 @@
- <li><a href="
- ../../sanity/sanity/
-">Sanity</a>
+ <li ><a href="../../sanity/sanity/">Sanity</a></li>
</li>
@@ -505,9 +471,7 @@
- <li><a href="
- ../../callout/callout/
-">Callouts</a>
+ <li ><a href="../../callout/callout/">Callouts</a></li>
</li>
@@ -524,9 +488,7 @@
- <li><a href="
- ../../porting/port_os/
-">Porting to your Platform</a>
+ <li ><a href="../../porting/port_os/">Porting to your Platform</a></li>
</li>
@@ -537,9 +499,7 @@
- <li><a href="
- ../../../modules/console/console/
-">Console</a>
+ <li ><a href="../../../modules/console/console/">Console</a></li>
</li>
@@ -550,9 +510,7 @@
- <li><a href="
- ../../../modules/shell/shell/
-">Shell</a>
+ <li ><a href="../../../modules/shell/shell/">Shell</a></li>
</li>
@@ -563,9 +521,7 @@
- <li><a href="
- ../../../modules/bootloader/bootloader/
-">Bootloader</a>
+ <li ><a href="../../../modules/bootloader/bootloader/">Bootloader</a></li>
</li>
@@ -592,9 +548,7 @@
- <li><a href="
- ../../../modules/hal/hal/
-">Hardware Abstraction Layer</a>
+ <li ><a href="../../../modules/hal/hal/">Hardware Abstraction Layer</a></li>
</li>
@@ -605,9 +559,7 @@
- <li><a href="
- ../../../modules/testutil/testutil/
-">Test Utilities</a>
+ <li ><a href="../../../modules/testutil/testutil/">Test Utilities</a></li>
</li>
@@ -618,9 +570,7 @@
- <li><a href="
- ../../../modules/imgmgr/imgmgr/
-">Image Manager</a>
+ <li ><a href="../../../modules/imgmgr/imgmgr/">Image Manager</a></li>
</li>
@@ -641,9 +591,7 @@
- <li><a href="
- ../../../modules/elua/elua/
-">Embedded Lua</a>
+ <li ><a href="../../../modules/elua/elua/">Embedded Lua</a></li>
</li>
@@ -654,9 +602,7 @@
- <li><a href="
- ../../../modules/json/json/
-">JSON</a>
+ <li ><a href="../../../modules/json/json/">JSON</a></li>
</li>
@@ -737,7 +683,7 @@
<button class="show-sidebar">Docs Menu</button>
</div>
- <div class="col-md-9 documentation-viewer" role="main">
+ <div class="col-md-offset-3 col-md-9 documentation-viewer" role="main">
<div class="row doc-header">
<div class="col-sm-6">
@@ -838,11 +784,8 @@ os_mutex_pend(struct os_mutex *mu, uint32_t timeout)
<hr />
- </div>
- </div>
-
- <div class="row">
- <footer>
+ <div class="row">
+ <footer>
<div class="row">
<div class="col-md-12">
@@ -868,7 +811,11 @@ os_mutex_pend(struct os_mutex *mu, uint32_t timeout)
</div>
</div>
</footer>
- </div>
+ </div>
+ </div>
+ </div>
+
+
</div>
<script src="../../../../js/jquery-1.10.2.min.js"></script>
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/565bf1bc/os/core_os/context_switch/os_sched_set_current_task/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/context_switch/os_sched_set_current_task/index.html b/os/core_os/context_switch/os_sched_set_current_task/index.html
index 3e15a0f..6654009 100644
--- a/os/core_os/context_switch/os_sched_set_current_task/index.html
+++ b/os/core_os/context_switch/os_sched_set_current_task/index.html
@@ -43,7 +43,7 @@
<body class="os_sched_set_current_task">
- <div class="navbar navbar-default navbar-fixed-top" role="navigation">
+ <div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="logo-container">
<img src="/img/logo.svg">
</div>
@@ -92,10 +92,12 @@
</div>
</div>
+
+
<div class="container-fluid">
<div class="row sm-extra-padding">
- <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+ <div id="docSidebar" class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
<div class="sidebar-top">
<img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
<div class="small" role="search">
@@ -221,22 +223,12 @@
- <li><a href="
- ../context_switch/
-">Scheduler</a>
+ <li ><a href="../context_switch/">Scheduler</a></li>
<ul class="current-toc">
-
-
- <li>
- <a href="../context_switch/">Overview</a>
- </li>
-
-
-
@@ -273,16 +265,6 @@
<li>
- <a href="../os_arch_ctx_sw_isr/">os_arch_ctx_sw_isr</a>
- </li>
-
-
-
-
-
-
-
- <li>
<a href="../os_sched_ctx_sw_hook/">os_sched_ctx_sw_hook</a>
</li>
@@ -385,9 +367,7 @@
- <li><a href="
- ../../time/os_time/
-">Time</a>
+ <li ><a href="../../time/os_time/">Time</a></li>
</li>
@@ -398,9 +378,7 @@
- <li><a href="
- ../../task/task/
-">Tasks</a>
+ <li ><a href="../../task/task/">Tasks</a></li>
</li>
@@ -411,9 +389,7 @@
- <li><a href="
- ../../event_queue/event_queue/
-">Event Queues</a>
+ <li ><a href="../../event_queue/event_queue/">Event Queues</a></li>
</li>
@@ -424,9 +400,7 @@
- <li><a href="
- ../../semaphore/semaphore/
-">Semaphores</a>
+ <li ><a href="../../semaphore/semaphore/">Semaphores</a></li>
</li>
@@ -437,9 +411,7 @@
- <li><a href="
- ../../mutex/mutex/
-">Mutexes</a>
+ <li ><a href="../../mutex/mutex/">Mutexes</a></li>
</li>
@@ -450,9 +422,7 @@
- <li><a href="
- ../../memory_pool/memory_pool/
-">Memory Pools</a>
+ <li ><a href="../../memory_pool/memory_pool/">Memory Pools</a></li>
</li>
@@ -463,9 +433,7 @@
- <li><a href="
- ../../heap/heap/
-">Heap</a>
+ <li ><a href="../../heap/heap/">Heap</a></li>
</li>
@@ -492,9 +460,7 @@
- <li><a href="
- ../../sanity/sanity/
-">Sanity</a>
+ <li ><a href="../../sanity/sanity/">Sanity</a></li>
</li>
@@ -505,9 +471,7 @@
- <li><a href="
- ../../callout/callout/
-">Callouts</a>
+ <li ><a href="../../callout/callout/">Callouts</a></li>
</li>
@@ -524,9 +488,7 @@
- <li><a href="
- ../../porting/port_os/
-">Porting to your Platform</a>
+ <li ><a href="../../porting/port_os/">Porting to your Platform</a></li>
</li>
@@ -537,9 +499,7 @@
- <li><a href="
- ../../../modules/console/console/
-">Console</a>
+ <li ><a href="../../../modules/console/console/">Console</a></li>
</li>
@@ -550,9 +510,7 @@
- <li><a href="
- ../../../modules/shell/shell/
-">Shell</a>
+ <li ><a href="../../../modules/shell/shell/">Shell</a></li>
</li>
@@ -563,9 +521,7 @@
- <li><a href="
- ../../../modules/bootloader/bootloader/
-">Bootloader</a>
+ <li ><a href="../../../modules/bootloader/bootloader/">Bootloader</a></li>
</li>
@@ -592,9 +548,7 @@
- <li><a href="
- ../../../modules/hal/hal/
-">Hardware Abstraction Layer</a>
+ <li ><a href="../../../modules/hal/hal/">Hardware Abstraction Layer</a></li>
</li>
@@ -605,9 +559,7 @@
- <li><a href="
- ../../../modules/testutil/testutil/
-">Test Utilities</a>
+ <li ><a href="../../../modules/testutil/testutil/">Test Utilities</a></li>
</li>
@@ -618,9 +570,7 @@
- <li><a href="
- ../../../modules/imgmgr/imgmgr/
-">Image Manager</a>
+ <li ><a href="../../../modules/imgmgr/imgmgr/">Image Manager</a></li>
</li>
@@ -641,9 +591,7 @@
- <li><a href="
- ../../../modules/elua/elua/
-">Embedded Lua</a>
+ <li ><a href="../../../modules/elua/elua/">Embedded Lua</a></li>
</li>
@@ -654,9 +602,7 @@
- <li><a href="
- ../../../modules/json/json/
-">JSON</a>
+ <li ><a href="../../../modules/json/json/">JSON</a></li>
</li>
@@ -737,7 +683,7 @@
<button class="show-sidebar">Docs Menu</button>
</div>
- <div class="col-md-9 documentation-viewer" role="main">
+ <div class="col-md-offset-3 col-md-9 documentation-viewer" role="main">
<div class="row doc-header">
<div class="col-sm-6">
@@ -825,11 +771,8 @@ os_sched_set_current_task(struct os_task *t)
<p>This function simply sets the global variable holding the currently running task. It does not perform a context switch or change the os run or sleep list.</p>
<hr />
- </div>
- </div>
-
- <div class="row">
- <footer>
+ <div class="row">
+ <footer>
<div class="row">
<div class="col-md-12">
@@ -855,7 +798,11 @@ os_sched_set_current_task(struct os_task *t)
</div>
</div>
</footer>
- </div>
+ </div>
+ </div>
+ </div>
+
+
</div>
<script src="../../../../js/jquery-1.10.2.min.js"></script>
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/565bf1bc/os/core_os/context_switch/os_sched_sleep/index.html
----------------------------------------------------------------------
diff --git a/os/core_os/context_switch/os_sched_sleep/index.html b/os/core_os/context_switch/os_sched_sleep/index.html
index 2f6b36f..097375b 100644
--- a/os/core_os/context_switch/os_sched_sleep/index.html
+++ b/os/core_os/context_switch/os_sched_sleep/index.html
@@ -43,7 +43,7 @@
<body class="os_sched_sleep">
- <div class="navbar navbar-default navbar-fixed-top" role="navigation">
+ <div id="navbar" class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="logo-container">
<img src="/img/logo.svg">
</div>
@@ -92,10 +92,12 @@
</div>
</div>
+
+
<div class="container-fluid">
<div class="row sm-extra-padding">
- <div class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
+ <div id="docSidebar" class="col-md-3 bg-grey sidebar-container"><div class="bs-sidebar hidden-print" role="complementary">
<div class="sidebar-top">
<img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
<div class="small" role="search">
@@ -221,22 +223,12 @@
- <li><a href="
- ../context_switch/
-">Scheduler</a>
+ <li ><a href="../context_switch/">Scheduler</a></li>
<ul class="current-toc">
-
-
- <li>
- <a href="../context_switch/">Overview</a>
- </li>
-
-
-
@@ -273,16 +265,6 @@
<li>
- <a href="../os_arch_ctx_sw_isr/">os_arch_ctx_sw_isr</a>
- </li>
-
-
-
-
-
-
-
- <li>
<a href="../os_sched_ctx_sw_hook/">os_sched_ctx_sw_hook</a>
</li>
@@ -385,9 +367,7 @@
- <li><a href="
- ../../time/os_time/
-">Time</a>
+ <li ><a href="../../time/os_time/">Time</a></li>
</li>
@@ -398,9 +378,7 @@
- <li><a href="
- ../../task/task/
-">Tasks</a>
+ <li ><a href="../../task/task/">Tasks</a></li>
</li>
@@ -411,9 +389,7 @@
- <li><a href="
- ../../event_queue/event_queue/
-">Event Queues</a>
+ <li ><a href="../../event_queue/event_queue/">Event Queues</a></li>
</li>
@@ -424,9 +400,7 @@
- <li><a href="
- ../../semaphore/semaphore/
-">Semaphores</a>
+ <li ><a href="../../semaphore/semaphore/">Semaphores</a></li>
</li>
@@ -437,9 +411,7 @@
- <li><a href="
- ../../mutex/mutex/
-">Mutexes</a>
+ <li ><a href="../../mutex/mutex/">Mutexes</a></li>
</li>
@@ -450,9 +422,7 @@
- <li><a href="
- ../../memory_pool/memory_pool/
-">Memory Pools</a>
+ <li ><a href="../../memory_pool/memory_pool/">Memory Pools</a></li>
</li>
@@ -463,9 +433,7 @@
- <li><a href="
- ../../heap/heap/
-">Heap</a>
+ <li ><a href="../../heap/heap/">Heap</a></li>
</li>
@@ -492,9 +460,7 @@
- <li><a href="
- ../../sanity/sanity/
-">Sanity</a>
+ <li ><a href="../../sanity/sanity/">Sanity</a></li>
</li>
@@ -505,9 +471,7 @@
- <li><a href="
- ../../callout/callout/
-">Callouts</a>
+ <li ><a href="../../callout/callout/">Callouts</a></li>
</li>
@@ -524,9 +488,7 @@
- <li><a href="
- ../../porting/port_os/
-">Porting to your Platform</a>
+ <li ><a href="../../porting/port_os/">Porting to your Platform</a></li>
</li>
@@ -537,9 +499,7 @@
- <li><a href="
- ../../../modules/console/console/
-">Console</a>
+ <li ><a href="../../../modules/console/console/">Console</a></li>
</li>
@@ -550,9 +510,7 @@
- <li><a href="
- ../../../modules/shell/shell/
-">Shell</a>
+ <li ><a href="../../../modules/shell/shell/">Shell</a></li>
</li>
@@ -563,9 +521,7 @@
- <li><a href="
- ../../../modules/bootloader/bootloader/
-">Bootloader</a>
+ <li ><a href="../../../modules/bootloader/bootloader/">Bootloader</a></li>
</li>
@@ -592,9 +548,7 @@
- <li><a href="
- ../../../modules/hal/hal/
-">Hardware Abstraction Layer</a>
+ <li ><a href="../../../modules/hal/hal/">Hardware Abstraction Layer</a></li>
</li>
@@ -605,9 +559,7 @@
- <li><a href="
- ../../../modules/testutil/testutil/
-">Test Utilities</a>
+ <li ><a href="../../../modules/testutil/testutil/">Test Utilities</a></li>
</li>
@@ -618,9 +570,7 @@
- <li><a href="
- ../../../modules/imgmgr/imgmgr/
-">Image Manager</a>
+ <li ><a href="../../../modules/imgmgr/imgmgr/">Image Manager</a></li>
</li>
@@ -641,9 +591,7 @@
- <li><a href="
- ../../../modules/elua/elua/
-">Embedded Lua</a>
+ <li ><a href="../../../modules/elua/elua/">Embedded Lua</a></li>
</li>
@@ -654,9 +602,7 @@
- <li><a href="
- ../../../modules/json/json/
-">JSON</a>
+ <li ><a href="../../../modules/json/json/">JSON</a></li>
</li>
@@ -737,7 +683,7 @@
<button class="show-sidebar">Docs Menu</button>
</div>
- <div class="col-md-9 documentation-viewer" role="main">
+ <div class="col-md-offset-3 col-md-9 documentation-viewer" role="main">
<div class="row doc-header">
<div class="col-sm-6">
@@ -847,7 +793,7 @@ pull_one:
os_sched_sleep(evq->evq_task, OS_TIMEOUT_NEVER);
OS_EXIT_CRITICAL(sr);
- os_sched(NULL, 0);
+ os_sched(NULL);
OS_ENTER_CRITICAL(sr);
evq->evq_task = NULL;
@@ -861,11 +807,8 @@ pull_one:
<hr />
- </div>
- </div>
-
- <div class="row">
- <footer>
+ <div class="row">
+ <footer>
<div class="row">
<div class="col-md-12">
@@ -891,7 +834,11 @@ pull_one:
</div>
</div>
</footer>
- </div>
+ </div>
+ </div>
+ </div>
+
+
</div>
<script src="../../../../js/jquery-1.10.2.min.js"></script>