Skip to content
This repository has been archived by the owner on Jul 6, 2019. It is now read-only.

Commit

Permalink
Fixed a few comments to make it compilable again
Browse files Browse the repository at this point in the history
  • Loading branch information
farcaller committed Oct 25, 2014
1 parent e7b1bd8 commit 2d35f62
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/zinc/hal/systick.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ This might be merged into generic timer interface. Systick is a bit specific in
terms of interrupts, but PT should make the difference negligible.
*/

/// A simple systick interface.
#[experimental]
pub trait Systick {
/// Starts the systick timer.
fn start(&self);
Expand Down
2 changes: 1 addition & 1 deletion src/zinc/os/sched/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

/// Tasks scheduling and management.
//! Tasks scheduling and management.

pub mod scheduler;
pub mod stack;
Expand Down
2 changes: 1 addition & 1 deletion src/zinc/os/sched/stack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

/// Tasks stack management.
//! Tasks stack management.

/// StackManager provides scheduler with interface to manage task-specific stack
/// pointer.
Expand Down
3 changes: 2 additions & 1 deletion src/zinc/os/sched/task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

/// Task structures.
//! Task structures.

use core::kinds::marker;

Expand Down Expand Up @@ -45,5 +45,6 @@ pub struct TasksIndex<'a> {
/// Current running task index.
pub current_task_index: u8,

/// Tasks are not copyable.
pub no_copy: marker::NoCopy,
}

0 comments on commit 2d35f62

Please sign in to comment.