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 Aug 31, 2014
1 parent dc62f55 commit 6c83b29
Show file tree
Hide file tree
Showing 5 changed files with 7 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
1 change: 1 addition & 0 deletions src/zinc/os/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ This module is a higher level abstraction over hardware than hal. It might be
incompatible direct hal usage in some cases.
*/

#[experimental]
pub mod sched;
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,
}

6 comments on commit 6c83b29

@hacknbot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity zinc :: k20 Build 2 is now running

@hacknbot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity zinc :: k20 Build 2 outcome was SUCCESS
Summary: Running Build time: 00:00:23

@hacknbot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity zinc :: lpc17xx Build 39 is now running

@hacknbot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity zinc :: lpc17xx Build 39 outcome was SUCCESS
Summary: Running Build time: 00:00:06

@hacknbot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity zinc :: stm32f4 Build 2 is now running

@hacknbot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity zinc :: stm32f4 Build 2 outcome was SUCCESS
Summary: Running Build time: 00:00:24

Please sign in to comment.